grim/convey
Clone
Summary
Browse
Changes
Graph
merging
2018-02-11, Gary Kramlich
35cb993e3262
merging
# This plan extends another plan by overwriting one of the tasks
# and defining its own, then defining its own plan. The two are
# merged where anything in the extending file overwrites the base.
#
# HEY one
# HEY two
# HEY three
extends
:
base.yml
environment
:
-
PREFIX=HEY
tasks
:
two
:
type
:
docker/run
image
:
gliderlabs/alpine:edge
command
:
echo "${PREFIX} TWO"
three
:
type
:
docker/run
image
:
gliderlabs/alpine:edge
command
:
echo "${PREFIX} three"
plans
:
default
:
stages
:
# one is inherited from base.yml
# two is overridden from base.yml
# three is newly defined
-
tasks
:
-
one
-
two
-
three