Skip to content

Do not fail on adding and committing Gemfile.lock on ALTERNATIVE_SOURCES

Balasankar 'Balu' C requested to merge add-gemfile-lock-only-if-changed into master

It is normal for developers to run bundle install with ALTERNATIVE_SOURCES set, and commit both Gemfile and Gemfile.lock. In those cases, us trying to commit again will not succeed. Let's not fail the script on that.

However, we do need Gemfile.lock to point to dev mirrors, yet. gitlab-org/distribution/team-tasks#429 (closed) is open to correct that. This MR is temporary so that people can at least get a pipeline running.

Merge request reports