Skip to content

Instantly share code, notes, and snippets.

@msarahan
Last active December 5, 2016 01:09
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save msarahan/15b942e485da2476813c0325742ef48c to your computer and use it in GitHub Desktop.
Save msarahan/15b942e485da2476813c0325742ef48c to your computer and use it in GitHub Desktop.
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
config:
run:
path: ls
args:
- >
- file.txt
- put: artifact-repo
params:
file: file.txt
- name: build-b
plan:
- get: project-b
passed:
- build-a
- get: artifact-repo
- task: build-b
config:
inputs:
- name: artifact-repo
run:
path: ls
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment