diff options
author | Tom Duffield <tom@chef.io> | 2017-07-20 13:57:28 -0500 |
---|---|---|
committer | Tom Duffield <tom@chef.io> | 2017-07-24 10:15:17 -0500 |
commit | 43616bb699dccad598c88df55682d2a7821ad7ee (patch) | |
tree | 084c41ee85a9036beee53ac9effc96c43ec1df7b /.expeditor/update_dockerfile.sh | |
parent | 89d13b94b7de1d4d16304065425c3349d1222148 (diff) | |
download | chef-43616bb699dccad598c88df55682d2a7821ad7ee.tar.gz |
Update Expeditor config to use new Merge and Artifact Actionstduffield/use-new-artifact-actions
Chef Expeditor now supports built in merge and artifact actions which
allow us to reduce the burden of duplicating common processes across
all our repositories. This change introduces several of these built_in
functions, replacing functionality that was previously kept in our
Rakefile.
Signed-off-by: Tom Duffield <tom@chef.io>
Diffstat (limited to '.expeditor/update_dockerfile.sh')
-rwxr-xr-x | .expeditor/update_dockerfile.sh | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/.expeditor/update_dockerfile.sh b/.expeditor/update_dockerfile.sh new file mode 100755 index 0000000000..9ae260fcb8 --- /dev/null +++ b/.expeditor/update_dockerfile.sh @@ -0,0 +1,8 @@ +#!/bin/sh +# +# This file updates the default VERSION build argument in the Dockerfile to the +# VERSION passed in to the file via environment variables. + +set -evx + +sed -i -r "s/^ARG VERSION=.+/ARG VERSION=${VERSION}/" Dockerfile |