-
Notifications
You must be signed in to change notification settings - Fork 145
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
[master] update compose to v2.10.0 #742
Conversation
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
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.
Thanks for bumping this 👍
hmmm... why is this failing CI? Let me check |
Ah! Looks to be because of @crazy-max's changes in docker/compose#9744 I was actually discussing that with him at the time, but forgot we needed to make changes 😓 |
Ahhh yeah you beat me to it - I'm not really familiar with the |
Yes, I think he overlooked that rpm and deb scripts can't use docker as part of the build, so the |
e.g. for rpm's, this spec runs the build; docker-ce-packaging/rpm/SPECS/docker-compose-plugin.spec Lines 37 to 42 in 617e04f
and for debs, it the debian "rules" file that runs the build; docker-ce-packaging/deb/common/rules Lines 24 to 31 in 617e04f
|
I think we created the |
I opened docker/compose#9771. Caveat in there:
(Sorry, I figured adding slightly more to the one-time pain of getting this sorted was better than getting bitten by slightly different paths the next time we touch the build logic 😓) Can the packaging be tricked (for the sake of a PR) into using a branch for the ref, or is it smart enough to only operate on for tags/releases? Getting a clean CI pass on this PR using the compose#9771 PR branch and/or Regardless, I think we can revisit this on Monday at this point! 👋 |
I was also eyeing docker/compose#9765 (haven't done a compare yet between your makefile and that one though). I think we can add some hacks to pull from your fork; I can give that a go. |
I pushed a commit that switches to your fork and uses that commit. If we don't want to do a new compose release for this, I think we should also be able to add a temporary hack in this repository (where we either copy the instructions, or temporarily add a copy of the makefile |
I think it might be ok to just manually force-move the |
No! Don't move the tag! It will already be in Go's module proxy, and changing the tag will mark it as tampered with |
Y'know, I'd actually looked at that PR from Ulysses earlier and did not even think about the fact that it's 99.9% the same 🤦 Having a single Sidenote: I just realized that we're technically building Compose with v1.19 for all of its in-repo CI vs 1.18 here 🙈 I'll make note to ensure that:
|
Ah, yes, and the 20.10 branch (up until earlier today) was still on 1.17. Unfortunately currently the build pipeline is still a "one-size-fits-all" for Go versions. There are a bunch of plans to decouple all of that (more below), but it's currently what we need to deal with. The docker engine (and to some extend, runc, and containerd) tend to be slightly conservative on Go updates; those parts of our stack use Go in more esoteric corners, and history has shown that if there's some bug in Go hidden in some obscure corner, we usually hit those (
Thanks! I think in most cases version-1 should not be a big issue (unless you start to use new features on "day 1"). Good practice is to test against "current" and "current - 1" for library code (Go's recommendations), but I realize that's not always possible. Plans are to decouple the build pipeline more (it has grown to become a bit of a Jenga tower with so many repositories involved), so that compose itself can prepare packages and the pipeline only to be used to signing and publishing them. Still a ton of stuff to do for that, so in the meantime it's a bit "deal with what we have" (sorry for that!). |
^^ Good news; at least this patch looks to work. Let me also test it in the 20.10 branch |
061b173
to
1697622
Compare
1697622
to
6c56647
Compare
release notes: https://github.com/docker/compose/releases/tag/v2.10.0 Signed-off-by: Sebastiaan van Stijn <[email protected]>
6c56647
to
89ba8ec
Compare
We merged #744, which fixes the issue; I guess we can decide to keep that, or to switch back to using the Overall, the build for the compose plugin is fairly trivial, but of course the |
Whoop, and green; I'll bring this one in. |
release notes: https://github.com/docker/compose/releases/tag/v2.10.0