Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

(PDK-1590) Remove Gemfile.lock before running bundle update #834

Merged
merged 1 commit into from
Jan 23, 2020

Conversation

rodjek
Copy link
Contributor

@rodjek rodjek commented Jan 21, 2020

As the 2.4 and 2.5 runtimes have updated to use Bundler 2.x but the 2.1
runtime is stuck on Bundler 1.x, we need to remove the Gemfile.lock
manually during the version_selection package tests as Bundler 1.x hard
fails when it encounters a 2.x lockfile. This is not a problem with
other PDK commands as they update the lockfile before shelling out but
we deliberately don't do that for pdk bundle.

As the 2.4 and 2.5 runtimes have updated to use Bundler 2.x but the 2.1
runtime is stuck on Bundler 1.x, we need to remove the Gemfile.lock
manually during the version_selection package tests as Bundler 1.x hard
fails when it encounters a 2.x lockfile. This is not a problem with
other PDK commands as they update the lockfile before shelling out but
we deliberately don't do that for `pdk bundle`.
@coveralls
Copy link

Coverage Status

Coverage remained the same at 91.684% when pulling ef3b1d3 on rodjek:fix_version_selection_tests into 4c83ef8 on puppetlabs:master.

@rodjek rodjek merged commit b740222 into puppetlabs:master Jan 23, 2020
@rodjek rodjek deleted the fix_version_selection_tests branch January 23, 2020 00:57
@rodjek rodjek added this to the 1.16.0 milestone Feb 3, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants