grim/convey
Clone
Summary
Browse
Changes
Graph
Clean up the complexity of docker/run.go
2018-01-14, Gary Kramlich
2c339dc89014
Clean up the complexity of docker/run.go
tasks
:
fail
:
type
:
docker/run
image
:
gliderlabs/alpine:edge
schell
:
/bin/sh
script
:
-
false
success
:
type
:
docker/run
image
:
gliderlabs/alpine:edge
shell
:
/bin/sh
script
:
-
echo "success"
failure
:
type
:
docker/run
image
:
gliderlabs/alpine:edge
shell
:
/bin/sh
script
:
-
echo "failure"
cleanup
:
type
:
docker/run
image
:
gliderlabs/alpine:edge
shell
:
/bin/sh
script
:
-
echo "cleanup"
plans
:
default
:
stages
:
-
tasks
:
fail
-
tasks
:
success
run
:
on-success
-
tasks
:
failure
run
:
on-failure
-
tasks
:
cleanup
run
:
always