Skip to content
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

Configurable git client timeout #2605

Merged
merged 2 commits into from
Aug 5, 2024
Merged

Conversation

p-se
Copy link
Contributor

@p-se p-se commented Jul 5, 2024

Fixes #2188

Also fixes an issue in the config reconciler which has prevented the
config from being reloaded when it was changed.

@p-se p-se requested a review from a team as a code owner July 5, 2024 07:44
@p-se p-se force-pushed the 2188-git-client-timeout branch from d9b7676 to f979e7e Compare July 9, 2024 13:29
@p-se p-se added the kind/bug label Jul 9, 2024
integrationtests/cli/cleanup/suite_test.go Outdated Show resolved Hide resolved
@@ -43,6 +44,9 @@ var _ = Describe("GitJob controller", func() {
)

JustBeforeEach(func() {
config.Set(&config.Config{
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This will affect all integration tests running after this one, I think?
But that doesn't matter I guess, is this just for initialization? Instead of initializing the config in some tests, could we make the code work with an empty config instead?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I've added the initialization to the suite instead of the tests where possible and initialized it empty where possible.

@p-se p-se force-pushed the 2188-git-client-timeout branch from f979e7e to c3538ff Compare July 26, 2024 10:42
p-se added 2 commits July 30, 2024 11:46
Fixes rancher#2188

Also fixes an issue in the config reconciler which has prevented the
config from being reloaded when it was changed.
@p-se p-se force-pushed the 2188-git-client-timeout branch from c3538ff to f05c311 Compare July 30, 2024 09:54
Copy link
Contributor

@0xavi0 0xavi0 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

looks good to me

@p-se p-se merged commit dd3212c into rancher:main Aug 5, 2024
12 checks passed
@p-se p-se deleted the 2188-git-client-timeout branch August 5, 2024 10:53
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[SURE-7783] Fleet 0.9.0 having trouble with bitbucket syncing
3 participants