vmpooler-deployment/docker/test-all-providers/update-gemfile-lock.sh
Gene Liverman b0fe46435f
Run bundle update too, print exit code
This modifies the update script so that it explicitly runs 'bundle
update' in addition to 'bundle install' and makes the last step to be
printing of the exit code.
2021-12-07 10:47:21 -05:00

6 lines
312 B
Bash
Executable file

#!/usr/bin/env bash
docker run -it --rm \
-v $(pwd):/app \
$(grep ^FROM ./Dockerfile |cut -d ' ' -f2) \
/bin/bash -c 'apt-get update -qq && apt-get install -y --no-install-recommends make && cd /app && gem install bundler && bundle install --jobs 3 && bundle update; echo "LOCK_FILE_UPDATE_EXIT_CODE=$?"'