#!/bin/bash -l set -e cd "$(dirname "$0")/.." 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 git haproxy fi [[ -z "$CI_JOB_ID" ]] && enable_dev_mode bundle config --local path vendor bundle config --local jobs "$(nproc)" bundle install