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.
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: |
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
