summaryrefslogtreecommitdiff
path: root/.expeditor
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 /.expeditor
parent77a27db0403c6fe482d8145d9a5e77a75356f495 (diff)
downloadchef-b6d23f485f2a34ce119cab6e033eaa4ad0f32a55.tar.gz
Use bundle config set path
Signed-off-by: Jason Barnett <jason.w.barnett@gmail.com>
Diffstat (limited to '.expeditor')
-rwxr-xr-x.expeditor/scripts/bk_linux_exec.sh3
-rw-r--r--.expeditor/scripts/bk_win_prep.ps15
-rw-r--r--.expeditor/verify.pipeline.yml66
3 files changed, 49 insertions, 25 deletions
diff --git a/.expeditor/scripts/bk_linux_exec.sh b/.expeditor/scripts/bk_linux_exec.sh
index fbfd376581..95848fd578 100755
--- a/.expeditor/scripts/bk_linux_exec.sh
+++ b/.expeditor/scripts/bk_linux_exec.sh
@@ -33,7 +33,8 @@ export CHEF_LICENSE="accept-silent"
echo "--- Installing Gems"
echo 'gem: --no-document' >> ~/.gemrc
sudo iptables -L DOCKER || ( echo "DOCKER iptables chain missing" ; sudo iptables -N DOCKER )
-bundle install --jobs=3 --retry=3 --path=../vendor/bundle
+bundle config set --local path 'vendor/bundle'
+bundle install --jobs=3 --retry=3
echo "--- Config information"
diff --git a/.expeditor/scripts/bk_win_prep.ps1 b/.expeditor/scripts/bk_win_prep.ps1
index 69f35a1ff2..62f7cb1f32 100644
--- a/.expeditor/scripts/bk_win_prep.ps1
+++ b/.expeditor/scripts/bk_win_prep.ps1
@@ -12,5 +12,6 @@ if (-not $?) { throw "Can't run Bundler. Is it installed?" }
echo "--- bundle install"
bundle config set --local without omnibus_package
-bundle install --jobs=3 --retry=3 --path=vendor/bundle
-if (-not $?) { throw "Unable to install gem dependencies" } \ No newline at end of file
+bundle config set --local path 'vendor/bundle'
+bundle install --jobs=3 --retry=3
+if (-not $?) { throw "Unable to install gem dependencies" }
diff --git a/.expeditor/verify.pipeline.yml b/.expeditor/verify.pipeline.yml
index 5bbfb25e9c..8aa40c4adc 100644
--- a/.expeditor/verify.pipeline.yml
+++ b/.expeditor/verify.pipeline.yml
@@ -20,7 +20,8 @@ steps:
- /workdir/.expeditor/scripts/bk_container_prep.sh
- cd chef-utils
- 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
- bundle exec rake spec
expeditor:
executor:
@@ -32,7 +33,8 @@ steps:
- /workdir/.expeditor/scripts/bk_container_prep.sh
- cd chef-config
- 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
- bundle exec rake spec
expeditor:
executor:
@@ -47,7 +49,8 @@ steps:
commands:
- /workdir/.expeditor/scripts/bk_container_prep.sh
- cd /workdir; 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
- bundle exec rake spec:integration
expeditor:
executor:
@@ -61,7 +64,8 @@ steps:
- apt-get update -y
- apt-get install -y cron locales # needed for functional tests to pass
- cd /workdir; 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
- bundle exec rake spec:functional
expeditor:
executor:
@@ -73,7 +77,8 @@ steps:
commands:
- /workdir/.expeditor/scripts/bk_container_prep.sh
- 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
- bundle exec rake spec:unit
- bundle exec rake component_specs
expeditor:
@@ -85,7 +90,8 @@ steps:
commands:
- /workdir/.expeditor/scripts/bk_container_prep.sh
- cd /workdir; 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
- bundle exec rake spec:integration
expeditor:
executor:
@@ -99,7 +105,8 @@ steps:
- apt-get update -y
- apt-get install -y cron locales # needed for functional tests to pass
- cd /workdir; 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
- bundle exec rake spec:functional
expeditor:
executor:
@@ -111,7 +118,8 @@ steps:
commands:
- /workdir/.expeditor/scripts/bk_container_prep.sh
- 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
- bundle exec rake spec:unit
- bundle exec rake component_specs
expeditor:
@@ -123,7 +131,8 @@ steps:
commands:
- /workdir/.expeditor/scripts/bk_container_prep.sh
- cd /workdir; 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
- bundle exec rake spec:integration
expeditor:
executor:
@@ -136,7 +145,8 @@ steps:
- /workdir/.expeditor/scripts/bk_container_prep.sh
- yum install -y crontabs e2fsprogs
- cd /workdir; 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
- bundle exec rake spec:functional
expeditor:
executor:
@@ -148,7 +158,8 @@ steps:
commands:
- /workdir/.expeditor/scripts/bk_container_prep.sh
- 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
- bundle exec rake spec:unit
- bundle exec rake component_specs
expeditor:
@@ -161,7 +172,8 @@ steps:
- /workdir/.expeditor/scripts/bk_container_prep.sh
- zypper install -y cron insserv-compat
- cd /workdir; 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
- bundle exec rake spec:integration
expeditor:
executor:
@@ -174,7 +186,8 @@ steps:
- /workdir/.expeditor/scripts/bk_container_prep.sh
- zypper install -y cronie insserv-compat
- cd /workdir; 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
- bundle exec rake spec:functional
expeditor:
executor:
@@ -187,7 +200,8 @@ steps:
- /workdir/.expeditor/scripts/bk_container_prep.sh
- zypper install -y cron insserv-compat
- 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
- bundle exec rake spec:unit
- bundle exec rake component_specs
expeditor:
@@ -199,7 +213,8 @@ steps:
commands:
- /workdir/.expeditor/scripts/bk_container_prep.sh
- cd /workdir; 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
- bundle exec rake spec:integration
expeditor:
executor:
@@ -212,7 +227,8 @@ steps:
- /workdir/.expeditor/scripts/bk_container_prep.sh
- dnf install -y crontabs e2fsprogs
- cd /workdir; 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
- bundle exec rake spec:functional
expeditor:
executor:
@@ -227,7 +243,8 @@ steps:
commands:
- /workdir/.expeditor/scripts/bk_container_prep.sh
- 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
- bundle exec rake spec:unit
- bundle exec rake component_specs
expeditor:
@@ -279,7 +296,8 @@ steps:
commands:
- /workdir/.expeditor/scripts/bk_container_prep.sh
- 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
- bundle exec tasks/bin/run_external_test chef/chef-zero main rake pedant
expeditor:
executor:
@@ -293,7 +311,8 @@ steps:
commands:
- /workdir/.expeditor/scripts/bk_container_prep.sh
- 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
- bundle exec tasks/bin/run_external_test chef/cheffish main rake spec
expeditor:
executor:
@@ -304,7 +323,8 @@ steps:
commands:
- /workdir/.expeditor/scripts/bk_container_prep.sh
- 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
- bundle exec tasks/bin/run_external_test chefspec/chefspec main rake
expeditor:
executor:
@@ -315,7 +335,8 @@ steps:
commands:
- /workdir/.expeditor/scripts/bk_container_prep.sh
- 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
- bundle exec tasks/bin/run_external_test chef/knife-windows main rake spec
expeditor:
executor:
@@ -328,7 +349,8 @@ steps:
- apt-get update -y
- apt-get install -y graphviz
- 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
- bundle exec tasks/bin/run_external_test berkshelf/berkshelf main rake
expeditor:
executor: