grim/convey
Clone
Summary
Browse
Changes
Graph
Merged in efritz/convey/env-loop-nice-try (pull request #33)
2017-10-13, Gary Kramlich
64afa024b3bf
Merged in efritz/convey/env-loop-nice-try (pull request #33)
Fix infinite expanion with self-reference (not mutual reference).
Approved-by: Gary Kramlich
# 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
]