action #153412
closedaction #152590: [containers][epic] Container refactoring
[refactoring] Migrate docker-compose tests to use docker compose v2
0%
Description
Background¶
The Python based docker-compose was deprecated upstream in July and was never supported in SLES. Now docker-suppose
is in version 2 and based on go
- https://github.com/docker/compose
This new docker-compose
will be part of SLE Micro 6.0 and should be tested - First on Tumbleweed/MicroOS and then on SLEM 6.0 (Factory first).
docker-compose
supports docker
and podman
, so we need to test it against both backends. This tool is called via docker compose
or podman compose
. Don't get confused by the name - podman compose
calls docker-compose
.
To counter some of the confusion, it can be that the package will be renamed to compose
in the future.
Action items¶
- Disable/remove the old tests for
docker-compose
which are not supported. They are dead weight, that we don't want to have when starting to work on the new ones - Check what the status of
docker-compose
is in Tumbleweed. If this is v2 already, then we can start to upgrade the existing test module. Otherwise we need to wait - Given that the old
docker-compose
was never supported, we can start directly in upgrading the existing test module to the new v2 - Upgrade the old test runs to use the v2 of
docker-compose
- Run the
docker-compose
test fordocker
andpodman
- Rename the
docker-compose
test tocompose
to avoid some confusion
Further resources¶
Resources:
- https://docs.docker.com/compose/migrate/
- https://www.redhat.com/sysadmin/podman-docker-compose
- Relevant packages:
docker-compose
Updated by pherranz over 1 year ago
- Assignee changed from rbranco to pherranz
I'll steal this ticket with learning purposes :)
Updated by rbranco over 1 year ago
This ticket supersedes https://progress.opensuse.org/issues/153412
Updated by ph03nix over 1 year ago
- Tags set to to-be-refined
- Status changed from Workable to New
- Assignee deleted (
rbranco)
This topic needs a discussion, putting it on hold for now and marking it as to-be-refined.
We need to clarify, which package needs to be tested on which platforms.
Updated by ph03nix over 1 year ago
- Subject changed from Migrate docker-compose tests to use docker compose v2 to [refinement] Migrate docker-compose tests to use docker compose v2
Updated by ph03nix over 1 year ago
- Subject changed from [refinement] Migrate docker-compose tests to use docker compose v2 to Migrate docker-compose tests to use docker compose v2
- Status changed from New to Blocked
Updated by ph03nix about 1 year ago
- Tags deleted (
to-be-refined) - Description updated (diff)
- Status changed from Blocked to Workable
Updated by ph03nix about 1 year ago
- Tags set to refactoring
- Subject changed from Migrate docker-compose tests to use docker compose v2 to [refactoring] Migrate docker-compose tests to use docker compose v2
Updated by rbranco about 1 year ago ยท Edited
On Tumbleweed we have:
$ docker-compose --version
Docker Compose version 2.24.5
Updated by rbranco about 1 year ago
- Status changed from Workable to In Progress
Updated by rbranco about 1 year ago
Updated by rbranco about 1 year ago
- Status changed from In Progress to Resolved
Updated by rbranco about 1 year ago
- Status changed from Resolved to In Progress
Reopening as it fails on MicroOS perhaps due to read-only directory.
Updated by rbranco about 1 year ago
Restrict compose test to x86_64 & aarch64
https://github.com/os-autoinst/os-autoinst-distri-opensuse/pull/18689
Skip trup_call if packages are installed
https://github.com/os-autoinst/os-autoinst-distri-opensuse/pull/18688
Updated by rbranco about 1 year ago
- Status changed from In Progress to Resolved