Retry uploading messages to Swift up to 5 times

This should hopefully handle short, intermitent issues uploading to
Swift. We currently use the same retry policy when sending Zaqar
messages.

Related-Bug: #1789680
Change-Id: Ibee6ba188585f80f0f7d136c81146096cb4432c2
This commit is contained in:
Dougal Matthews 2018-10-11 16:36:12 +01:00
parent 024a359e12
commit b4053ad111

View File

@ -113,6 +113,7 @@ workflows:
persist_to_swift:
action: swift.put_object
retry: count=5 delay=1
input:
container: <% $.container %>
obj: <% "{0}/{1}.yaml".format($.type, now().format("%Y-%m-%d_%H:%M:%S")) %>
@ -121,6 +122,7 @@ workflows:
persist_to_swift_plan_latest:
action: swift.put_object
retry: count=5 delay=1
input:
container: <% $.container %>
obj: <% "deployment_status.yaml" %>