ci: check out by the public Gitea address and run make validate

- github.server_url on this Gitea is the internal http://gitea:3000,
  which the job container cannot resolve: the first run failed at
  checkout; take https://gitea.privcloud.tech literally
- the skeleton contracts.yml fails at actions/checkout for the same
  reason, so the application job also runs make validate
- record the failed first run and the fix in
  evidence/tests/ci-application.md and REPORT.md

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
2026-10-29 18:16:09 +03:00
co-authored by Claude Opus 5.5
parent d947781591
commit 12d8693799
4 changed files with 60 additions and 10 deletions
+11 -4
View File
@@ -160,11 +160,18 @@ Gitea при каждом push в fork. Actions включены в настро
`X-Instance-Id`;
4. `make check`, `make test`;
5. анонимный GET в S3 (список bucket и объектов) — 403;
6. `make student_test` через LB, тесты реплик выполняются;
7. `make test-persistence`;
8. `make test-failover` в режимах `stop` и `kill`, после каждого —
6. `make validate` — то же, что проверял бы `contracts.yml` (ниже);
7. `make student_test` через LB, тесты реплик выполняются;
8. `make test-persistence`;
9. `make test-failover` в режимах `stop` и `kill`, после каждого —
`make replicas`;
9. при любом исходе — уборка стенда, его volumes и образа прогона.
10. при любом исходе — уборка стенда, его volumes и образа прогона.
На этом Gitea `github.server_url` — внутренний адрес `http://gitea:3000`,
и контейнер job его не резолвит. Поэтому checkout job берёт публичный
адрес литералом. `contracts.yml` skeleton на этом раннере падает на
`actions/checkout` с `Could not resolve host: gitea` и до проверок не
доходит. Его `make check` и `make validate` выполняет job `application`.
Раннер (`act_runner`, образ `gitea/runner-images:ubuntu-latest`)
запускает job в контейнере на том же Docker, что и стенд. Поэтому