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

cloud-sql-proxy v2.6.1 (new formula) #140782

Merged
merged 2 commits into from
Aug 31, 2023

Conversation

jhandguy
Copy link
Contributor

  • Have you followed the guidelines for contributing?
  • Have you ensured that your commits follow the commit style guide?
  • Have you checked that there aren't other open pull requests for the same formula update/change?
  • Have you built your formula locally with HOMEBREW_NO_INSTALL_FROM_API=1 brew install --build-from-source <formula>, where <formula> is the name of the formula you're submitting?
  • Is your test running fine brew test <formula>, where <formula> is the name of the formula you're submitting?
  • Does your build pass brew audit --strict <formula> (after doing HOMEBREW_NO_INSTALL_FROM_API=1 brew install --build-from-source <formula>)? If this is a new formula, does it pass brew audit --new <formula>?

@github-actions github-actions bot added go Go use is a significant feature of the PR or issue new formula PR adds a new formula to Homebrew/homebrew-core labels Aug 29, 2023
@github-actions github-actions bot added the autosquash Automatically squash pull request commits according to Homebrew style. label Aug 29, 2023

test do
assert_match "cloud-sql-proxy version #{version}", shell_output("#{bin}/cloud-sql-proxy --version")
assert_match "could not find default credentials", shell_output("echo $(#{bin}/cloud-sql-proxy test 2>&1)")
Copy link
Member

Choose a reason for hiding this comment

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

Suggested change
assert_match "could not find default credentials", shell_output("echo $(#{bin}/cloud-sql-proxy test 2>&1)")
assert_match "could not find default credentials", shell_output("#{bin}/cloud-sql-proxy test 2>&1")

Copy link
Contributor Author

Choose a reason for hiding this comment

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

The echo here is used to suppress the exit 1 return status code (see other example in kamel.rb).
I found a better way to handle it using the second argument of shell_output though, thanks!

Copy link
Member

Choose a reason for hiding this comment

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

Ah yeah, Kamel shouldn't do that either.

cloud-sql-proxy v2.6.1 (add test case)

cloud-sql-proxy v2.6.1 (fix test case)

cloud-sql-proxy v2.6.1 (add livecheck)

cloud-sql-proxy: use default livecheck

Signed-off-by: Rui Chen <rui@chenrui.dev>
@chenrui333 chenrui333 added the ready to merge PR can be merged once CI is green label Aug 30, 2023
@github-actions github-actions bot removed the autosquash Automatically squash pull request commits according to Homebrew style. label Aug 30, 2023
@chenrui333
Copy link
Member

chenrui333 commented Aug 31, 2023

@jhandguy thanks for your first PR to homebrew-core! 🎉

Copy link
Member

@ZhongRuoyu ZhongRuoyu left a comment

Choose a reason for hiding this comment

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

Thanks, @jhandguy!

@github-actions
Copy link
Contributor

@github-actions github-actions bot added the CI-published-bottle-commits The commits for the built bottles have been pushed to the PR branch. label Aug 31, 2023
@BrewTestBot BrewTestBot added this pull request to the merge queue Aug 31, 2023
Merged via the queue into Homebrew:master with commit 38260db Aug 31, 2023
12 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
CI-published-bottle-commits The commits for the built bottles have been pushed to the PR branch. go Go use is a significant feature of the PR or issue new formula PR adds a new formula to Homebrew/homebrew-core ready to merge PR can be merged once CI is green
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants