grim/convey

closing closed branch again
multiple-images
2018-01-26, Gary Kramlich
8e45b1f8ccff
closing closed branch again
tasks:
# define a task that fails
fail:
image: gliderlabs/alpine:edge
command: false
# define a task that passes
pass:
image: gliderlabs/alpine:edge
command: true
plans:
# run a task that passes, then one that fails without the always flag set
pass-then-fail:
stages:
- tasks: [pass]
- tasks: [fail]
# run a task that fails, then one that passes with the always flag set to
# true
fail-then-pass:
stages:
- tasks: [fail]
- tasks: [pass]
always: true
# run multiple stages, with a task failing in the second, when the thrid
# stage is set to always run.
complicated:
stages:
- tasks: [pass, pass]
- tasks: [fail, pass]
concurrent: true
- tasks: [pass, fail]
always: true