Skip to content

Instantly share code, notes, and snippets.

@SHyx0rmZ
Created June 7, 2017 06:52
Show Gist options
  • Select an option

  • Save SHyx0rmZ/e93987b81e912e737a9ffaf3e19806b5 to your computer and use it in GitHub Desktop.

Select an option

Save SHyx0rmZ/e93987b81e912e737a9ffaf3e19806b5 to your computer and use it in GitHub Desktop.
resources:
- name: my-image
type: docker-image
source:
repository: example/my-image
- name: my-base-data
type: git
source:
uri: git://example.com/base.git
- name: my-test-data
type: git
source:
uri: git://example.com/test.git
jobs:
- name: build-and-test
plan:
- get: my-base-data
- put: my-image
params:
build: my-base-data
get_params:
save: true
- get: my-test-data
- task: test
file: test.yml
input_mappings:
data: my-test-data
- put: my-image
params:
load: my-image
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment