Commit a43ca2a9 authored by Henrik Skov Midtiby's avatar Henrik Skov Midtiby

Disable the auto_dev_ops pipeline when creating a new project.

parent f337a431
......@@ -68,7 +68,7 @@ class GitlabClassHelper:
"""
Create a remote 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 = requests.post(url, headers=self.headers)
if resp.ok:
print('Created project "%s" in "%s".' % (repo_name, group_name))
......
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