Project

General

Profile

Actions

Bug #98136

closed

Docker-compose in runTests.sh

Added by Mordamir almost 2 years ago. Updated 10 months ago.

Status:
Closed
Priority:
Should have
Assignee:
-
Category:
Tests
Target version:
-
Start date:
2022-08-12
Due date:
% Done:

0%

Estimated time:
TYPO3 Version:
11
PHP Version:
8.0
Tags:
Complexity:
Is Regression:
Sprint Focus:

Description

I cant run

Build/Scripts/runTests.sh -s composerInstall

command.
Build/Scripts/runTests.sh: Zeile 299: type: docker-compose: Nicht gefunden.
This script relies on docker and docker-compose. Please install

The reason here is not that docker compose isn't installed, its that in newer docker versions compose is installed as plugin to docker, so the command is now "docker compose" instead of "docker-compose".

Workaround:
Install https://github.com/docker/compose-switch

Expected:
The runTests.sh script should handle both versions.


Related issues 1 (0 open1 closed)

Related to TYPO3 Core - Feature #97566: Remove docker-compose in runTests.shClosed2022-05-06

Actions
Actions #1

Updated by Stefan Bürk almost 2 years ago

Current state of runTests.sh relies on the dedicated/standalone docker-compose script (not the docker compose plugin). Currently this is a requirement.
Until last week it was required to have docker-compose v1, we just lifted that slightly, We want to avoid huge detection - and already have another plan for this.

The plan is to move away from docker-compose to docker as a first step, there has been first work on it. We may finish this sometimes soon.
The second step will be to move from "docker" to "podman".

Actions #2

Updated by Christian Kuhn 10 months ago

  • Related to Feature #97566: Remove docker-compose in runTests.sh added
Actions #3

Updated by Christian Kuhn 10 months ago

  • Status changed from New to Closed

Resolved with #97566

Actions

Also available in: Atom PDF