summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--kitchen-tests/kitchen.yml4
1 files changed, 2 insertions, 2 deletions
diff --git a/kitchen-tests/kitchen.yml b/kitchen-tests/kitchen.yml
index 1c9fba97d6..58c98b72e2 100644
--- a/kitchen-tests/kitchen.yml
+++ b/kitchen-tests/kitchen.yml
@@ -24,13 +24,13 @@ lifecycle:
- remote: /opt/chef/bin/ohai -v
- remote: echo "Installing appbundler and appbundle-updater gems:"
- remote: /opt/chef/embedded/bin/gem install appbundler appbundle-updater --no-doc
- - remote: scl enable devtoolset-7 '/opt/chef/embedded/bin/appbundle-updater chef chef <%= ENV['BUILDKITE_COMMIT'] || %x(git rev-parse HEAD).chomp %> --tarball --github <%= ENV['GITHUB_REPOSITORY'] || "chef/chef" %>'
+ - remote: scl enable devtoolset-7 '/opt/chef/embedded/bin/appbundle-updater chef chef <%= ENV['GITHUB_SHA'] || %x(git rev-parse HEAD).chomp %> --tarball --github <%= ENV['GITHUB_REPOSITORY'] || "chef/chef" %>'
includes:
- centos-6
- centos-7
- oraclelinux-7
- remote: echo "Updating Chef using appbundler-updater:"
- - remote: /opt/chef/embedded/bin/appbundle-updater chef chef <%= ENV['BUILDKITE_COMMIT'] || %x(git rev-parse HEAD).chomp %> --tarball --github <%= ENV['GITHUB_REPOSITORY'] || "chef/chef" %>
+ - remote: /opt/chef/embedded/bin/appbundle-updater chef chef <%= ENV['GITHUB_SHA'] || %x(git rev-parse HEAD).chomp %> --tarball --github <%= ENV['GITHUB_REPOSITORY'] || "chef/chef" %>
excludes:
- centos-6
- centos-7