feat(edge/stacks): use source ID for edge stack git creation [BE-13044] (#2926)

Co-authored-by: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
Chaim Lev-Ari
2026-06-16 17:33:19 +03:00
committed by GitHub
parent 32c6bedb98
commit ee8e73d7f9
12 changed files with 193 additions and 48 deletions
@@ -13,8 +13,10 @@ import { buildUrl } from '../buildUrl';
export type GitRepositoryPayload = {
/** Name of the stack */
name: string;
/** ID of an existing git source to use for credentials/URL. When set, repositoryUrl and auth fields are ignored. */
sourceId?: number;
/** URL of a Git repository hosting the Stack file */
repositoryUrl: string;
repositoryUrl?: string;
/** Reference name of a Git repository hosting the Stack file */
repositoryReferenceName?: string;
/** Use basic authentication to clone the Git repository */