Previously we set strategy: free and max_fail_percentage: 1 and this
probably made sense when we were using native ansible to do all of the
work to create projects. That was slow and broken down into many tasks.
Now however, we have a single task that calls out to a python module
that does all the work for each gitea host. That means we won't get any
additional parallelization from the free strategy. We also don't want to
stop the python module on all hosts if any of them fail, instead let
them all run to completion if they can. Then if any giteas fail we
should skip the play on review.
Change-Id: I1548e7946526b683d71fe4e905faabd1049f186c
As part of OpenDev rename, a lot of links were changed.
A couple of URLs point to old locations, update them.
This list was done while grepping for "openstack-infra" and fixing
locations that are wrong.
Change-Id: I313d76284bb549f1b2c636ce17fa662c233c0af9
Sadly, as readable as the use of the uri module to do the interactions
with gitea is, more reent ansible changed how subprocesses are forked
and this makes iterating over all the projects in projects.yaml take
an incredibly long amount of time.
Instead of doing it in yaml, make a python module that takes the list
one time and does looping and requests calls. This should make it be
possible to run the actual gitea creation playbook in integration tests.
Change-Id: Ifff3291c1092e6df09ae339c9e7dddb5ee692685
We normally only do project settings when we create the project.
Add a playbook we can use to do a manual sync from project-config.
Change-Id: I5260f2de697420a01d796acc3128be00705a53ee