Added testservice

This commit is contained in:
2025-04-15 09:37:52 +00:00
parent 83ecc3ec19
commit 9c9d7ed695
5 changed files with 147 additions and 126 deletions

View File

@ -103,6 +103,7 @@ def create_repo(repo, repo_dir, service):
git_repo = Repo(repo_dir)
git_repo.create_remote("origin", repo_url)
git_repo.remotes.origin.fetch()
git_repo.git.branch("-m", "main")
git_repo.git.push("--set-upstream", "origin", "main")
@ -155,9 +156,7 @@ def main():
else:
services = data.services_with_repos()
print(services)
for service in services:
print(service)
process_repositories(args, service)