From 15ec6bada4226c07be655785bfa39bf8f06e53ba Mon Sep 17 00:00:00 2001 From: Monty Taylor Date: Thu, 2 Apr 2020 09:14:35 -0500 Subject: [PATCH] Run mirror in zuul Change-Id: I8088090d9468c24653793a5f4bf64d9369e98033 --- .zuul.yaml | 15 +++++++++++++++ run_all.sh | 4 ---- 2 files changed, 15 insertions(+), 4 deletions(-) diff --git a/.zuul.yaml b/.zuul.yaml index f9f56b1661..2b78e13347 100644 --- a/.zuul.yaml +++ b/.zuul.yaml @@ -1625,6 +1625,19 @@ - playbooks/roles/openafs-client/.* - playbooks/roles/mirror-update/.* +- job: + name: infra-prod-service-mirror + parent: infra-prod-service-base + description: Run service-mirror.yaml playbook + vars: + playbook_name: service-mirror.yaml + files: + - playbooks/service-mirror.yaml + - playbooks/group_vars/mirror_opendev.yaml + - playbooks/roles/kerberos-client/.* + - playbooks/roles/openafs-client/.* + - playbooks/roles/mirror/.* + - job: name: system-config-goaccess-report description: | @@ -1979,6 +1992,7 @@ - infra-prod-service-nodepool - infra-prod-service-meetpad - infra-prod-service-mirror-update + - infra-prod-service-mirror periodic: jobs: - developer-openstack-goaccess-report @@ -2002,3 +2016,4 @@ - infra-prod-service-nodepool - infra-prod-service-meetpad - infra-prod-service-mirror-update + - infra-prod-service-mirror diff --git a/run_all.sh b/run_all.sh index 62705b865c..dcbfae0c10 100755 --- a/run_all.sh +++ b/run_all.sh @@ -72,10 +72,6 @@ set +e # Run all the ansible playbooks under timeout to prevent them from getting # stuck if they are oomkilled -start_timer -timeout -k 2m 30m ansible-playbook -f 50 ${ANSIBLE_PLAYBOOKS}/service-mirror.yaml -send_timer mirror - start_timer timeout -k 2m 30m ansible-playbook -f 50 ${ANSIBLE_PLAYBOOKS}/service-static.yaml send_timer static