feat: migrate jd01 hwlab ci to gitea pac

This commit is contained in:
Codex
2026-07-05 23:55:43 +00:00
parent c20227b2cf
commit 344be2cd53
13 changed files with 365 additions and 46 deletions
@@ -298,8 +298,9 @@ export interface ControlPlaneTargetSpec {
repository: string;
branch: string;
sourceAuthority: {
mode: "gitMirrorSnapshot";
resolver: "k8s-git-mirror";
mode: "gitMirrorSnapshot" | "giteaSnapshot";
resolver: "k8s-git-mirror" | "gitea-mirror";
giteaMirrorRepoKey?: string;
allowHostGit: false;
allowHostWorkspace: false;
allowGithubDirectInPipeline: false;
@@ -307,7 +308,7 @@ export interface ControlPlaneTargetSpec {
sourceSnapshot: {
stageRefPrefix: string;
missingObjectPolicy: "fail-fast";
refreshPolicy: "sync-before-snapshot";
refreshPolicy: "sync-before-snapshot" | "gitea-controlled-snapshot";
};
};
gitops: { branch: string; path: string };