From 4225c2b182d093e38347b2a37834336ce09c3e39 Mon Sep 17 00:00:00 2001 From: John Keiser Date: Mon, 18 Apr 2016 09:53:42 -0700 Subject: Just use the actual installed bundle instead of reusing the Gemfile to run Chef tess --- ci/verify-chef.bat | 2 +- ci/verify-chef.sh | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'ci') diff --git a/ci/verify-chef.bat b/ci/verify-chef.bat index 5ea317d82c..7ba0817938 100755 --- a/ci/verify-chef.bat +++ b/ci/verify-chef.bat @@ -61,7 +61,7 @@ IF "%PIPELINE_NAME%" == "chef-fips" ( REM ; ffi-yajl must run in c-extension mode for perf, so force it so we don't accidentally fall back to ffi set FORCE_FFI_YAJL=ext +set BUNDLE_GEMFILE=C:\opscode\%PROJECT_NAME%\Gemfile set BUNDLE_IGNORE_CONFIG=true set BUNDLE_FROZEN=1 -set BUNDLE_WITHOUT=development:guard:maintenance:tools:integration:changelog:compat_testing:docgen:travis:aix:bsd:linux:mac_os_x:solaris call bundle exec rspec -r rspec_junit_formatter -f RspecJunitFormatter -o %WORKSPACE%\test.xml -f documentation spec/functional diff --git a/ci/verify-chef.sh b/ci/verify-chef.sh index 70b62d06da..8118d2da33 100755 --- a/ci/verify-chef.sh +++ b/ci/verify-chef.sh @@ -125,5 +125,5 @@ else export CHEF_FIPS fi - sudo env BUNDLE_IGNORE_CONFIG=true BUNDLE_FROZEN=1 BUNDLE_WITHOUT=development:guard:maintenance:tools:integration:changelog:compat_testing:docgen:travis GIT_SSL_NO_VERIFY=true PATH=$PATH TERM=xterm CHEF_FIPS=$CHEF_FIPS bundle exec rspec -r rspec_junit_formatter -f RspecJunitFormatter -o $WORKSPACE/test.xml -f documentation spec/functional + sudo env BUNDLE_GEMFILE=/opt/$PROJECT_NAME/Gemfile BUNDLE_IGNORE_CONFIG=true BUNDLE_FROZEN=1 GIT_SSL_NO_VERIFY=true PATH=$PATH TERM=xterm CHEF_FIPS=$CHEF_FIPS bundle exec rspec -r rspec_junit_formatter -f RspecJunitFormatter -o $WORKSPACE/test.xml -f documentation spec/functional fi -- cgit v1.2.1