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

refactor: remove fake google credentials #202

Merged
merged 1 commit into from
Jan 11, 2025
Merged

Conversation

kormide
Copy link
Collaborator

@kormide kormide commented Jan 10, 2025

In integration tests the google node client would fail unless it could load some default credentials, even though the secrets endpoint is stubbed and the credentials are not actually used. My previous solution was to add some credentials as a secret which prevented e2e tests from running on fork builds.

I found a simpler way to mock the auth client removing the need for any secrets.

This is also a prefactor for running the e2e tests under bazel, which can't find default credentials on the home directory when run in the sandbox.

@kormide kormide marked this pull request as ready for review January 10, 2025 22:20
@kormide kormide requested a review from alexeagle January 10, 2025 22:20
@kormide kormide merged commit bf33078 into main Jan 11, 2025
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants