-
Notifications
You must be signed in to change notification settings - Fork 2k
ci(idp-sql): run idp-sql tests in testing isolation #3985
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
Conversation
This reverts commit 00e8114.
|
This pull request sets up GitHub code scanning for this repository. Once the scans have completed and the checks have passed, the analysis results for this pull request branch will appear on this overview. Once you merge this pull request, the 'Security' tab will show more code scanning analysis results (for example, for the default branch). Depending on your configuration and choice of analysis tool, future pull requests will be annotated with code scanning analysis results. For more information about GitHub code scanning, check out the documentation. |
| "test": "c8 mocha -p -j 2 test/app.test.js --timeout=120000 --exit", | ||
| "system-test": "c8 mocha -p -j 2 test/system.test.js --timeout=1800000 --exit" | ||
| "unit-test": "c8 mocha -p -j 2 test/app.test.js --timeout=120000 --exit", | ||
| "system-test": "test/proxy-setup.sh && c8 mocha -p -j 2 test/system.test.js --timeout=1800000 --exit", |
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.
The test/proxy-setup.sh powers this test; unsure if there's something more more scalable that can be done here.
briandorsey
left a comment
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.
LGTM. Huge thanks for all the behind the scenes work getting these tests to run!
…orm#3985) * ci(idp-sql): run idp-sql tests in testing isolation * add secret * update tests run, copied from eventarc/audit-storage * debug: swap order * Revert "debug: swap order" This reverts commit 00e8114. * debug: update firebase-admin version * add env, secrets * correct exit code on retry * dynamic service name * wip: pass service account as env, to test * logging: CLOUD_LOGGING_ONLY * correct YAML is useful * dynamicsubtitutions * rename token as not to confuse with new default envvar * use new envvar * update SA usage * add custom audience * cleanup * remove platform, extra SA var * lint * more lint * format * add sample version value * correct audience * lint * disable cleanup for debugging * add test to dev list * attempt proxy powered * lint * attempt: proxy shell * lint * format * try using x-headers * fix: headers * pass db user/name if supplied * revert "try using x-headers" * debugging: where 400 error coming from? * reenable cleanup * try capturing the token error * lint * use explicitly named secret reference * restore: try x-headers (debug) * Revert "restore: try x-headers (debug)" This reverts commit a0bcccf. * revert custom audience (not required if not using ID_TOKEN)
Description
Proof of concept migration to Custard CI
Secret
nodejs-docs-samples-idp-keyupdated to store the IDP from that project, but long-door-651-idp-key updated to store the IDP key from that project (unsure if idp-key is used from another test, but making the name explicit).Checklist