Created
December 5, 2016 01:16
-
-
Save joonas/d50706e396ef829c618df51cc431932a to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
resources: | |
- name: project-a | |
type: git | |
source: | |
uri: https://github.com/msarahan/ci_test.git | |
- name: project-b | |
type: git | |
source: | |
uri: https://github.com/msarahan/ci_test.git | |
- name: artifact-repo | |
type: s3 | |
source: | |
access_key_id: key-id | |
bucket: some-bucket | |
regexp: file-(.*).tar.bz2 | |
region_name: us-west-2 | |
secret_access_key: secret-key | |
jobs: | |
- name: build-a | |
plan: | |
- get: project-a | |
- task: build-a | |
run: | |
path: ls | |
args: | |
- > | |
- file.txt | |
- put: artifact-repo | |
params: | |
file: file.txt | |
- name: build-b | |
plan: | |
- get: project-a | |
trigger: true | |
passed: | |
- build-a | |
- get: project-b | |
- get: artifact-repo | |
- task: build-b | |
inputs: | |
- artifact-repo | |
run: | |
path: ls |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment