You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
chore(ZMSKVR): update unit tests to run in local web container instead of detecting podman or docker environment (#1710)
* chore(ZMSKVR): simplify test scripts
* chore(ZMSKVR): update documentation
* clean(ZMSKVR-1124): Add validation for required environment variables in test scripts
* clean(ZMSKVR-1124): Use environment variable for MySQL root password instead of hardcoded credential
* docs(ZMSKVR-1124): Clarify PHPUnit filter matches against full namespace path
* clean(ZMSKVR-1124): Update terminology from 'container caches' to 'caches'
* clean(ZMSKVR-1124): Add CACHE_DIR to required environment variable validation
* clean(ZMSKVR-1124): Add warning when fixture copy fails instead of silent suppression
* clean(ZMSKVR-1124): Remove redundant auto_prepend_file directive from importTestData calls
* feat(ZMSKVR-1124): Add rainbow section colors to test scripts
* clean(ZMSKVR-1124): Refactor zmsapiautomation-test to run natively in devcontainer
- Install Java 17 (Temurin), Maven 3.9.6, and Flyway 9.22.3 directly in Containerfile
- Remove podman/docker detection and external container execution from test script
- Add git safe directory configuration to postStartCommand
- Simplify test script from ~690 lines to ~274 lines
* clean(ZMSKVR-1124): Add Java, Maven, and Flyway to DDEV web container
- Create web-build/Dockerfile with Temurin JDK 17, Maven 3.9.6, Flyway 9.22.3
- Add git safe directory configuration to post-start hooks
- Enables zmsapiautomation-test to run natively in DDEV environment
* clean(ZMSKVR-1124): timezone consistency and vendor/bin permissions
- Add OS-level timezone (TZ=Europe/Berlin) to DDEV web-build/Dockerfile
- Add TZ environment variable to DDEV config.yaml
- Fix vendor/bin permissions after composer install in cli script
- Update Maven to 3.9.9 in dev container (fixes 404 on old version)
* clean(ZMSKVR-1124): make DB_HOST configurable via MYSQL_HOST env var
- Use MYSQL_HOST environment variable with 'db' fallback
- Keeps DB_HOST and DB_NAME properly separated
- Addresses CodeRabbit suggestion for consistency
* chore(ZMSKVR-1124): upgrade to Java 21 LTS and add checksum verification
- Upgrade Java 17 → 21 (current LTS, supported until 2031)
- Add SHA512 checksum verification for Maven downloads
- Add SHA1 checksum verification for Flyway downloads
- Update pom.xml compiler target to Java 21
* fix(ZMSKVR-1124): update GitHub Actions to use Java 21 Maven image
- Change maven:3.9-eclipse-temurin-17 → maven:3.9-eclipse-temurin-21
- Matches pom.xml target version after Java 21 upgrade
* fix(ZMSKVR-1124): remove unused MAVEN_SHA512 ARG
- The ARG was never used; actual verification downloads .sha512 from Apache
- Removes confusing placeholder checksum that CodeRabbit flagged
* docs(ZMSKVR-1124): update zmsapiautomation-test documentation
- Clarify that script must be run from inside container
- Update environment configuration for native container execution
- Simplify Maven direct execution examples
* chore(ZMSKVR): upgrade maven and flyway version
* chore(ZMSKVR): upgrade maven and flyway version
* chore(ZMSKVR): upgrade maven and flyway version
* docs(ZMSKVR-1124): add MYSQL_PORT format documentation in test scripts
- Add inline comment explaining MYSQL_PORT format (tcp://host:port or port)
- Clarifies the parameter expansion ${MYSQL_PORT##*:} usage
* docs(ZMSKVR): update test docs
---------
Co-authored-by: ThomasAFink <thomas.fink@muenchen.de>
0 commit comments