grim/convey
Clone
Summary
Browse
Changes
Graph
closing merged branch
hostnames
2017-10-13, Gary Kramlich
33eae19fcbbe
closing merged branch
# This plan extends another plan by overwriting the pre and post
# stages of a plan defined in the parent config. This shows how
# to build "abstract" plans which can be extended in ways that
# allow blocks of plans to be replaced.
extends
:
base.yml
options
:
default-plan
:
plan3
tasks
:
before
:
image
:
gliderlabs/alpine:edge
command
:
echo "<= before"
after
:
image
:
gliderlabs/alpine:edge
command
:
echo "=> after"
plans
:
plan3
:
merge
:
true
stages
:
-
name
:
pre
tasks
:
[
before
]
-
name
:
post
tasks
:
[
after
]