CI: Increase job run attempts

Attempts affect pre failures.  This means we can increase stability of
jobs by rejecting nodes that fail pre without failing runs at the same
time (unless we are really unlucky and hit b0rken nodes 5 times in a
row).

This change is adapted from I17b7f878c742fa8db66f738526855a02ab9f1905 in
kolla-ansible.

Change-Id: I010b2fdd7c39e3314a9e1c59072d877f635f7522
This commit is contained in:
Mark Goddard 2019-10-21 15:53:05 +01:00
parent a3d3649c5e
commit 4e89518d0c

@ -48,7 +48,7 @@
Base job for all deployment jobs.
pre-run: playbooks/kayobe-base/pre.yml
post-run: playbooks/kayobe-base/post.yml
attempts: 1
attempts: 5
required-projects:
# Include kayobe to ensure other projects can use this job.
- name: openstack/kayobe
@ -103,6 +103,9 @@
pre-run: playbooks/kayobe-overcloud-upgrade-base/pre.yml
run: playbooks/kayobe-overcloud-upgrade-base/run.yml
timeout: 9000
# Use fewer attempts for upgrades, since pre.yml includes deployment of the
# previous release which takes a considerable amount of time.
attempts: 3
- job:
name: kayobe-overcloud-upgrade-centos
@ -136,6 +139,9 @@
pre-run: playbooks/kayobe-seed-upgrade-base/pre.yml
run: playbooks/kayobe-seed-upgrade-base/run.yml
timeout: 5400
# Use fewer attempts for upgrades, since pre.yml includes deployment of the
# previous release which takes a considerable amount of time.
attempts: 3
- job:
name: kayobe-seed-upgrade-centos