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

Turn on GOPROXY in Drone #10960

Closed
wants to merge 2 commits into from
Closed

Turn on GOPROXY in Drone #10960

wants to merge 2 commits into from

Conversation

jolheiser
Copy link
Member

With GOPROXY off it seems some targets fail because they need go modules.

This is a quick search/replace to point all GOPROXY to https://goproxy.cn as we have it elsewhere in the Drone file already.

I am unsure whether this is particularly necessary or if there is another/better way to do it.
Feel free to supersede this PR if that is the case.

Signed-off-by: jolheiser <[email protected]>
@jolheiser jolheiser added the topic/build PR changes how Gitea is built, i.e. regarding Docker or the Makefile label Apr 4, 2020
@jolheiser jolheiser added this to the 1.12.0 milestone Apr 4, 2020
@jolheiser jolheiser added the status/blocked This PR cannot be merged yet, i.e. because it depends on another unmerged PR label Apr 4, 2020
@techknowlogick
Copy link
Member

I’m not 100% sure of this, but I’m pretty sure some of the reason why goproxy is off because we want to ensure to network connections and it isn’t covering up any missing items from go mod file. Now that we are on a version that fully supports go modules and have vendored (sp?) our tools we might even be able to disable go modules in more places (except for vendor check of course).

@GiteaBot GiteaBot added the lgtm/need 2 This PR needs two approvals by maintainers to be considered for merging. label Apr 4, 2020
@jolheiser
Copy link
Member Author

Yes, it seems this still returns some errors with xgo anyways, so until we come up with a better solution I will close this. 😅

@noerw
Copy link
Member

noerw commented Sep 18, 2020

@jolheiser can you tell if the problem with xgo was techknowlogick/xgo#16?

@jolheiser jolheiser deleted the goproxy branch September 18, 2020 14:21
@jolheiser
Copy link
Member Author

It's been a little while so I can't remember the specifics, but that looks similar.

@go-gitea go-gitea locked and limited conversation to collaborators Nov 24, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
lgtm/need 2 This PR needs two approvals by maintainers to be considered for merging. status/blocked This PR cannot be merged yet, i.e. because it depends on another unmerged PR topic/build PR changes how Gitea is built, i.e. regarding Docker or the Makefile
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants