Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
---
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
You can’t perform that action at this time.