pivotal-cf/azure-blobstore-resource

Name: azure-blobstore-resource

Owner: Pivotal Cloud Foundry

Description: null

Created: 2017-08-10 22:20:50.0

Updated: 2018-03-18 03:20:16.0

Pushed: 2018-04-05 00:42:52.0

Homepage: null

Size: 7909

Language: Go

GitHub Committers

UserMost Recent Commit# Commits

Other Committers

UserEmailMost Recent Commit# Commits

README

azure-blobstore-resource

A concourse resource to interact with the azure blob service. Currently only supports versioning blobs using snapshots.

Source Configuration
Behavior
check: Extract snapshot versions from the container.

Checks for new snapshot versions for a file. If a blob exists without a snapshot the file will not be found.

in: Fetch a blob from the container.

Places the blob file in the destination.

out: Upload a blob to the container.

Uploads a file to the container. After uploading the blob it will create a new snapshot of the blob.

Parameters
Example Configuration

An example pipeline exists in the example directory.

Resource
urce_types:
me: azure-blobstore
pe: docker-image
urce:
repository: czero/azure-blobstore-resource

urces:
name: terraform-state
type: azure-blobstore
source:
  storage_account_name: {{storage_account_name}}
  storage_account_key: {{storage_account_key}}
  container: {{container}}
  versioned_file: terraform.tfstate
Plan
t: terraform-state

t: terraform-state
rams:
file: terraform-state/terraform.tfstate

This work is supported by the National Institutes of Health's National Center for Advancing Translational Sciences, Grant Number U24TR002306. This work is solely the responsibility of the creators and does not necessarily represent the official views of the National Institutes of Health.