Skip to content

Instantly share code, notes, and snippets.

@joonas
Created December 5, 2016 01:16
Show Gist options
  • Save joonas/d50706e396ef829c618df51cc431932a to your computer and use it in GitHub Desktop.
Save joonas/d50706e396ef829c618df51cc431932a 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
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