- ci-engine.yml: 2 dummy test stepiä + agnostinen publish-stage (skannaa .meta-tiedostot, PATCH raportit, postaa status + linkki) - publish-git-pages.sh: palauta BASE URL (ilman index.html) - .meta-formaatti: lisää context, description, state kentät
This commit is contained in:
@@ -39,23 +39,24 @@ TLS-rajaukset ovat Kubernetes-kerroksessa (Traefik, cert-manager, Secretit).
|
||||
|
||||
## URL ja sisältö
|
||||
|
||||
Julkinen osoite = **selvä URL** + **Gitea-yhteensopiva polku**:
|
||||
Julkinen osoite peilaa suoraan Gitean commit-polun rakennetta, lisäten raportin nimen:
|
||||
|
||||
```
|
||||
https://pages.example.com/acme-corp/backend-api/reports/abc12345/index.html
|
||||
└─ selvä URL ─┘ └────────── Gitea-yhteensopiva polku ──────────┘
|
||||
https://ci-reports.helm-dev.keskikuja.site/niko/gitea-ci-library/commit/14cf2eaeed8a4033bc37c52b0b4c29f25b253ceb/cucumber/index.html
|
||||
└────────────── selvä URL ──────────────┘ └──────────────────────── Gitea-yhteensopiva polku ────────────────────────┘
|
||||
```
|
||||
|
||||
Levyllä (apex index-site):
|
||||
Levyllä (apex index-site) polku vastaa URL:ia:
|
||||
|
||||
```
|
||||
/app/data/
|
||||
{owner}/
|
||||
{repo}/
|
||||
reports/
|
||||
{sha8}/
|
||||
index.html
|
||||
.meta # branch, sha, published_at
|
||||
commit/
|
||||
{sha}/
|
||||
{raportin-nimi}/
|
||||
index.html
|
||||
.meta # branch, sha, published_at
|
||||
```
|
||||
|
||||
Apex-juuri `/` on tyhjä — ei landing-sivua.
|
||||
|
||||
Reference in New Issue
Block a user