mirror of
https://github.com/ansible/awx.git
synced 2026-03-05 10:41:05 -03:30
Removed git configuration from org count projects
Avoids unnecessary cloning of said git repo, runs in 4 seconds now instead of 50 seconds
This commit is contained in:
@@ -19,9 +19,7 @@ def organization_resource_creator(organization, user):
|
|||||||
inventory = organization.inventories.create(name="associated-inv %s" % i)
|
inventory = organization.inventories.create(name="associated-inv %s" % i)
|
||||||
for i in range(projects):
|
for i in range(projects):
|
||||||
organization.projects.create(name="test-proj %s" % i,
|
organization.projects.create(name="test-proj %s" % i,
|
||||||
description="test-proj-desc",
|
description="test-proj-desc")
|
||||||
scm_type="git",
|
|
||||||
scm_url="https://github.com/jlaska/ansible-playbooks")
|
|
||||||
# Mix up the inventories and projects used by the job templates
|
# Mix up the inventories and projects used by the job templates
|
||||||
i_proj = 0
|
i_proj = 0
|
||||||
i_inv = 0
|
i_inv = 0
|
||||||
|
|||||||
Reference in New Issue
Block a user