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:
parent
179d1a2516
commit
5d4c597fa8
10
.zuul.yaml
10
.zuul.yaml
@ -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: |
|
||||
|
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user