From c571e0032e3474cd21e79fc55b54b5cf7b165892 Mon Sep 17 00:00:00 2001 From: Monty Taylor Date: Thu, 2 Apr 2020 09:28:56 -0500 Subject: [PATCH] Run backup in zuul Change-Id: Ie6ef39d0141874570c7e623a1ec1141fa3897b22 --- .zuul.yaml | 13 +++++++++++++ run_all.sh | 4 ---- 2 files changed, 13 insertions(+), 4 deletions(-) diff --git a/.zuul.yaml b/.zuul.yaml index 2c90a0b71e..74788c248d 100644 --- a/.zuul.yaml +++ b/.zuul.yaml @@ -1660,6 +1660,17 @@ - playbooks/roles/static/.* - playbooks/roles/zuul-user/.* +- job: + name: infra-prod-service-backup + parent: infra-prod-service-base + description: Run service-backup.yaml playbook + vars: + playbook_name: service-backup.yaml + files: + - playbooks/service-backup.yaml + - playbooks/roles/backup/.* + - playbooks/roles/backup-server/.* + - job: name: system-config-goaccess-report description: | @@ -2016,6 +2027,7 @@ - infra-prod-service-mirror-update - infra-prod-service-mirror - infra-prod-service-static + - infra-prod-service-backup periodic: jobs: - developer-openstack-goaccess-report @@ -2041,3 +2053,4 @@ - infra-prod-service-mirror-update - infra-prod-service-mirror - infra-prod-service-static + - infra-prod-service-backup diff --git a/run_all.sh b/run_all.sh index b7801f38fe..6718c77a89 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-backup.yaml -send_timer backup - start_timer timeout -k 2m 30m ansible-playbook -f 50 ${ANSIBLE_PLAYBOOKS}/service-registry.yaml send_timer registry