-
Notifications
You must be signed in to change notification settings - Fork 12
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 docker buildx issue #202
Conversation
go.mod
Outdated
replace ( | ||
// for testcontainers-go | ||
github.com/cucumber/godog => github.com/laurazard/godog v0.0.0-20220922095256-4c4b17abdae7 | ||
|
||
// what are these for? |
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.
Great question. Let's get rid of them if they're forgotten cruft. Everything builds and tests fine without them on my machine.
go.mod
Outdated
// for testcontainers-go | ||
github.com/cucumber/godog => github.com/laurazard/godog v0.0.0-20220922095256-4c4b17abdae7 |
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.
What was this for? "for testcontainers-go" doesn't really say why. Everything builds and tests fine without this replace too.
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.
This is for acceptance/integration test, it's said required according to their docs. I just tried remove all replace
and it works. I'll delete those
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.
Where in their docs does it say you need a replace? That's terrible. A package should never require or suggest that.
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.
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.
yeah you found it. But surprisingly it still work
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.
Actually, the build works, but there are errors from toolings making the code highlighting fail, will add it back.
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.
Cool. We should get rid of all the replaces unless there's much clearer documented need for them. replaces are usually trouble.
86351c7
to
671ec5a
Compare
671ec5a
to
d810d93
Compare
Kudos, SonarCloud Quality Gate passed! |
remove
replace
for k8s deps, which cause docker build issue