grim/convey
Clone
Summary
Browse
Changes
Graph
Add environment support to login and logout tasks
2017-09-21, Gary Kramlich
df9894c04929
Add environment support to login and logout tasks
# 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.
extends
:
base.yml
environment
:
-
PREFIX=HEY
tasks
:
two
:
image
:
gliderlabs/alpine:edge
command
:
echo "${PREFIX} TWO"
three
:
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
]