Skip to content

Commit

Permalink
[TASK] Replace docker-compose in runTests.sh
Browse files Browse the repository at this point in the history
runTests.sh uses of docker-compose to run tests.

The patch ditches docker-compose in favor of
direct docker cli commands for the following
reasons:

* runTests.sh is more concise and does not
  need to deal with writing a .env for
  docker-compose anymore.
* Establish a foundation to use podman
  as alternative container runner.
* Ditch the lengthy docker-compose.yml file
  that repeats things over and over again.
* Better control of running containers.
* Allow running multiple runTests.sh instances
  in parallel without disturbing each other by
  establishing unique names for networks and
  containers.
* Minor performance improvements by getting
  rid of the docker-compose python overhead.
* Simplified quoting in scripts.
* Less path headaches.

Resolves: #97566
Releases: main, 12.4, 11.5
Change-Id: I7ae50d1cec4c770b54dc9d4a1053420ad85f5ff0
Reviewed-on: https://review.typo3.org/c/Packages/TYPO3.CMS/+/80126
Tested-by: Christian Kuhn <lolli@schwarzbu.ch>
Reviewed-by: Stefan B�rk <stefan@buerk.tech>
Tested-by: Stefan B�rk <stefan@buerk.tech>
Tested-by: core-ci <typo3@b13.com>
Reviewed-by: Christian Kuhn <lolli@schwarzbu.ch>
  • Loading branch information
ochorocho authored and lolli42 committed Jul 25, 2023
1 parent 21324f2 commit 3999784
Show file tree
Hide file tree
Showing 2 changed files with 319 additions and 1,747 deletions.

0 comments on commit 3999784

Please sign in to comment.