summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorgcs-devel <118008311+gcs-devel@users.noreply.github.com>2023-01-26 20:17:13 -0500
committerGitHub <noreply@github.com>2023-01-26 20:17:13 -0500
commitdf96f22193a05c4fb1aacabc3f9115d35edf0e52 (patch)
treef941a30eb0eeebbeda063909da5d88a9412259b7
parentd0ca1f4616ac906ef1e31b5e2d79371a99ccffff (diff)
downloadchef-df96f22193a05c4fb1aacabc3f9115d35edf0e52.tar.gz
Change to github commit sha. (#13507)
Signed-off-by: Gregory Schofield <grschofi@progress.com>
-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