grim/convey

Bump the version for release
v0.11.1
2017-10-21, Gary Kramlich
00923ff4e245
Bump the version for release
# This plan shows how the inject plan can add additional
# environment variables accessible to your tasks during
# runtime. Running this with `-e X_FOO=4`, the output
# will be (in two parts):
#
# - X_FOO=4
# - X_BAR=5
# - X_BAZ=
#
# - X_FOO=4
# - X_BAR=2
# - X_BAZ=3
#
# Notice that before the inject task, only X_FOO and X_BAR
# were set by the command line argument and the global env
# block, respectively. Afterwards, X_FOO's value did not
# change (as command line parameters take have precedence),
# X_BAR is overwritten, and X_BAZ is newly added.
environment:
- X_BAR=5
tasks:
import:
type: import
files: .
generate:
image: gliderlabs/alpine:edge
script:
- echo "foo=1" >> env
- echo "bar=2" >> env
- echo "baz=3" >> env
workdir: /workspace
inject:
type: environment
from-file: env
prefix: "X_"
print:
image: gliderlabs/alpine:edge
script:
- echo "X_FOO=${X_FOO}"
- echo "X_BAR=${X_BAR}"
- echo "X_BAZ=${X_BAZ}"
plans:
default:
stages:
- tasks:
- import
- generate
- print
- inject
- print