Skip to content

Commit b0fe464

Browse files
committed
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.
1 parent 38b4b5a commit b0fe464

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

docker/test-all-providers/update-gemfile-lock.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,4 +3,4 @@
33
docker run -it --rm \
44
-v $(pwd):/app \
55
$(grep ^FROM ./Dockerfile |cut -d ' ' -f2) \
6-
/bin/bash -c 'apt-get update -qq && apt-get install -y --no-install-recommends make && cd /app && gem install bundler && bundle install --jobs 3'
6+
/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=$?"'

0 commit comments

Comments
 (0)