Closed
Bug 1284895
Opened 8 years ago
Closed 8 years ago
releasetasks should retry network request
Categories
(Release Engineering :: Release Automation: Other, defect)
Release Engineering
Release Automation: Other
Tracking
(Not tracked)
RESOLVED
FIXED
People
(Reporter: rail, Assigned: csheehan)
References
Details
Attachments
(2 files)
891 bytes,
patch
|
rail
:
feedback+
|
Details | Diff | Splinter Review |
864 bytes,
patch
|
rail
:
review+
rail
:
checked-in+
|
Details | Diff | Splinter Review |
We have some API calls (hgweb for example), that we may want to retry in case there is some network blip or something.
Assignee | ||
Comment 1•8 years ago
|
||
Decorated the call with the retriable decorator. Does this accomplish what you describe? Couldn't find any other network requests to take care of.
Attachment #8772144 -
Flags: feedback?(rail)
Reporter | ||
Comment 2•8 years ago
|
||
Comment on attachment 8772144 [details] [diff] [review]
Retry get_json_rev using redo module
It should just work!
Also, to make it work in production, we'd need to add redo to the list of releaserunner's deps (which uses releasetasks) in http://hg.mozilla.org/build/puppet/file/tip/modules/releaserunner/manifests/init.pp#l50
Attachment #8772144 -
Flags: feedback?(rail) → feedback+
Assignee | ||
Comment 3•8 years ago
|
||
Added the dependency, have never used puppet so I just followed the pattern. If this is correct I will make a releasetasks PR.
Attachment #8772162 -
Flags: review?(rail)
Reporter | ||
Comment 4•8 years ago
|
||
Comment on attachment 8772162 [details] [diff] [review]
Add redo to releaserunner puppet deps
I downloaded 1.5 to http://puppetagain.pub.build.mozilla.org/data/python/packages/ to make it available for puppet.
Attachment #8772162 -
Flags: review?(rail) → review+
Reporter | ||
Updated•8 years ago
|
Assignee: nobody → csheehan
Reporter | ||
Comment 5•8 years ago
|
||
Comment on attachment 8772162 [details] [diff] [review]
Add redo to releaserunner puppet deps
remote: https://hg.mozilla.org/build/puppet/rev/9fc8fedfab6b
remote: https://hg.mozilla.org/build/puppet/rev/a78c5aaf3a26
Attachment #8772162 -
Flags: checked-in+
Assignee | ||
Updated•8 years ago
|
Status: NEW → RESOLVED
Closed: 8 years ago
Resolution: --- → FIXED
You need to log in
before you can comment on or make changes to this bug.
Description
•