system-config/playbooks/roles/gitea-git-repos
Clark Boylan 16a4bdce02 Don't always update gitea project descriptions
There is some correlation that running the manage-projects playbook
gives our gitea fits. The bulk of the work done here is in trying to
update the descriptions of all projects. There isn't a good way to see
if the description is already set first so we just try and ignore
errors. This creates potentially thousands of operations all at once and
could be why things are sad.

We move these operations under the always update flag which is not set
on normal runs. If we really need to converge to a good updated state we
can manually run the playbook/role with always update set.

We also don't set a limit on the number of ThreadPoolExecutor workers
which will default to 5 * NumProcs. Could be that tuning this down would
make gitea happier.

One other thought is that we may not be using request sessions properly
for connection reuse. In particular requests notes that you need to set
stream to False or read request content to return a connection back to
the pool for reuse. We might look into this for further improvements.

Change-Id: I6e6fb1eb08303e9da7e38cf493d1871364340000
2021-03-16 13:06:16 -07:00
..
defaults Add utility playbook for fixing gitea project settings 2019-03-04 16:06:49 +00:00
library Don't always update gitea project descriptions 2021-03-16 13:06:16 -07:00
tasks Use project-config from zuul instead of direct clones 2020-04-15 12:29:33 -05:00
README.rst Don't always update gitea project descriptions 2021-03-16 13:06:16 -07:00

Create git repos on a gitea server

Role Variables