-
Notifications
You must be signed in to change notification settings - Fork 475
Use private registry proxy for API requests when available #4007
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
Merged
Merged
Changes from all commits
Commits
Show all changes
20 commits
Select commit
Hold shift + click to select a range
dab0ab7
Make `undici` an explicit dependency
mbg 8763bac
Add `RegistryProxyVars` enum
mbg 5172487
Allow `getTestEnv` to be parameterised over initial env
mbg a29dee4
Add minimal proxy init code
mbg e387ec1
Move `init` step at the end of `start-proxy` test workflow
mbg b0eaa56
Set language inputs in `start-proxy` check workflow
mbg b6d92e3
Set `CODEQL_PROXY_*` vars for `init` step in test workflow
mbg 50b3687
Specify custom `config-file` in `start-proxy` check
mbg 80599cc
Allow proxy to be threaded into `createApiClientWithDetails`
mbg 6d70593
Gate proxy usage behind FF
mbg 205b37b
Use `ActionState` for `getRegistryProxy`
mbg b946565
Add and use `clone` method for `ReadOnlyEnv`
mbg 47e9c29
Log whether the proxy is picked up on
mbg a1c676d
Test proxy usage for `getRemoteConfig`
mbg d705aa3
Merge remote-tracking branch 'origin/main' into mbg/use-registry-prox…
mbg 1a0eca3
Validate `proxy` argument in tests
mbg 7b19180
Merge remote-tracking branch 'origin/main' into mbg/use-registry-prox…
mbg 4292bd7
Remove unneeded type assertion now that `ApiClient` exists
mbg 8125f87
Remove unused `getApiFetch`
mbg 7db34ae
Refactor looking up proxy env vars into `getRegistryProxyConfig`.
mbg File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
|
mario-campos marked this conversation as resolved.
|
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.