--- a/REFERENCE.md Wed Sep 20 16:13:09 2017 -0500
+++ b/REFERENCE.md Wed Sep 20 19:12:43 2017 -0500
@@ -112,6 +112,34 @@
+An extend task overrides the environment of another task. +| Name | Required | Default | Description | +| ----------- | -------- | ------- | ----------- | +| task | Yes | | The name of the task to extend | +| environment | | | The override environment | + image: gliderlabs/alpine:edge + - MESSAGE="Hello, World" A build task will build a docker image.
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/examples/extend.yml Wed Sep 20 19:12:43 2017 -0500
@@ -0,0 +1,27 @@
+# This plan includes a task that extends another task with +# a different, higher precedence environment. Running this +# plan should print foo, bar, then baz. + image: gliderlabs/alpine:edge + command: echo "${MESSAGE}" + - tasks: [foo, bar, baz]