From 996c2dfb48bdff0d248adb45b2d878a3a4e0b2a8 Mon Sep 17 00:00:00 2001 From: Alex Dadgar Date: Tue, 15 Mar 2016 20:28:33 -0700 Subject: [PATCH] Add artifact to init --- command/init.go | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/command/init.go b/command/init.go index 723402ac6..db2a01876 100644 --- a/command/init.go +++ b/command/init.go @@ -158,6 +158,16 @@ job "example" { } } } + + # The artifact block can be specified one or more times to download + $ artifacts prior to the task being started. This is convenient for + $ shipping configs or data needed by the task. + # artifact { + # source = "http://foo.com/artifact.tar.gz" + # options { + # checksum = "md5:c4aa853ad2215426eb7d70a21922e794" + # } + # } # Specify configuration related to log rotation # logs {