fix: type AgentRun git mirror repository specs
This commit is contained in:
+10
-2
@@ -23,11 +23,19 @@ const gitMirrorWriteUrl = `${gitMirrorWriteBaseUrl}/pikasTech/agentrun.git`;
|
||||
const gitMirrorSyncJobPrefix = "git-mirror-agentrun-sync-manual";
|
||||
const gitMirrorFlushJobPrefix = "git-mirror-agentrun-flush-manual";
|
||||
const mirrorToolsImage = "127.0.0.1:5000/hwlab/hwlab-ci-node-tools:node22-alpine-bun-v1";
|
||||
const gitMirrorRepositories = [
|
||||
|
||||
type GitMirrorRepositorySpec = {
|
||||
key: string;
|
||||
repository: string;
|
||||
sourceBranch: string;
|
||||
gitopsBranch?: string;
|
||||
};
|
||||
|
||||
const gitMirrorRepositories: readonly GitMirrorRepositorySpec[] = [
|
||||
{ key: "agentrun", repository: "pikasTech/agentrun", sourceBranch, gitopsBranch },
|
||||
{ key: "unidesk", repository: "pikasTech/unidesk", sourceBranch: "master" },
|
||||
{ key: "agent_skills", repository: "pikasTech/agent_skills", sourceBranch: "master" },
|
||||
] as const;
|
||||
];
|
||||
|
||||
export function agentRunHelp(): unknown {
|
||||
return {
|
||||
|
||||
Reference in New Issue
Block a user