Add job to run manage-projects in zuul

Instead of running via cron, we have a self-contained playbook.
Let's run in zuul instead.

Change-Id: I0dd4d3ac050d04a8ce7a39fb2e5599b64417e12e
This commit is contained in:
Monty Taylor 2020-03-30 08:42:22 -05:00
parent 179d1a2516
commit 5d4c597fa8
2 changed files with 10 additions and 4 deletions

View File

@ -1423,6 +1423,16 @@
vars:
playbook_name: zuul_reconfigure.yaml
- job:
name: infra-prod-manage-projects
parent: infra-prod-playbook
description: |
Create and update projects in gerrit and gitea.
vars:
playbook_name: manage-projects.yaml
infra_prod_playbook_collect_log: false
ansible_forks: 50
- job:
name: system-config-goaccess-report
description: |

View File

@ -149,10 +149,6 @@ start_timer
timeout -k 2m 30m ansible-playbook -f 50 ${ANSIBLE_PLAYBOOKS}/service-gitea.yaml
send_timer nodepool
start_timer
timeout -k 2m 30m ansible-playbook -f 50 ${ANSIBLE_PLAYBOOKS}/manage-projects.yaml
send_timer manage-projects
# Run AFS changes separately so we can make sure to only do one at a time
# (turns out quorum is nice to have)
start_timer