-
Notifications
You must be signed in to change notification settings - Fork 1k
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
Bundler 2: [Prerelease] Add native helpers for file parsing #3315
Conversation
- python | ||
- terraform | ||
- { path: bundler, name: bundler1 } | ||
- { path: bundler, name: bundler2 } |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yep, I dig it!
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
🎉 Nice
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Ah, the only downside of this approach is it seems to mess with our configured required builds, we'll need to flip the required builds from the old set to the new ones, merge this and then force all other PRs to merge master.
Not a big deal overall, as I think this is ultimately a better approach, just a one-time pain to switch over.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Good catch! Will fix that up 👍
@@ -20,4 +19,5 @@ cd "$install_dir" | |||
|
|||
# NOTE: Sets `BUNDLED WITH` to match the installed v1 version in Gemfile.lock | |||
# forcing specs and native helpers to run with the same version | |||
BUNDLER_VERSION=2 bundle install | |||
BUNDLER_VERSION=2 bundle config set --local path ".bundle" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Nice!
c793e11
to
1975d59
Compare
Add native helpers for bundler 2 file parsing with testing setup to run bundler specs with both bundler 1 and 2.
The current setup runs all bundler tests twice, sequentially which will add around ~4 mins to the bundler test suite run time.
We could split and run these in parallel or make the bundler 2 tests optional somehow but this also complicates the test setup.