commit 4ed6af9f3b654f872f42fa5d16a593392185bba3 Author: Sean McGinnis Date: Wed Oct 7 11:15:20 2020 -0500 Add semaphore to publish-openstack-releasenotes-python3 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: I049ed49b1fe6a4359e4931b69cb0d29be751cdd5 Signed-off-by: Sean McGinnis diff --git a/zuul.d/jobs.yaml b/zuul.d/jobs.yaml index d2c7b6d..5572e88 100644 --- a/zuul.d/jobs.yaml +++ b/zuul.d/jobs.yaml @@ -191,6 +191,12 @@ vars: special_publish_directory: "contributors" +# 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-releasenotes + max: 1 + - job: name: publish-openstack-releasenotes-python3 description: | @@ -207,6 +213,7 @@ post-run: - playbooks/publish/releasenotes.yaml - playbooks/publish/openstack-afs.yaml + semaphore: publish-releasenotes override-branch: master # Building translated releasenotes can take long for large repositories timeout: 3600