summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authortpowell-progress <104777878+tpowell-progress@users.noreply.github.com>2022-09-08 15:50:48 -0400
committertpowell-progress <104777878+tpowell-progress@users.noreply.github.com>2022-09-08 15:50:54 -0400
commitc5013ae17e23dcee169ee9c9b1e22a6d5b2cd176 (patch)
treebc7d728e41c3806b45e29d9a480369855e2396b1
parentf4fad6a2cad985a1ac891091c7e37703eab04546 (diff)
downloadchef-c5013ae17e23dcee169ee9c9b1e22a6d5b2cd176.tar.gz
Debug what hash we're getting
Signed-off-by: tpowell-progress <104777878+tpowell-progress@users.noreply.github.com>
-rw-r--r--kitchen-tests/kitchen.yml2
1 files changed, 2 insertions, 0 deletions
diff --git a/kitchen-tests/kitchen.yml b/kitchen-tests/kitchen.yml
index 1c9fba97d6..3cefe804a2 100644
--- a/kitchen-tests/kitchen.yml
+++ b/kitchen-tests/kitchen.yml
@@ -24,6 +24,8 @@ 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: echo "ENV['BUILDKITE_COMMIT'] <%= ENV['BUILDKITE_COMMIT'] %>"
+ - remote: echo "%x(git rev-parse HEAD).chomp <%= %x(git rev-parse HEAD).chomp %>"
- 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" %>'
includes:
- centos-6