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 <sean.mcginnis@gmail.com>
This commit is contained in:
@@ -191,6 +191,12 @@
|
|||||||
vars:
|
vars:
|
||||||
special_publish_directory: "contributors"
|
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:
|
- job:
|
||||||
name: publish-openstack-releasenotes-python3
|
name: publish-openstack-releasenotes-python3
|
||||||
description: |
|
description: |
|
||||||
@@ -207,6 +213,7 @@
|
|||||||
post-run:
|
post-run:
|
||||||
- playbooks/publish/releasenotes.yaml
|
- playbooks/publish/releasenotes.yaml
|
||||||
- playbooks/publish/openstack-afs.yaml
|
- playbooks/publish/openstack-afs.yaml
|
||||||
|
semaphore: publish-releasenotes
|
||||||
override-branch: master
|
override-branch: master
|
||||||
# Building translated releasenotes can take long for large repositories
|
# Building translated releasenotes can take long for large repositories
|
||||||
timeout: 3600
|
timeout: 3600
|
||||||
|
|||||||
Reference in New Issue
Block a user