blob: bb82b6b1408336291d6e12bd602624269ac1b06c (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
|
# This script gets a container ready to run our various tests in BuildKite
# make sure we have the network tools in place for various network specs
if [ -f /etc/debian_version ]; then
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
gem install bundler -v $(grep :bundler omnibus_overrides.rb | cut -d'"' -f2)
bundle --version
rm -f .bundle/config
# force all .rspec tests into progress display to reduce line count
echo --color > .rspec
echo -fp >> .rspec
echo "--- Run tests"
|