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

Bump min-version for docker and docker-compose #33572

Merged

Conversation

potiuk
Copy link
Member

@potiuk potiuk commented Aug 21, 2023

It's been quite some time since we bumped min versions for docker and docker-compose for Breeze and there are already a few cases where it held us back from more efficiently using some newer docker or docker-compose features (for example in #33547). Also docker-compose v1 is sufficiently old an unmaintained, that it's about time to get rid of it and ask the users to migrate to docker-compose v2.

The new min versions propose:

  • Docker: 23.0.0 released 2023-02-01 (6 months ago)
  • Docker Compose 2.14.0 release 2022-12-15 (8 months ago)

Docker v1 is not supported any more and the users are directed to migrate to v2 to continue using Breeze.


^ Add meaningful description above
Read the Pull Request Guidelines for more information.
In case of fundamental code changes, an Airflow Improvement Proposal (AIP) is needed.
In case of a new dependency, check compliance with the ASF 3rd Party License Policy.
In case of backwards incompatible changes please leave a note in a newsfragment file, named {pr_number}.significant.rst or {issue_number}.significant.rst, in newsfragments.

@potiuk potiuk force-pushed the bump-min-versions-for-docker-and-compose-in-breeze branch 2 times, most recently from 94f5177 to 3798694 Compare August 21, 2023 06:08
Copy link
Member

@uranusjr uranusjr left a comment

Choose a reason for hiding this comment

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

I’m fine with this even just for docker compose. Docker is auto-updating anyway so it’s not unreasonable for most people to already on the latest version (much newer than these requirements) anyway.

@potiuk potiuk force-pushed the bump-min-versions-for-docker-and-compose-in-breeze branch 2 times, most recently from e74af83 to e68e8b8 Compare August 21, 2023 06:37
@potiuk
Copy link
Member Author

potiuk commented Aug 21, 2023

OK. Seems that even our CI's docker is too old :)

@potiuk
Copy link
Member Author

potiuk commented Aug 21, 2023

But it looks like the version check works nicely BTW :)

It's been quite some time since we bumped min versions for docker
and docker-compose for Breeze and there are already a few cases where
it held us back from more efficiently using some newer docker or
docker-compose features (for example in apache#33547). Also docker-compose
v1 is sufficiently old an unmaintained, that it's about time to
get rid of it and ask the users to migrate to docker-compose v2.

The new min versions propose:

* Docker: 23.0.0 released 2023-02-01 (6 months ago)
* Docker Compose 2.14.0 release 2022-12-15 (8 months ago)

Docker v1 is not supported any more and the users are directed
to migrate to v2 to continue using Breeze.
@potiuk potiuk force-pushed the bump-min-versions-for-docker-and-compose-in-breeze branch from e68e8b8 to a125733 Compare August 21, 2023 13:03
@potiuk
Copy link
Member Author

potiuk commented Aug 21, 2023

Ok. We should have now docker and docker compose updated for our self-hosted runners. Let's see.

@potiuk
Copy link
Member Author

potiuk commented Aug 21, 2023

So far so good:

image

I set-up the "min-versions" in CI that correspond to the min-versions we have in Breeze - this way we will see in CI if we introduce something not supported by those in most cases (since we are running almost all our breeze commands as part of the CI jobs of ours).

@potiuk potiuk added the use public runners Makes sure that Public runners are used even if commiters creates the PR (useful for testing) label Aug 21, 2023
@potiuk
Copy link
Member Author

potiuk commented Aug 21, 2023

Looks great. Trying on public runners, just in case.

@potiuk potiuk closed this Aug 21, 2023
@potiuk potiuk reopened this Aug 21, 2023
@potiuk potiuk merged commit 73a3733 into apache:main Aug 21, 2023
@potiuk potiuk deleted the bump-min-versions-for-docker-and-compose-in-breeze branch August 21, 2023 15:43
ephraimbuddy pushed a commit that referenced this pull request Oct 5, 2023
It's been quite some time since we bumped min versions for docker
and docker-compose for Breeze and there are already a few cases where
it held us back from more efficiently using some newer docker or
docker-compose features (for example in #33547). Also docker-compose
v1 is sufficiently old an unmaintained, that it's about time to
get rid of it and ask the users to migrate to docker-compose v2.

The new min versions propose:

* Docker: 23.0.0 released 2023-02-01 (6 months ago)
* Docker Compose 2.14.0 release 2022-12-15 (8 months ago)

Docker v1 is not supported any more and the users are directed
to migrate to v2 to continue using Breeze.

(cherry picked from commit 73a3733)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area:dev-tools use public runners Makes sure that Public runners are used even if commiters creates the PR (useful for testing)
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants