diff options
author | John McCrae <john.mccrae@progress.com> | 2022-07-27 12:41:35 -0700 |
---|---|---|
committer | John McCrae <john.mccrae@progress.com> | 2022-08-03 09:06:38 -0700 |
commit | dca73592d10c0988f4bed29ee19819f80473edc8 (patch) | |
tree | a934662475dc73dbdaacd038e6e6865a4bed5ab0 | |
parent | 6870afbb97b6b2e253c5de459a8518d2aff50e20 (diff) | |
download | chef-dca73592d10c0988f4bed29ee19819f80473edc8.tar.gz |
starting to integrate ruby 3.1 into the builds
Signed-off-by: John McCrae <john.mccrae@progress.com>
-rw-r--r-- | .github/workflows/kitchen.yml | 12 |
1 files changed, 5 insertions, 7 deletions
diff --git a/.github/workflows/kitchen.yml b/.github/workflows/kitchen.yml index ac49de162a..597ff349dc 100644 --- a/.github/workflows/kitchen.yml +++ b/.github/workflows/kitchen.yml @@ -161,13 +161,12 @@ jobs: echo 'eval "$(rbenv init - zsh)"' >> ~/.zshrc source ~/.zshrc rbenv install 3.1.2 - echo $? rbenv global 3.1.2 # echo "which gem file are we using now?" # which gem OHAI_VERSION=$(sed -n '/ohai .[0-9]/{s/.*(//;s/)//;p;}' Gemfile.lock) - sudo /opt/chef/embedded/bin/gem install appbundler appbundle-updater --no-doc - sudo /opt/chef/embedded/bin/appbundle-updater chef chef $GITHUB_SHA --tarball --github $GITHUB_REPOSITORY + # sudo /opt/chef/embedded/bin/gem install appbundler appbundle-updater --no-doc + # sudo /opt/chef/embedded/bin/appbundle-updater chef chef $GITHUB_SHA --tarball --github $GITHUB_REPOSITORY # echo "Installed Chef / Ohai release:" # /opt/chef/bin/chef-client -v # /opt/chef/bin/ohai -v @@ -221,8 +220,6 @@ jobs: ruby -v echo "Which ruby are we using?" which ruby - echo "Which Chef are we using?" - chef-client -v gem install bundler:2.3.18 gem install chef-utils gem install inspec @@ -232,9 +229,10 @@ jobs: echo "Installing Berkshelf now" gem install berkshelf echo "Finished Installing Berkshelf" + find / -name "chef" | grep -v "Permission denied" # bundle install - which kitchen + # which kitchen # kitchen diagnose --all # bundle exec kitchen test end-to-end-${{ matrix.os }} - /opt/hostedtoolcache/Ruby/3.1.2/x64/bin/kitchen test end-to-end-${{ matrix.os }} + # /opt/hostedtoolcache/Ruby/3.1.2/x64/bin/kitchen test end-to-end-${{ matrix.os }} # sudo find / -name kitchen -type f |