chore: build
ci-api / test (push) Successful in 23m50s
ci-web / test (push) Successful in 13m43s

This commit is contained in:
Xor290
2026-10-04 12:52:16 +02:00
parent 8d857faa45
commit 4bb8c143e2
29 changed files with 2256 additions and 1561 deletions
@@ -1,6 +1,7 @@
package demos
import (
"fmt"
"os"
"os/exec"
"path/filepath"
@@ -64,9 +65,16 @@ func TestVitrineValuesRenderWithCharts(t *testing.T) {
"name: " + vitrineFrontendService(p.Namespace) + "\n",
"tls: {}", // certificat servi par le TLSStore, pas par projet
}},
// Domaine personnalisé : servi EN PLUS de l'hôte par défaut, sur les
// trois routes (API, médias, frontend).
{"ingressroute", h.buildVitrineIngressRouteValues(p, "boutique.client.fr"), []string{
"(Host(`vitrine-ab12cd34.vitrine-omnex.club`) || Host(`boutique.client.fr`)) && PathPrefix(`/api/`)",
"(Host(`vitrine-ab12cd34.vitrine-omnex.club`) || Host(`boutique.client.fr`)) && PathPrefix(`/uploads/`)",
"match: Host(`vitrine-ab12cd34.vitrine-omnex.club`) || Host(`boutique.client.fr`)\n",
}},
}
for _, c := range cases {
t.Run(c.chart, func(t *testing.T) {
for i, c := range cases {
t.Run(fmt.Sprintf("%s-%d", c.chart, i), func(t *testing.T) {
raw, err := yaml.Marshal(c.values)
if err != nil {
t.Fatal(err)