-
Notifications
You must be signed in to change notification settings - Fork 90
bot: replaced retry function with Tenacity #366
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
Merged
Changes from all commits
Commits
Show all changes
25 commits
Select commit
Hold shift + click to select a range
3b22de0
Updated taskcluster.py to use Tenacity for retrying perform_download.…
seb-sojka ff03947
Uploader.py in bot uses tenacity to retrying gcp_ingest in gcp functi…
seb-sojka 5da78f3
Merge branch 'master' into removeRetryFunction
seb-sojka 45cd5bb
Remove extra : from retry in taskcluster.py
seb-sojka 77b8b91
Add tenacity to requirementspdev.txt to intall
seb-sojka de3b91b
Add tenacity to requirements.txt for install and removed it from requ…
seb-sojka 55113e8
Updated taskcluster.py and uploader.py to run tenacity
seb-sojka 5e4b422
Add call for perform_download function
seb-sojka a825a35
Corrected error with import tenacity instead of from
seb-sojka ce6d80c
Merge branch 'master' into removeRetryFunction
seb-sojka f6883ba
Updated uploader.py to use tenacity functions
seb-sojka 77a4eb0
Tabs to spaces and added tenacity to know third party
seb-sojka 2e64b0d
Update requirements.txt and requirements-dev.txt with sorting. Update…
seb-sojka 2a6ea47
Added back class RunException to utils.py and removed import time
seb-sojka e895b12
Moved perform download function outside of download artifact
seb-sojka 1fbd552
Added agruements from urls and artifact path for perform download
seb-sojka da866ce
Moved perform download back into download_artifact function
seb-sojka ec20dea
Removed extra perform_download function and set reraise to try for re…
seb-sojka efbe2e9
Remove the function RaiseExpection and used expection instead in util…
seb-sojka 3739f47
Merge branch 'master' into removeRetryFunction
seb-sojka 744e114
Added back # noqa for lines too long in test_taskcluster.py
seb-sojka 6e697bb
Merge branch 'removeRetryFunction' of github.com:seb-sojka/code-cover…
seb-sojka fe38b22
Merge branch 'master' into removeRetryFunction
seb-sojka bdb6464
Pre-commit changed retry style
seb-sojka acc1076
Merge branch 'master' into removeRetryFunction
seb-sojka File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,6 @@ | ||
[settings] | ||
known_first_party = code_coverage_backend,code_coverage_bot,code_coverage_events,code_coverage_tools,conftest,firefox_code_coverage | ||
known_third_party = connexion,datadog,dateutil,fakeredis,flask,flask_cors,flask_talisman,google,hglib,jsone,jsonschema,libmozdata,libmozevent,logbook,pytest,pytz,raven,redis,requests,responses,setuptools,structlog,taskcluster,werkzeug,zstandard | ||
known_third_party = connexion,datadog,dateutil,fakeredis,flask,flask_cors,flask_talisman,google,hglib,jsone,jsonschema,libmozdata,libmozevent,logbook,pytest,pytz,raven,redis,requests,responses,setuptools,structlog,taskcluster,tenacity,werkzeug,zstandard | ||
force_single_line = True | ||
default_section=FIRSTPARTY | ||
line_length=159 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -3,4 +3,5 @@ google-cloud-storage==1.25.0 | |
libmozdata==0.1.64 | ||
pytoml==0.1.21 | ||
pytz==2019.3 | ||
tenacity==6.0.0 | ||
zstandard==0.13.0 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.