grim/convey
Clone
Summary
Browse
Changes
Graph
Special case '.' to keep compatibility and clean up the TestTraversed test
2017-12-27, Gary Kramlich
f6e622d92d87
Special case '.' to keep compatibility and clean up the TestTraversed test
# this example shows how environment substitution works
environment
:
-
VERSION=1.2.3
tasks
:
script
:
image
:
gliderlabs/alpine:edge
shell
:
/bin/ash
script
:
-
echo version ${VERSION}
-
echo special ${SPECIAL}
-
echo git commit ${GIT_COMMIT}
-
echo hg commit ${HG_COMMIT}
environment
:
-
SPECIAL=true
plans
:
default
:
stages
:
-
tasks
:
[
script
]