-
Notifications
You must be signed in to change notification settings - Fork 2.5k
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
fix build with with GO111MODULE=off #10010
fix build with with GO111MODULE=off #10010
Conversation
let me add a CI job for GO111MODULE=off |
f29e6b4
to
9e9d737
Compare
9e9d737
to
03535db
Compare
03535db
to
c73d233
Compare
8ebcba5
to
c7d79a6
Compare
This seems OK, LGTM |
c7d79a6
to
a8ec7d2
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
/lgtm |
a8ec7d2
to
34e7bff
Compare
Let's hold off on lgtm until we have a green CI. |
34e7bff
to
e6f51d4
Compare
@lsm5 I'm curious why this is needed. My understanding is CI test-job wise, this sounds like something ripe for inclusion in |
e6f51d4
to
858f83d
Compare
hmm, I never bothered to check honestly but I could dig in if necessary on that. FWIW, the default fedora
so I'm guessing there hasn't been any change on newer versions.
So, given that the spec file is only used for checking if rpm builds fine, I changed the spec file directly without a specific CI job. Things should hopefully be changing very soon when we have the packit integration in place. |
858f83d
to
84b3dc7
Compare
@cevich oh also, if we don't have GO111MODULE=off it ends up fetching all the vendored dependencies which is a no-go for non-networked koji buiilds. |
That BZ is from 2016.
Oh...right, yeah, golang really wants to be connected to the internet 😞 |
Oh okay, yeah, feel free to replace that RPM-build job then. My understand is it's mainly there for package release benefit - noticing problems early. So if there's a better way to do that, go for it. |
2c7dbca
to
1d92982
Compare
1c79a5a
to
f19a891
Compare
ready for lgtm |
I think the comment from @rhatdan is addressed |
we also need a |
/approve |
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: lsm5, rhatdan The full list of commands accepted by this bot can be found here. The pull request process is described here
Needs approval from an approver in each of these files:
Approvers can indicate their approval by writing |
I thought those were there to indicate where we copied the code from . Perhaps change the import to copied from? |
@rhatdan I can give that a try. |
Distro builds on Fedora and Kubic projects use GO111MODULE=off by default which are currently failing. This commit fixes it and going forward, podman CI will also indicate failures in rpm builds. The additional LDFLAGS have been removed from the spec file which is not ideal. But, currently we only use the spec file to check if the rpm builds fine. We can fix the LDFLAGS in a later commit when we're working on packit integration. conmon build has also been removed from podman.spec.in because the COPR for which it was provided has been discontinued. [NO TESTS NEEDED] Fixes: containers#10009 Signed-off-by: Lokesh Mandvekar <[email protected]>
f19a891
to
501b475
Compare
@rhatdan added a comment on top of the package line. I wish golang didn't act funny with comments. |
/lgtm |
anybody know how to rerun the rdoproject.org/github-check job? It doesn't fail locally for me on centos8 |
rdoproject always fails. We don't care: it doesn't block merging. |
thanks @edsantiago . If someone could please |
/hold cancel |
Fix build with GO111MODULE=off
Distro builds on Fedora and Kubic projects use GO111MODULE=off
by default which are currently failing. This commit fixes it and
going forward, podman CI will also indicate failures in rpm builds.
conmon build has also been removed from podman.spec.in because the COPR
for which it was provided has been discontinued.
Fixes: #10009
Signed-off-by: Lokesh Mandvekar [email protected]
@mheon @vrothberg @rhatdan @baude @cevich PTAL