summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGregory Schofield <grschofi@progress.com>2022-12-12 20:31:44 -0500
committerGregory Schofield <grschofi@progress.com>2022-12-12 20:31:44 -0500
commit4f4b62e390cd9fcdd7ba8de27d8427f0c0e87177 (patch)
treeac0aba7a5bdb5e398ed93d7c3f596d943c829612
parentfa0a6ff7fcba39f79b06ba0b66d6405e9f4dba3e (diff)
downloadchef-gcs-devel/fix-kitchen-tests.tar.gz
Use chef foundation for testing macos builds.gcs-devel/fix-kitchen-tests
Signed-off-by: Gregory Schofield <grschofi@progress.com>
-rw-r--r--.github/workflows/kitchen.yml22
1 files changed, 3 insertions, 19 deletions
diff --git a/.github/workflows/kitchen.yml b/.github/workflows/kitchen.yml
index 589d572be4..260267a418 100644
--- a/.github/workflows/kitchen.yml
+++ b/.github/workflows/kitchen.yml
@@ -143,31 +143,15 @@ jobs:
run: |
echo "This is the installed version of Ruby:"
brew info ruby
- - name: 'Install Chef/Ohai from Omnitruck'
+ - name: 'Install Chef Foundation from Omnitruck'
id: install_chef
run: |
brew install coreutils
- curl -L https://omnitruck.chef.io/install.sh | sudo bash -s -- -c current
- /opt/chef/bin/chef-client -v
- /opt/chef/bin/ohai -v
- /opt/chef/embedded/bin/rake --version
- # echo "Updating Bundler"
- # gem install bundler:2.3.18
- # echo "finished updating Bundler, now getting the version"
- # /opt/chef/embedded/bin/bundle -v
- # echo "finished getting the bundler version"
+ curl -L https://omnitruck.chef.io/install.sh | sudo bash -s -- -c current -P "chef-foundation"
- name: 'Run end_to_end::default recipe'
id: run
run: |
- brew install rbenv ruby-build
- touch ~/.zshrc
- export PATH="$HOME/.rbenv/bin:$PATH"
- export HOMEBREW_NO_ENV_HINTS="true"
- echo 'eval "$(rbenv init - zsh)"' >> ~/.zshrc
- source ~/.zshrc
- rbenv install 3.1.2
- rbenv global 3.1.2
- gem install bundler:2.3.18
+ export PATH="/opt/chef/bin:/opt/chef/embedded/bin:$PATH"
echo "which bundler are we using?"
which bundle
echo "what version is that?"