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

feat(infra.groovy) add new ACP to the valid proxy providers list #858

Merged
merged 1 commit into from
May 16, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion vars/infra.groovy
Original file line number Diff line number Diff line change
Expand Up @@ -169,7 +169,7 @@ Object withArtifactCachingProxy(boolean useArtifactCachingProxy = true, Closure
// As the env var ARTIFACT_CACHING_PROXY_PROVIDER can't be set on Azure VM agents,
// we're specifying a default provider if none is specified.
final String requestedProxyProvider = env.ARTIFACT_CACHING_PROXY_PROVIDER ?: 'azure'
final String[] validProxyProviders = ['aws', 'azure', 'do']
final String[] validProxyProviders = ['aws', 'azure', 'azure-aks-internal', 'do']
// Useful when a provider is in maintenance (or similar cases), add a global env var in Jenkins controller settings to restrict them.
// To completely disable the artifact caching proxies, this value can be set to a value absent of validProxyProviders like "none" for example.
final String configuredAvailableProxyProviders = env.ARTIFACT_CACHING_PROXY_AVAILABLE_PROVIDERS ?: validProxyProviders.join(',')
Expand Down