feat(P05): ship infrastructure — Gitea API client, release notes, npm publishConfig, ciagent projects cmd, --project flag
---ci--- phase: 5 milestone: v1.0 plan: 05 task: SHIP-01-04 MULTI-01 MULTI-02 status: execute ---/ci---
This commit is contained in:
@@ -66,6 +66,13 @@ export interface GitConfig {
|
||||
auto_push: boolean;
|
||||
}
|
||||
|
||||
export interface GiteaConfig {
|
||||
base_url: string;
|
||||
api_token_env: string;
|
||||
owner: string;
|
||||
repo: string;
|
||||
}
|
||||
|
||||
export interface ProjectEntry {
|
||||
slug: string;
|
||||
name: string;
|
||||
@@ -82,6 +89,7 @@ export interface CIAgentConfig {
|
||||
security: SecurityConfig;
|
||||
git: GitConfig;
|
||||
backend: BackendConfigSection;
|
||||
gitea?: GiteaConfig;
|
||||
}
|
||||
|
||||
export const DEFAULT_CIAGENT_CONFIG: CIAgentConfig = {
|
||||
@@ -136,4 +144,10 @@ export const DEFAULT_CIAGENT_CONFIG: CIAgentConfig = {
|
||||
},
|
||||
},
|
||||
},
|
||||
gitea: {
|
||||
base_url: "https://git.cloudinit.dev",
|
||||
api_token_env: "GITEA_TOKEN",
|
||||
owner: "",
|
||||
repo: "",
|
||||
},
|
||||
};
|
||||
Reference in New Issue
Block a user