summaryrefslogtreecommitdiff
path: root/.github
diff options
context:
space:
mode:
authorJason Barnett <jason.w.barnett@gmail.com>2021-09-21 12:42:53 -0600
committerJason Barnett <jason.w.barnett@gmail.com>2021-09-21 12:45:25 -0600
commitb6d23f485f2a34ce119cab6e033eaa4ad0f32a55 (patch)
treef6e7c0589e8545b50b3d214a7803fcb7859b89d8 /.github
parent77a27db0403c6fe482d8145d9a5e77a75356f495 (diff)
downloadchef-b6d23f485f2a34ce119cab6e033eaa4ad0f32a55.tar.gz
Use bundle config set path
Signed-off-by: Jason Barnett <jason.w.barnett@gmail.com>
Diffstat (limited to '.github')
-rw-r--r--.github/workflows/kitchen.yml6
1 files changed, 4 insertions, 2 deletions
diff --git a/.github/workflows/kitchen.yml b/.github/workflows/kitchen.yml
index 94b36b7275..a34cdd6d38 100644
--- a/.github/workflows/kitchen.yml
+++ b/.github/workflows/kitchen.yml
@@ -41,7 +41,8 @@ jobs:
cd kitchen-tests
$env:PATH = "C:\opscode\chef\bin;C:\opscode\chef\embedded\bin;" + $env:PATH
bundle config set --local without 'omnibus_package'
- bundle install --jobs=3 --retry=3 --path=vendor/bundle
+ bundle config set --local path 'vendor/bundle'
+ bundle install --jobs=3 --retry=3
gem install berkshelf --no-doc
# berks emits a ruby warning when it loads net/http due to a previously
# defined constant. Even though it is just a warning, powershell immediately
@@ -83,7 +84,8 @@ jobs:
run: |
cd kitchen-tests
sudo /opt/chef/embedded/bin/bundle config set --local without 'omnibus_package'
- sudo /opt/chef/embedded/bin/bundle install --jobs=3 --retry=3 --path=vendor/bundle
+ sudo /opt/chef/embedded/bin/bundle config set --local path 'vendor/bundle'
+ sudo /opt/chef/embedded/bin/bundle install --jobs=3 --retry=3
sudo /opt/chef/embedded/bin/gem install berkshelf --no-doc
sudo /opt/chef/embedded/bin/berks vendor cookbooks
sudo /opt/chef/bin/chef-client -z -o end_to_end --chef-license accept-no-persist