Skip to content

Commit

Permalink
feat: support vcs provider
Browse files Browse the repository at this point in the history
  • Loading branch information
Apollorion committed Jan 28, 2025
1 parent 34db14f commit 481d2ba
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion spacemk/commands/update_vcs_config.py
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ def update_vcs_config(vcs_config_file_path: str):
"branch": stack_vcs_config.get("Branch"),
"namespace": stack_vcs_config.get("Namespace"),
"project_root": project_root,
"provider": "azure_devops",
"provider": stack_vcs_config.get("VCSProvider"),
"repository": stack_vcs_config.get("RepoName"),
}
)
Expand Down
4 changes: 2 additions & 2 deletions vcs_config.csv
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
WorkspaceName,ProjectRoot,Branch,Namespace,RepoName
my-amazing-workspace-three,path/to/your/project/root,main,your-amazing-github-org-name,your-amazing-repo-name
WorkspaceName,ProjectRoot,Branch,Namespace,RepoName,VCSProvider
my-amazing-workspace-three,path/to/your/project/root,main,your-amazing-github-org-name,your-amazing-repo-name,github-or-azure_devops-or-bitbucket

0 comments on commit 481d2ba

Please sign in to comment.