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