Skip to content

Instantly share code, notes, and snippets.

@dcarley
Created May 9, 2016 15:59
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 dcarley/049afd7974565800ea74d12770293be6 to your computer and use it in GitHub Desktop.
Save dcarley/049afd7974565800ea74d12770293be6 to your computer and use it in GitHub Desktop.
---
jobs:
- name: test
plan:
- task: hello
config:
platform: linux
image_resource:
type: docker-image
source: {repository: alpine}
run:
path: echo
args: ["hello"]
- aggregate:
- do:
- task: create-temp-user
config:
platform: linux
image_resource:
type: docker-image
source: {repository: alpine}
run:
path: echo
args: ["create"]
- task: smoke-tests-config
config:
platform: linux
image_resource:
type: docker-image
source: {repository: alpine}
run:
path: false
- task: smoke-tests-run
config:
platform: linux
image_resource:
type: docker-image
source: {repository: alpine}
run:
path: echo
args: ["run"]
ensure:
task: remove-temp-user
config:
platform: linux
image_resource:
type: docker-image
source: {repository: alpine}
run:
path: echo
args: ["remove"]
- task: world
config:
platform: linux
image_resource:
type: docker-image
source: {repository: alpine}
run:
path: echo
args: ["world"]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment