5 Commits

Author SHA1 Message Date
Jeremy Stanley
3c9b1c3bf1 Read tenant config with care in github_manager
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
2022-02-15 20:24:24 +00:00
Zuul
affb60c564 Merge "Updates Message on PR Close" 2020-09-02 22:49:35 +00:00
Kendall Nelson
f493ac98b8 Updates Message on PR Close
Points to contributor guide instead of infra manual and mentions
the First Contact SIG.

Change-Id: Id06f5c36ee3688936d73f00520590198461514fc
2020-09-01 16:44:02 -07:00
Thierry Carrez
0f12fa2d5a [maintain-github-mirror] Skip abandoned gov files
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
2020-08-10 11:13:15 +02:00
Thierry Carrez
0197d9f92a Define maintain-github-openstack-mirror job
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
2020-07-08 15:42:06 +02:00