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

fix: Migrations script #800

Merged
merged 3 commits into from
Jun 25, 2024
Merged

fix: Migrations script #800

merged 3 commits into from
Jun 25, 2024

Conversation

hubertdeng123
Copy link
Member

@hubertdeng123 hubertdeng123 commented Jun 18, 2024

Looks like this service account no longer exists. We've been using workload identity provider since #633 but we forgot to account for migrations.

https://github.com/getsentry/eng-pipes/actions/runs/9573265261/job/26394333363

service_account_email: ${{ secrets.GOOGLE_SERVICE_ACCOUNT_EMAIL }}
service_account_key: ${{ secrets.GOOGLE_APPLICATION_CREDENTIALS }}
export_default_credentials: true
- id: 'auth'
Copy link
Member Author

Choose a reason for hiding this comment

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

switching over to using identity provider as done in ci.yml

- id: 'auth'

Copy link

codecov bot commented Jun 18, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 85.05%. Comparing base (0bb9a88) to head (ad7d601).
Report is 7 commits behind head on main.

Additional details and impacted files
@@            Coverage Diff             @@
##             main     #800      +/-   ##
==========================================
- Coverage   86.24%   85.05%   -1.20%     
==========================================
  Files         117      117              
  Lines        3316     3372      +56     
  Branches      667      675       +8     
==========================================
+ Hits         2860     2868       +8     
- Misses        442      490      +48     
  Partials       14       14              

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

Copy link
Member

@IanWoodard IanWoodard left a comment

Choose a reason for hiding this comment

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

We should opt to use node 20 now that previous versions are deprecated on GitHub actions, but that can be done in a separate PR. Otherwise, LGTM.

@@ -34,13 +37,15 @@ jobs:
with:
node-version: '12'
Copy link
Member

Choose a reason for hiding this comment

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

We should probably update this to use node 20, which may require updating the rest of the actions in this file, but will help us ensure we are on the latest, most secure, version. This can be done in a separate PR.

@hubertdeng123 hubertdeng123 merged commit 086fca9 into main Jun 25, 2024
7 of 8 checks passed
@hubertdeng123 hubertdeng123 deleted the hubertdeng123/fix-migrations branch June 25, 2024 23:37
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.

None yet

2 participants