upload
CI/CD (dev on branch, prod on tag) / build-and-deploy (push) Successful in 20m35s

This commit is contained in:
Tom Chien (IQ-AS)
2026-11-18 14:26:36 +08:00
parent 3894a995d7
commit 1988c635fe
34 changed files with 8414 additions and 0 deletions
+62
View File
@@ -0,0 +1,62 @@
/**
* All editable copy for the portal lives here, so nothing else needs touching
* when you fill in the TBD placeholders.
*/
// Only port 80 is exposed by the host Nginx, so the lab links default to
// plain http. Switch to "https" once TLS is terminated on the Mac mini.
const SCHEME = "http";
export const profile = {
name: "Tom Chien",
};
/** One string per paragraph. Replace "TBD" with the ~200 word introduction. */
export const introduction: string[] = ["TBD"];
export type Credentials = { user: string; password: string };
export type LabService = {
id: "it-cost-prod" | "harbor" | "gitea";
name: string;
description: string;
host: string;
url: string;
} & Credentials;
export const labServices: LabService[] = [
{
id: "it-cost-prod",
name: "IT Cost Dashboard",
description: "Production environment of the IT cost dashboard app.",
host: "it-cost-prod.tomchien.com",
url: `${SCHEME}://it-cost-prod.tomchien.com`,
user: "TBD",
password: "TBD",
},
{
id: "harbor",
name: "Harbor",
description: "Container registry that stores every image the pipeline builds.",
host: "harbor.tomchien.com",
url: `${SCHEME}://harbor.tomchien.com`,
user: "TBD",
password: "TBD",
},
{
id: "gitea",
name: "Gitea",
description: "Git hosting and Actions CI/CD that drives every deployment.",
host: "gitea.tomchien.com",
url: `${SCHEME}://gitea.tomchien.com`,
user: "TBD",
password: "TBD",
},
];
export const travel = {
host: "tomchien.com/travelmap",
url: `${SCHEME}://tomchien.com/travelmap`,
user: "TBD",
password: "TBD",
} satisfies Credentials & { host: string; url: string };