Checkpoint: Préparation recette-production : manifeste Budget SI aligné avec le registre dashboard, visuel de portail sélectionné, et label Traefik paramétrable par BUDGET_SI_DOMAIN afin que la production réponde sur son URL dédiée. Vérification complète réussie : 60 tests, TypeScript et build.
All checks were successful
Validation applicative / TypeScript, tests et build (push) Successful in 2m22s
All checks were successful
Validation applicative / TypeScript, tests et build (push) Successful in 2m22s
This commit is contained in:
22
server/appManifest.test.ts
Normal file
22
server/appManifest.test.ts
Normal file
@@ -0,0 +1,22 @@
|
||||
import { readFile } from "node:fs/promises";
|
||||
import { resolve } from "node:path";
|
||||
import { describe, expect, it } from "vitest";
|
||||
|
||||
describe("manifeste applicatif Budget SI", () => {
|
||||
it("déclare les environnements, la catégorie et le dépôt Gitea attendus", async () => {
|
||||
const raw = await readFile(resolve(process.cwd(), "app.json"), "utf8");
|
||||
const manifest = JSON.parse(raw) as Record<string, unknown>;
|
||||
|
||||
expect(manifest).toMatchObject({
|
||||
id: "itinova-budget-si",
|
||||
name: "Gestion budget informatique",
|
||||
category: "SANTINOVA",
|
||||
giteaRepo: "manus-admin/itinova-budget-si",
|
||||
image: "images/budget-si.jpg",
|
||||
urls: {
|
||||
recette: "https://budget-si.recette.santinova-soft.org",
|
||||
prod: "https://budget-si.santinova-soft.org",
|
||||
},
|
||||
});
|
||||
});
|
||||
});
|
||||
Reference in New Issue
Block a user