From 5d4c597fa878aeb4f7594ddd3e2a4a4b4c017cf2 Mon Sep 17 00:00:00 2001 From: Monty Taylor Date: Mon, 30 Mar 2020 08:42:22 -0500 Subject: [PATCH] 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 --- .zuul.yaml | 10 ++++++++++ run_all.sh | 4 ---- 2 files changed, 10 insertions(+), 4 deletions(-) diff --git a/.zuul.yaml b/.zuul.yaml index bb58ba1e13..f69ed130d9 100644 --- a/.zuul.yaml +++ b/.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: | diff --git a/run_all.sh b/run_all.sh index 9e726efd80..5e0b62b462 100755 --- a/run_all.sh +++ b/run_all.sh @@ -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