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 rbranco 11 months ago
This ticket supersedes https://progress.opensuse.org/issues/153412
Updated by rbranco 10 months 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 ph03nix about 2 months ago
- Tags changed from refactoring to containers