summaryrefslogtreecommitdiff
path: root/scripts
diff options
context:
space:
mode:
authorTim Smith <tsmith84@gmail.com>2020-03-06 20:46:52 -0800
committerTim Smith <tsmith84@gmail.com>2020-03-06 20:46:52 -0800
commitd74de139f9819114309c07696f369e62ea78e0d5 (patch)
tree245b470520b547e0731d884ef9742ecbeda95299 /scripts
parent459c8570c2b5d104babc2f72f1f9f0cdb31ad236 (diff)
downloadchef-d74de139f9819114309c07696f369e62ea78e0d5.tar.gz
Add logging / log folding to BK
Signed-off-by: Tim Smith <tsmith@chef.io>
Diffstat (limited to 'scripts')
-rwxr-xr-xscripts/bk_tests/bk_container_prep.sh2
-rwxr-xr-xscripts/bk_tests/bk_linux_exec.sh3
2 files changed, 5 insertions, 0 deletions
diff --git a/scripts/bk_tests/bk_container_prep.sh b/scripts/bk_tests/bk_container_prep.sh
index ff5139c82c..d792e440d7 100755
--- a/scripts/bk_tests/bk_container_prep.sh
+++ b/scripts/bk_tests/bk_container_prep.sh
@@ -2,11 +2,13 @@
# make sure we have the network tools in place for various network specs
if [ -f /etc/debian_version ]; then
+ echo "--- Update package cache"
apt-get update -y
touch /etc/network/interfaces
fi
# make sure we have the omnibus_overrides specified version of rubygems / bundler
+echo "--- install proper rubygems / bundler"
gem update --system $(grep rubygems omnibus_overrides.rb | cut -d'"' -f2)
gem --version
gem uninstall bundler -a -x || true
diff --git a/scripts/bk_tests/bk_linux_exec.sh b/scripts/bk_tests/bk_linux_exec.sh
index d08bcf38c6..e74f598d40 100755
--- a/scripts/bk_tests/bk_linux_exec.sh
+++ b/scripts/bk_tests/bk_linux_exec.sh
@@ -1,6 +1,7 @@
#!/bin/bash
# Enable IPv6 in docker
+echo "--- Enabling ipv6 on docker"
sudo systemctl stop docker
echo "Enabling IPv6 in Docker config"
dockerd_config="/etc/docker/daemon.json"
@@ -12,9 +13,11 @@ docker version
sudo service docker status
# Install C and C++
+echo "--- Installing package deps"
sudo yum install -y gcc gcc-c++ openssl-devel readline-devel zlib-devel
# Install omnibus-toolchain for git bundler and gem
+echo "--- Installing omnibus toolchain"
curl -fsSL https://chef.io/chef/install.sh | sudo bash -s -- -P omnibus-toolchain
# Set Environment Variables