Skip to content

*: remove broken and unnecessary Go env for v0.12.x #2135

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

Conversation

joelanford
Copy link
Member

Description of the change:
Removes use of GO111MODULE and GOPROXY environment variables in build and test scripts.

Motivation for the change:
Now that we have updated SDK to support Go 1.13, these environment variables are no longer necessary.

  • GO111MODULE semantics have changed, such that any project with a go.mod file is considered a go module unless GO111MODULE is explicitly set to off
  • GOPROXY now defaults to https://proxy.golang.org,direct. Adding direct as an alternative also incidentally solves a problem with resolving branch names (e.g. v0.12.x) when used in require blocks.

@openshift-ci-robot openshift-ci-robot added the size/S Denotes a PR that changes 10-29 lines, ignoring generated files. label Oct 30, 2019
@joelanford joelanford changed the base branch from master to v0.12.x October 30, 2019 18:01
Copy link
Member

@estroz estroz left a comment

Choose a reason for hiding this comment

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

/lgtm

@openshift-ci-robot openshift-ci-robot added the lgtm Indicates that a PR is ready to be merged. label Oct 30, 2019
@joelanford joelanford merged commit 13f4c46 into operator-framework:v0.12.x Oct 30, 2019
@joelanford joelanford deleted the fix-go-env-v0.12.x branch January 28, 2020 03:36
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
lgtm Indicates that a PR is ready to be merged. size/S Denotes a PR that changes 10-29 lines, ignoring generated files.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants