summaryrefslogtreecommitdiff
path: root/scripts
diff options
context:
space:
mode:
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