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

Helm reconcilers conditions and test improvements #728

Merged
merged 1 commit into from
May 27, 2022

Conversation

souleb
Copy link
Member

@souleb souleb commented May 24, 2022

HelmRepository_OCI reconcilers to make to retry on failure

The setupRegistryServer has been refactored to take into account #690
reviews.

Signed-off-by: Soule BA soule@weave.works

@souleb souleb added the area/oci OCI related issues and pull requests label May 24, 2022
@souleb souleb mentioned this pull request May 24, 2022
6 tasks
@souleb souleb added the area/helm Helm related issues and pull requests label May 24, 2022
@souleb souleb force-pushed the revisit-oci-events branch 2 times, most recently from 00a888e to 8147e0b Compare May 24, 2022 09:46
@souleb
Copy link
Member Author

souleb commented May 24, 2022

the darwin-amd64 test failed with

--- FAIL: TestCheckoutStrategyForImplementation_Auth (3.38s)
    --- FAIL: TestCheckoutStrategyForImplementation_Auth/libgit2_SSH_clone (1.46s)
        strategy_test.go:117: 
            Unexpected error:
                <*fmt.wrapError | 0xc00007c460>: {
                    msg: "unable to fetch remote 'ssh://git@localhost:49894/bar/test-reponame': SSH could not read data: Error waiting on socket",
                    err: <*git.GitError | 0xc00007c440>{
                        Message: "SSH could not read data: Error waiting on socket",
                        Class: 23,
                        Code: -1,
                    },
                }
                unable to fetch remote 'ssh://git@localhost:49894/bar/test-reponame': SSH could not read data: Error waiting on socket
            occurred

I don't have the right to restart it.

@makkes
Copy link
Member

makkes commented May 24, 2022

@souleb I just learned about https://fluxcd.io/docs/contributing/flux/#format-of-the-commit-message so let's follow the commit message format described there.

@hiddeco
Copy link
Member

hiddeco commented May 24, 2022

I don't have the right to restart it.

I said some magical words to make it restart.

@souleb souleb changed the title Replace some stalling event by normal event in HelmChart and HelmChartRepository_OCI Replace some stalling event by normal event in helm reconcilers May 24, 2022
controllers/suite_test.go Outdated Show resolved Hide resolved
controllers/suite_test.go Outdated Show resolved Hide resolved
controllers/suite_test.go Outdated Show resolved Hide resolved
controllers/suite_test.go Outdated Show resolved Hide resolved
controllers/suite_test.go Outdated Show resolved Hide resolved
controllers/suite_test.go Show resolved Hide resolved
controllers/suite_test.go Outdated Show resolved Hide resolved
controllers/suite_test.go Outdated Show resolved Hide resolved
controllers/helmchart_controller.go Show resolved Hide resolved
controllers/helmchart_controller.go Outdated Show resolved Hide resolved
@souleb souleb force-pushed the revisit-oci-events branch 4 times, most recently from 9f039dd to bdbcbac Compare May 25, 2022 07:55
controllers/helmrepository_controller_oci.go Outdated Show resolved Hide resolved
controllers/helmrepository_controller_test.go Show resolved Hide resolved
controllers/suite_test.go Outdated Show resolved Hide resolved
@darkowlzz darkowlzz changed the title Replace some stalling event by normal event in helm reconcilers HelmChart and HelmRepo reconciler conditions and test improvements May 25, 2022
@darkowlzz darkowlzz changed the title HelmChart and HelmRepo reconciler conditions and test improvements Helm reconcilers conditions and test improvements May 25, 2022
@souleb souleb force-pushed the revisit-oci-events branch 2 times, most recently from c726906 to d9399be Compare May 25, 2022 11:58
Copy link
Contributor

@darkowlzz darkowlzz left a comment

Choose a reason for hiding this comment

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

LGTM!

The setupRegistryServer has been refactored to take into account fluxcd#690
reviews.

Signed-off-by: Soule BA <soule@weave.works>
@makkes makkes merged commit a6f19b3 into fluxcd:main May 27, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area/helm Helm related issues and pull requests area/oci OCI related issues and pull requests
Projects
Status: Done
Development

Successfully merging this pull request may close these issues.

5 participants