Commit 8bea42cc authored by Henrik Dyrberg Egemose's avatar Henrik Dyrberg Egemose
Browse files

disable auto devops pipeline when creating repos

parent faa4045f
......@@ -59,7 +59,7 @@ class GitlabClassHelper:
Create a repository in the group with id
url = self.path + '/projects?name=%s&namespace_id=%d' % (repo_name, group_id)
url = self.path + '/projects?name=%s&namespace_id=%d&auto_devops_enabled=false' % (repo_name, group_id)
resp =, headers=self.headers)
if resp.ok:
print('Created project "%s" in "%s".' % (repo_name, group_name))
......@@ -231,5 +231,3 @@ class GitlabClassHelper:
path_to_repo = os.path.join(local_path, repo)
self.push_git_repository_content_to_project(path_to_repo, repo_id)
print('Pushed the repository "%s" to "%s"' % (path_to_repo, repo))
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment