add test pipeline
This commit is contained in:
parent
32afea0bd5
commit
3560d22a83
1 changed files with 27 additions and 0 deletions
27
test/pipeline.yml
Normal file
27
test/pipeline.yml
Normal file
|
@ -0,0 +1,27 @@
|
|||
# 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
|
Loading…
Reference in a new issue