From b0fe46435f316baa20a55adaf9b7049e0cf27edc Mon Sep 17 00:00:00 2001 From: Gene Liverman Date: Tue, 7 Dec 2021 10:47:21 -0500 Subject: [PATCH] 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. --- docker/test-all-providers/update-gemfile-lock.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docker/test-all-providers/update-gemfile-lock.sh b/docker/test-all-providers/update-gemfile-lock.sh index a148d6c..064103b 100755 --- a/docker/test-all-providers/update-gemfile-lock.sh +++ b/docker/test-all-providers/update-gemfile-lock.sh @@ -3,4 +3,4 @@ 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' + /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=$?"'