summaryrefslogtreecommitdiff
path: root/scripts
diff options
context:
space:
mode:
authorTim Smith <tsmith84@gmail.com>2020-05-07 20:52:18 -0700
committerTim Smith <tsmith84@gmail.com>2020-05-07 21:44:57 -0700
commitc31038e78a8203e5674b243fcb106b9b207aa168 (patch)
tree69240e5043fd642587b1997c2559e32de27d832e /scripts
parent345da31ab9ac61d88bd06eca058f26ed5cbbd633 (diff)
downloadchef-c31038e78a8203e5674b243fcb106b9b207aa168.tar.gz
Try removing asdf entirely and just use omnibus-toolchaintesting
It seems odd that we install ruby over ruby Signed-off-by: Tim Smith <tsmith@chef.io>
Diffstat (limited to 'scripts')
-rwxr-xr-xscripts/bk_tests/bk_linux_exec.sh15
1 files changed, 2 insertions, 13 deletions
diff --git a/scripts/bk_tests/bk_linux_exec.sh b/scripts/bk_tests/bk_linux_exec.sh
index 334bb740f0..415f646a3c 100755
--- a/scripts/bk_tests/bk_linux_exec.sh
+++ b/scripts/bk_tests/bk_linux_exec.sh
@@ -19,24 +19,13 @@ curl -fsSL https://chef.io/chef/install.sh | sudo bash -s -- -P omnibus-toolchai
export BUNDLE_GEMFILE=$PWD/kitchen-tests/Gemfile
export FORCE_FFI_YAJL=ext
export CHEF_LICENSE="accept-silent"
-export PATH=$PATH:~/.asdf/shims:/opt/asdf/bin:/opt/asdf/shims:/opt/omnibus-toolchain/embedded/bin
-
-# Install ASDF software manager
-echo "--- Installing ASDF software version manager from master"
-sudo git clone https://github.com/asdf-vm/asdf.git /opt/asdf
-. /opt/asdf/asdf.sh
-. /opt/asdf/completions/asdf.bash
-
-echo "--- Installing Ruby 2.7.1"
-/opt/asdf/bin/asdf plugin-add ruby https://github.com/asdf-vm/asdf-ruby.git
-/opt/asdf/bin/asdf install ruby 2.7.1
-/opt/asdf/bin/asdf global ruby 2.7.1
+export PATH=$PATH:/opt/omnibus-toolchain/embedded/bin
# Update Gems
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
+/opt/omnibus-toolchain/bin/bundle install --jobs=3 --retry=3 --path=../vendor/bundle
echo "--- Config information"