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

Use host's DNS servers #87

Merged
merged 1 commit into from
Jun 21, 2023
Merged

Use host's DNS servers #87

merged 1 commit into from
Jun 21, 2023

Conversation

edigaryev
Copy link
Contributor

@edigaryev edigaryev commented Jun 21, 2023

Might help the users who are having issues with local DNS/VPN servers.

See cirruslabs/orchard#92.

@edigaryev edigaryev requested a review from fkorotkov June 21, 2023 06:06
@fkorotkov fkorotkov merged commit fc12391 into master Jun 21, 2023
@edigaryev edigaryev deleted the use-hosts-dns branch June 21, 2023 13:05
@JulianH
Copy link

JulianH commented Jul 10, 2023

Hi @edigaryev,

this issue is a blocker for us, as our gitlab is resolved only by an internal DNS server.
Is there any chance, to publish a new xcode-14 image containing this fix?

Thank you very much!

@edigaryev
Copy link
Contributor Author

Is there any chance, to publish a new xcode-14 image containing this fix?

Pinging @fkorotkov.

@fkorotkov
Copy link
Contributor

fkorotkov commented Jul 10, 2023

@JulianH you can reset the setting by running the following command first thing in your CI script:

sudo networksetup -setdnsservers Ethernet "Empty"

Will that work for you?

@JulianH
Copy link

JulianH commented Jul 10, 2023

Hi @fkorotkov,

thanks for your quick reply. I want to use that images in the gitlab-tart-executor and the first step is, to clone the repository, which fails due to not able resolving the gitlab address.
If i manually run the vm, execute the script, then i can clone the repository, but not part of the Gitlab CI build job, unfortunately.

@fkorotkov
Copy link
Contributor

Can you try pre_get_sources_script?

We usually update images on Saturdays to minimize impact of image distribution. If pre_get_sources_script doesn't work for you, we'll rebuild the latest Xcode 14+ image later this week.

@JulianH
Copy link

JulianH commented Jul 11, 2023

Hi @fkorotkov, thank you very much for this nice workaround, it is working 🚀

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.

3 participants