Project

General

Profile

Actions

action #153412

closed

action #152590: [epic] Container refactoring

[refactoring] Migrate docker-compose tests to use docker compose v2

Added by rbranco 6 months ago. Updated 4 months ago.

Status:
Resolved
Priority:
Normal
Assignee:
Target version:
-
Start date:
2024-01-11
Due date:
% Done:

0%

Estimated time:

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 for docker and podman
  • Rename the docker-compose test to compose to avoid some confusion

Further resources

Resources:

Actions #1

Updated by pherranz 6 months ago

  • Assignee changed from rbranco to pherranz

I'll steal this ticket with learning purposes :)

Actions #2

Updated by rbranco 6 months ago

Actions #3

Updated by pherranz 5 months ago

  • Assignee deleted (pherranz)
Actions #4

Updated by rbranco 5 months ago

  • Assignee set to rbranco
Actions #5

Updated by ph03nix 5 months 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.

Actions #6

Updated by ph03nix 5 months ago

  • Subject changed from Migrate docker-compose tests to use docker compose v2 to [refinement] Migrate docker-compose tests to use docker compose v2
Actions #7

Updated by ph03nix 5 months 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
Actions #8

Updated by ph03nix 5 months ago

  • Tags deleted (to-be-refined)
  • Description updated (diff)
  • Status changed from Blocked to Workable
Actions #9

Updated by ph03nix 5 months ago

  • Description updated (diff)
Actions #10

Updated by ph03nix 5 months ago

  • Parent task set to #152590
Actions #11

Updated by ph03nix 5 months 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
Actions #12

Updated by rbranco 5 months ago

  • Assignee set to rbranco
Actions #13

Updated by rbranco 5 months ago ยท Edited

On Tumbleweed we have:
$ docker-compose --version
Docker Compose version 2.24.5

Actions #14

Updated by rbranco 5 months ago

  • Status changed from Workable to In Progress
Actions #16

Updated by rbranco 5 months ago

  • Status changed from In Progress to Resolved
Actions #17

Updated by rbranco 4 months ago

  • Status changed from Resolved to In Progress

Reopening as it fails on MicroOS perhaps due to read-only directory.

Actions #18

Updated by rbranco 4 months ago

Actions #19

Updated by rbranco 4 months ago

  • Status changed from In Progress to Resolved
Actions

Also available in: Atom PDF