Skip to content
Snippets Groups Projects
Commit 0b6234dc authored by Christian Kuhn's avatar Christian Kuhn
Browse files

[TASK] Prepare runTests.sh to flexible container bin

As a preparation towards podman as container
executor next to docker, runTests.sh is refactored
a bit:

* Image names now always have a host prefix like
  docker.io/ or ghcr.io/, except on CI, which will
  change later, too. podman needs those prefixes and
  does not fall back to docker.io if it's missing:
  "redis:latest" -> "docker.io/redis:latest"
* Image names are now put into variables.
* Rename "docker" to "container" in variables.
* Have a variable for the container binary, set to
  "docker" for now.
* Change the cleanUp() function slightly, it will
  later work with both docker and podman this way.

Resolves: #101470
Related: #97566
Releases: main, 12.4, 11.5
Change-Id: Ifab85468dff5c21564611a45568d11e8559e155c
Reviewed-on: https://review.typo3.org/c/Packages/TYPO3.CMS/+/80202


Tested-by: default avatarcore-ci <typo3@b13.com>
Tested-by: default avatarChristian Kuhn <lolli@schwarzbu.ch>
Reviewed-by: default avatarChristian Kuhn <lolli@schwarzbu.ch>
parent db776340
Branches
Tags
No related merge requests found
This diff is collapsed.
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment