diff options
author | Tim Smith <tsmith84@gmail.com> | 2020-04-05 17:26:25 -0700 |
---|---|---|
committer | Tim Smith <tsmith84@gmail.com> | 2020-04-05 17:26:25 -0700 |
commit | f6475a376f45731b38b59392c5551b5fe83f2e6a (patch) | |
tree | 1926f501af7344cae395feb65480d7210d091703 /scripts | |
parent | cd80db095588195b3dd072ede8657e719b703607 (diff) | |
download | chef-f6475a376f45731b38b59392c5551b5fe83f2e6a.tar.gz |
Improve folding and don't install gem docs
Signed-off-by: Tim Smith <tsmith@chef.io>
Diffstat (limited to 'scripts')
-rwxr-xr-x | scripts/bk_tests/bk_container_prep.sh | 2 | ||||
-rwxr-xr-x | scripts/bk_tests/bk_linux_exec.sh | 7 |
2 files changed, 6 insertions, 3 deletions
diff --git a/scripts/bk_tests/bk_container_prep.sh b/scripts/bk_tests/bk_container_prep.sh index 8c3bda15e0..0e9c44b583 100755 --- a/scripts/bk_tests/bk_container_prep.sh +++ b/scripts/bk_tests/bk_container_prep.sh @@ -20,4 +20,4 @@ gem install bundler -v $(grep :bundler omnibus_overrides.rb | cut -d'"' -f2) bundle --version rm -f .bundle/config -echo +++ testing +echo "+++ Run tests" diff --git a/scripts/bk_tests/bk_linux_exec.sh b/scripts/bk_tests/bk_linux_exec.sh index b4bbce59f9..d5993293c9 100755 --- a/scripts/bk_tests/bk_linux_exec.sh +++ b/scripts/bk_tests/bk_linux_exec.sh @@ -40,9 +40,12 @@ echo "--- Installing Ruby 2.6.6" /opt/asdf/bin/asdf global ruby 2.6.6 # Update Gems +echo 'gem: --no-document' >> ~/.gemrc gem update --system $(grep rubygems omnibus_overrides.rb | cut -d'"' -f2) -gem install bundler -v $(grep :bundler omnibus_overrides.rb | cut -d'"' -f2) --force --no-document +gem install bundler -v $(grep :bundler omnibus_overrides.rb | cut -d'"' -f2) --force sudo iptables -L DOCKER || ( echo "DOCKER iptables chain missing" ; sudo iptables -N DOCKER ) ruby --version which bundle -bundle install --jobs=3 --retry=3 --path=vendor/bundle
\ No newline at end of file +bundle install --jobs=3 --retry=3 --path=vendor/bundle + +echo "+++ Running tests"
\ No newline at end of file |