-
Notifications
You must be signed in to change notification settings - Fork 5.9k
feat: make git requests configurable #15646
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
feat: make git requests configurable #15646
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good!! Just one request to add some documentation.
1f08e30
to
e5a6aee
Compare
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## master #15646 +/- ##
==========================================
+ Coverage 49.53% 49.54% +0.01%
==========================================
Files 269 269
Lines 46622 46641 +19
==========================================
+ Hits 23095 23110 +15
- Misses 21255 21258 +3
- Partials 2272 2273 +1
☔ View full report in Codecov by Sentry. |
Should this be configured via a CLI arg/env var default on the repo-server command? Would improve discoverability. |
e5a6aee
to
61384b5
Compare
Signed-off-by: Alexander Matyushentsev <AMatyushentsev@gmail.com>
61384b5
to
f40f4f8
Compare
Thank you for review @crenshaw-dev and @ishitasequeira ! I've kept working on debugging the issue caused by the slow git provider and realized another setting is required: PTAL |
Signed-off-by: Alexander Matyushentsev <AMatyushentsev@gmail.com>
97ed3f6
to
47c15cd
Compare
Signed-off-by: Alexander Matyushentsev <AMatyushentsev@gmail.com>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM!!
* feat: make git requests configurable Signed-off-by: Alexander Matyushentsev <AMatyushentsev@gmail.com> * docs: mention new settings in 'argocd-cmd-params-cm' configmap Signed-off-by: Alexander Matyushentsev <AMatyushentsev@gmail.com> * add comment about ignored error Signed-off-by: Alexander Matyushentsev <AMatyushentsev@gmail.com> --------- Signed-off-by: Alexander Matyushentsev <AMatyushentsev@gmail.com>
* feat: make git requests configurable Signed-off-by: Alexander Matyushentsev <AMatyushentsev@gmail.com> * docs: mention new settings in 'argocd-cmd-params-cm' configmap Signed-off-by: Alexander Matyushentsev <AMatyushentsev@gmail.com> * add comment about ignored error Signed-off-by: Alexander Matyushentsev <AMatyushentsev@gmail.com> --------- Signed-off-by: Alexander Matyushentsev <AMatyushentsev@gmail.com> git rebase HEAD~73 --signoff
* feat: make git requests configurable Signed-off-by: Alexander Matyushentsev <AMatyushentsev@gmail.com> * docs: mention new settings in 'argocd-cmd-params-cm' configmap Signed-off-by: Alexander Matyushentsev <AMatyushentsev@gmail.com> * add comment about ignored error Signed-off-by: Alexander Matyushentsev <AMatyushentsev@gmail.com> --------- Signed-off-by: Alexander Matyushentsev <AMatyushentsev@gmail.com>
* feat: make git requests configurable Signed-off-by: Alexander Matyushentsev <AMatyushentsev@gmail.com> * docs: mention new settings in 'argocd-cmd-params-cm' configmap Signed-off-by: Alexander Matyushentsev <AMatyushentsev@gmail.com> * add comment about ignored error Signed-off-by: Alexander Matyushentsev <AMatyushentsev@gmail.com> --------- Signed-off-by: Alexander Matyushentsev <AMatyushentsev@gmail.com>
* feat: make git requests configurable Signed-off-by: Alexander Matyushentsev <AMatyushentsev@gmail.com> * docs: mention new settings in 'argocd-cmd-params-cm' configmap Signed-off-by: Alexander Matyushentsev <AMatyushentsev@gmail.com> * add comment about ignored error Signed-off-by: Alexander Matyushentsev <AMatyushentsev@gmail.com> --------- Signed-off-by: Alexander Matyushentsev <AMatyushentsev@gmail.com>
* feat: make git requests configurable Signed-off-by: Alexander Matyushentsev <AMatyushentsev@gmail.com> * docs: mention new settings in 'argocd-cmd-params-cm' configmap Signed-off-by: Alexander Matyushentsev <AMatyushentsev@gmail.com> * add comment about ignored error Signed-off-by: Alexander Matyushentsev <AMatyushentsev@gmail.com> --------- Signed-off-by: Alexander Matyushentsev <AMatyushentsev@gmail.com>
PR introduces an
ARGOCD_GIT_REQUEST_TIMEOUT
env variable that allows configuring git request timeouts (currently 15s by default)