diff options
| author | Can Eldem <celdem@gitlab.com> | 2020-07-10 16:41:15 +0000 |
|---|---|---|
| committer | Can Eldem <celdem@gitlab.com> | 2020-07-10 16:41:15 +0000 |
| commit | c17546f6cfccf07d27f7984321fe62a7788e8da1 (patch) | |
| tree | 54093c956c0f4dcf4c2ad352847017aee9a88edc /bin/setup | |
| parent | c7385965b4166fb6ab2db3387c67cd54aef1b8df (diff) | |
| parent | 36cdb0040abda394264455a1fdf3d6782af95ceb (diff) | |
Merge branch '217897-isolated-omnibus-lm' into 'master'v3.17.0
Isolate license_management ruby from project ruby
See merge request gitlab-org/security-products/license-management!181
Diffstat (limited to 'bin/setup')
| -rwxr-xr-x | bin/setup | 11 |
1 files changed, 8 insertions, 3 deletions
@@ -1,11 +1,16 @@ -#!/bin/sh +#!/bin/bash -l set -e cd "$(dirname "$0")/.." -gem install bundler --conservative -v '~> 2.0' -q -bundle install --quiet +export PATH="/builds/gitlab-org/security-products/license-management/exe:/opt/gitlab/embedded/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin" + if [ ! -f /usr/sbin/haproxy ] && command -v apt-get; then apt-get update -y && apt-get install -y --no-install-recommends haproxy fi + +[[ -z "$CI_JOB_ID" ]] && enable_dev_mode +bundle config --local path vendor +bundle config --local jobs "$(nproc)" +bundle install |
