Add semaphore to publish-tox-docs-releases job

This job fails occasionally when we process several release patches at
the same time due to the shared AFS space. This adds a semaphore to
serialize these operations to avoid conflicts since this is a fairly
quick job.

Change-Id: I2c627c38ab87ed4f12fe8ffccd02ad325efe6dcf
Signed-off-by: Sean McGinnis <sean.mcginnis@gmail.com>
This commit is contained in:
Sean McGinnis 2020-04-30 13:21:42 -05:00
parent ff664ae2cc
commit 1787a52034
No known key found for this signature in database
GPG Key ID: CE7EE4BFAF8D70C8
1 changed files with 7 additions and 0 deletions

View File

@ -398,6 +398,12 @@
tox_envlist: ical
zuul_work_dir: src/opendev.org/opendev/irc-meetings
# AFS sync issues happen when multiple publish jobs run at the same time
# so we make it synchronous to avoid job failures
- semaphore:
name: publish-release-docs
max: 1
- job:
name: publish-tox-docs-releases
description: |
@ -414,6 +420,7 @@
- playbooks/project-config/post-tox.yaml
- playbooks/sphinx/post-infra.yaml
- playbooks/publish/releases-afs.yaml
semaphore: publish-release-docs
allowed-projects:
- openstack/releases
required-projects: