summaryrefslogtreecommitdiff
path: root/.expeditor/run_linux_tests.sh
blob: 3290515da4ed89dad7839e67232b4f941fa31303 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
#!/bin/bash
#
# This script runs a passed in command, but first setups up the bundler caching on the repo

set -ue

export USER="root"
export LANG=C.UTF-8 LANGUAGE=C.UTF-8

echo "--- bundle install"

# we need the ruby 2.7 version of bundler, the 2.5/2.6 versions cannot pull our Gemfile correctly
gem install bundler
bundle install --jobs=7 --retry=3

echo "+++ bundle exec task"
bundle exec $@