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

no dns check when http_proxy is configured #6002

Open
wants to merge 4 commits into
base: master
Choose a base branch
from
Open

Conversation

djsly
Copy link
Contributor

@djsly djsly commented Mar 6, 2025

What type of PR is this?

What this PR does / why we need it:

Which issue(s) this PR fixes:

Fixes #

Requirements:

Special notes for your reviewer:

Release note:

none

Copy link
Contributor

github-actions bot commented Mar 6, 2025

No changes to cached containers or packages on Windows VHDs

@Devinwong
Copy link
Collaborator

unit test failed, probably because of make generate

registry_domain_name="${MCR_REPOSITORY_BASE:-mcr.microsoft.com}"
registry_domain_name="${registry_domain_name%/}"
# Avoid DNS check when http proxy is configured since the DNS resolution will be done through the proxy
if [[ "${SHOULD_CONFIGURE_HTTP_PROXY}" != "true" ]]; then
Copy link
Member

Choose a reason for hiding this comment

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

the two if blocks checking ${BOOTSTRAP_PROFILE_CONTAINER_REGISTRY_SERVER} and ${SHOULD_CONFIGURE_HTTP_PROXY} on surface are not complete to cover all situations. not sure whether this block should move up to join line 63..

should registry_domain_name always have a value?

Copy link
Member

@bravebeaver bravebeaver left a comment

Choose a reason for hiding this comment

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

so this is the revert PR..

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.

4 participants