Skip to content
Snippets Groups Projects
Commit 4e89518d authored by Mark Goddard's avatar Mark Goddard
Browse files

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
parent a3d3649c
No related branches found
No related tags found
No related merge requests found
...@@ -48,7 +48,7 @@ ...@@ -48,7 +48,7 @@
Base job for all deployment jobs. Base job for all deployment jobs.
pre-run: playbooks/kayobe-base/pre.yml pre-run: playbooks/kayobe-base/pre.yml
post-run: playbooks/kayobe-base/post.yml post-run: playbooks/kayobe-base/post.yml
attempts: 1 attempts: 5
required-projects: required-projects:
# Include kayobe to ensure other projects can use this job. # Include kayobe to ensure other projects can use this job.
- name: openstack/kayobe - name: openstack/kayobe
...@@ -103,6 +103,9 @@ ...@@ -103,6 +103,9 @@
pre-run: playbooks/kayobe-overcloud-upgrade-base/pre.yml pre-run: playbooks/kayobe-overcloud-upgrade-base/pre.yml
run: playbooks/kayobe-overcloud-upgrade-base/run.yml run: playbooks/kayobe-overcloud-upgrade-base/run.yml
timeout: 9000 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: - job:
name: kayobe-overcloud-upgrade-centos name: kayobe-overcloud-upgrade-centos
...@@ -136,6 +139,9 @@ ...@@ -136,6 +139,9 @@
pre-run: playbooks/kayobe-seed-upgrade-base/pre.yml pre-run: playbooks/kayobe-seed-upgrade-base/pre.yml
run: playbooks/kayobe-seed-upgrade-base/run.yml run: playbooks/kayobe-seed-upgrade-base/run.yml
timeout: 5400 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: - job:
name: kayobe-seed-upgrade-centos name: kayobe-seed-upgrade-centos
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment