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

Catch bundle lock failures #7208

Merged
merged 1 commit into from
May 1, 2023
Merged

Catch bundle lock failures #7208

merged 1 commit into from
May 1, 2023

Conversation

jeffwidman
Copy link
Member

@jeffwidman jeffwidman commented May 1, 2023

If bundle lock failed for some reason, then the exit code wasn't preserved and the message about the gemfile being updated successfully was incorrectly printed.

Related:

@jeffwidman jeffwidman requested a review from a team as a code owner May 1, 2023 21:48
If `bundle lock` failed for some reason, then the exit code wasn't
preserved and the message about the gemfile being updated successfully
was incorrectly printed.
@jeffwidman jeffwidman merged commit a551212 into main May 1, 2023
@jeffwidman jeffwidman deleted the catch-bundle-lock-failures branch May 1, 2023 21:55
@abdulapopoola abdulapopoola added the L: ruby:bundler RubyGems via bundler label May 1, 2023
@jeffwidman jeffwidman added build 🛠 Relates to building and releasing Dependabot EE Engineering Efficiency and removed L: ruby:bundler RubyGems via bundler labels May 1, 2023
@@ -28,6 +28,10 @@

# Bump the updater's Gemfile.lock with the new version
`cd updater/ && bundle lock`
if $?.exitstatus
Copy link
Member Author

@jeffwidman jeffwidman May 1, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

brettfo pushed a commit to brettfo/dependabot-core that referenced this pull request Oct 11, 2023
If `bundle lock` failed for some reason, then the exit code wasn't
preserved and the message about the gemfile being updated successfully
was incorrectly printed.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
build 🛠 Relates to building and releasing Dependabot EE Engineering Efficiency
Projects
Archived in project
Development

Successfully merging this pull request may close these issues.

3 participants