The addition of ACLs to zuul/main.yaml broke the naive parsing done
by the maintain-github-mirror playbook, as it assumed all list items
were tenant definitions. Add a conditional check to allow it to skip
past any which aren't.
Change-Id: I31ab916a17fd116f00e94ea7bfa4d7243c0e1c2c
Following the deletion of the foundation-board-repos.yaml file,
the script failed as it was expecting it.
Remove that file from the scanned list, and make the script more
resilient in case other extra files go missing in the future (like
user-committee.yaml which should soon be cleaned up).
Change-Id: I83cff14f19a829b5e56771442ffb3a0341e82d69
Opendev no longer automatically creates repositories on the
GitHub mirror, nor does it update descriptions or closes open PRs.
Add a playbook and a job for periodically maintaining the GitHub
mirror for the 'openstack' organization:
- updating descriptions based on Gerrit project descriptions
- creating on GitHub newly-added openstack repositories
- archiving from GitHub recently-retired openstack repositories
- closing any open PR with a healpful message
This job makes use of a GitHub API token (from the openstack-mirroring
user) and is defined to run periodically on project-config.
Change-Id: Ic02f436eb655dcbe84824b304ea2933e16312e67