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:
parent
eba389413c
commit
4ed6af9f3b
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue