Skip to content

Commit

Permalink
[TASK] Streamline Build/Scripts/runTests.sh (#101)
Browse files Browse the repository at this point in the history
Following the scheme provided by @sbuerk

This change modifies the `Build/Scripts/runTests.sh`
execution wrapper to be in line with current TYPO3
core implementation.

This contains following tasks:

* Modify `Build/Scripts/runTests.sh`:
    * `-b <container-binary>` switch to determine which
      container binary should be used.
    * Remove the usage of `docker-compose.yml` file and
      usage by replacing container execution call with
      docker or podman binary calls.
    * Include `bash trap` logic for container/network
      cleanup on abort signals.
    * Keep core `xdebug` flag ability, albeit not used
      currently due to not having tests included.
* Refactor suit command execution without docker-compose.
* Remove `Build/testing-docker/docker-compose.yml` due
  to being obsolete now.
* Add composer related temporary files to `.gitignore`.
* Add documentation rendering and test rendering to the
  `runTests.sh`.
  • Loading branch information
linawolf committed May 7, 2024
1 parent 8113586 commit 768e830
Show file tree
Hide file tree
Showing 4 changed files with 256 additions and 176 deletions.
6 changes: 3 additions & 3 deletions .ddev/.gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -34,8 +34,8 @@
/providers/upsun.yaml
/sequelpro.spf
/settings/settings.ddev.py
/traefik/config/ddev-test.yaml
/traefik/certs/ddev-test.crt
/traefik/certs/ddev-test.key
/traefik/config/reference-tsconfig.yaml
/traefik/certs/reference-tsconfig.crt
/traefik/certs/reference-tsconfig.key
/xhprof/xhprof_prepend.php
/**/README.*
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -33,3 +33,4 @@ nbproject
Thumbs.db
var/
.cache/
/composer.json.testing
Loading

0 comments on commit 768e830

Please sign in to comment.