Skip to content

Conversation

@glasnt
Copy link
Contributor

@glasnt glasnt commented Feb 25, 2025

Description

Proof of concept migration to Custard CI

Secret nodejs-docs-samples-idp-key updated 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

  • Please merge this PR for me once it is approved

@product-auto-label product-auto-label bot added samples Issues that are directly related to samples. api: run Issues related to the Cloud Run API. asset: pattern DEE Asset tagging - Pattern. labels Feb 25, 2025
@github-advanced-security
Copy link

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",
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 test/proxy-setup.sh powers this test; unsure if there's something more more scalable that can be done here.

@glasnt glasnt marked this pull request as ready for review March 24, 2025 02:13
@glasnt glasnt requested review from a team as code owners March 24, 2025 02:13
@glasnt glasnt mentioned this pull request Mar 24, 2025
10 tasks
Copy link
Contributor

@briandorsey briandorsey left a 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!

@davidcavazos davidcavazos merged commit 9fea5d2 into main Mar 24, 2025
14 checks passed
@davidcavazos davidcavazos deleted the ariwete-run-idp-sql branch March 24, 2025 18:11
@glasnt glasnt mentioned this pull request Mar 25, 2025
1 task
rudrakhsha-crest pushed a commit to rudrakhsha-crest/nodejs-docs-samples that referenced this pull request Apr 18, 2025
…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)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

api: run Issues related to the Cloud Run API. asset: pattern DEE Asset tagging - Pattern. samples Issues that are directly related to samples.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants