fix(ci): gate images behind verified Testcontainers
Verify / verify (push) Successful in 8m52s

This commit is contained in:
sechmachine
2026-08-15 23:21:23 +07:00
parent 7a6139017f
commit d13443e338
7 changed files with 233 additions and 30 deletions
+7 -2
View File
@@ -223,8 +223,9 @@ claim never replaces a test command and result.
Gitea runs the frontend tests/build, complete Maven/PostgreSQL suite, Javadoc,
generated-asset check, and whitespace check for every pull request and push.
The separate container workflow builds the production Dockerfile without
publishing pull-request or work-branch images. Only `main` publishes.
The separate container workflow runs only when manually dispatched or when
`main` is pushed. It repeats the verification job before building either image.
Manual runs do not publish; only a push to `main` publishes.
Run focused and affected tests locally before pushing. CI is the shared
confirmation, not a substitute for local RED and GREEN evidence.
@@ -236,6 +237,10 @@ confirmation, not a substitute for local RED and GREEN evidence.
Start Docker Desktop or OrbStack. Run `docker version`. OrbStack users should
also check the `DOCKER_HOST` command shown in Section 1.
The Gitea Docker runner exposes the daemon through Docker Desktop, so its jobs
set `TESTCONTAINERS_HOST_OVERRIDE=host.docker.internal`. Keep that override if
the runner stays containerized; otherwise Ryuk may try an unreachable bridge IP.
### The wrong Java version is used
Run `java -version` and `./mvnw -version`. Both should report Java 25. Set