s3-resource-simple/test/pipeline.yml

28 lines
724 B
YAML
Raw Normal View History

2016-03-11 05:59:20 +01:00
# Pipeline that clones this repository, then uploads it to S3. Local usage:
#
# fly set-pipeline -t lite -n -c pipelines/custom-resource.yml -p custom-resource -v access_key_id=<key> -v secret_access_key=<secret> -v aws-bucket=<bucket>
bucket: {{aws-bucket}}
#
resource_types:
- name: s3-upload
type: docker-image
source:
repository: 18fgsa/s3-resource-simple
resources:
- name: scripts
type: git
source:
uri: https://github.com/18F/s3-resource-simple
branch: master
- name: s3-bucket
type: s3-upload
source:
access_key_id: {{aws-access-key}}
secret_access_key: {{aws-secret-key}}
bucket: {{aws-bucket}}
jobs:
- name: custom-resource-example
plan:
- get: scripts
- put: s3-bucket