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

Bump open-cluster-management.io/addon-framework from 0.1.0 to 0.3.0 #389

Conversation

dependabot[bot]
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github Jun 10, 2022

Bumps open-cluster-management.io/addon-framework from 0.1.0 to 0.3.0.

Commits

Dependabot compatibility score

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


Dependabot commands and options

You can trigger Dependabot actions by commenting on this PR:

  • @dependabot rebase will rebase this PR
  • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
  • @dependabot merge will merge this PR after your CI passes on it
  • @dependabot squash and merge will squash and merge this PR after your CI passes on it
  • @dependabot cancel merge will cancel a previously requested merge and block automerging
  • @dependabot reopen will reopen this PR if it is closed
  • @dependabot close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
  • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)

@dependabot dependabot bot added dependencies Pull requests that update a dependency file go Pull requests that update Go code labels Jun 10, 2022
@openshift-ci
Copy link
Contributor

openshift-ci bot commented Jun 10, 2022

Hi @dependabot[bot]. Thanks for your PR.

I'm waiting for a stolostron member to verify that this patch is reasonable to test. If it is, they should reply with /ok-to-test on its own line. Until that is done, I will not automatically test new commits in this PR, but the usual testing commands by org members will still work. Regular contributors should join the org to skip this step.

Once the patch is verified, the new status will be reflected by the ok-to-test label.

I understand the commands that are listed here.

Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository.

@tpantelis
Copy link
Collaborator

/ok-to-test

@tpantelis tpantelis force-pushed the dependabot/go_modules/open-cluster-management.io/addon-framework-0.3.0 branch 3 times, most recently from c3c17c0 to 29beef6 Compare June 10, 2022 20:58
@tpantelis
Copy link
Collaborator

@skitt In order to bump to addon-framework 0.3.0, we need to bump K8s to 0.23.*. This also requires bumping controller-runtime to v0.11.2 which builds fine but then we run into an issue with the integration tests:

./integration.test -ginkgo.slowSpecThreshold=15 -ginkgo.v -ginkgo.failFast
panic: mkdir /.cache: permission denied

goroutine 1 [running]:
sigs.k8s.io/controller-runtime/pkg/internal/testing/addr.init.0()
	/go/src/github.com/stolostron/submariner-addon/vendor/sigs.k8s.io/controller-runtime/pkg/internal/testing/addr/manager.go:51 +0xda

This is actually an issue you fixed upstream with kubernetes-sigs/controller-runtime#1800 but it's in v0.12.0 which needs K8s 0.24.* which breaks the openshift/library-go. I then bumped to openshift/library-go@release-4.12 which uses K8s 0.24.0 and the integration tests succeeded but the verify job still failed ☹️ :

bash ./vendor/k8s.io/code-generator/generate-groups.sh client,lister,informer github.com/stolostron/submariner-addon/pkg/client/submarinerconfig github.com/stolostron/submariner-addon/pkg/apis submarinerconfig:v1alpha1 --go-header-file hack/../hack/../hack/boilerplate.txt --verify-only
install: target 'k8s.io/code-generator/cmd/deepcopy-gen' is not a directory

Any ideas on that error?

@tpantelis tpantelis force-pushed the dependabot/go_modules/open-cluster-management.io/addon-framework-0.3.0 branch 2 times, most recently from 054e04b to 8f449a5 Compare June 11, 2022 03:15
@tpantelis
Copy link
Collaborator

/test golangci-lint

@tpantelis
Copy link
Collaborator

@skitt In order to bump to addon-framework 0.3.0, we need to bump K8s to 0.23.*. This also requires bumping controller-runtime to v0.11.2 which builds fine but then we run into an issue with the integration tests:

./integration.test -ginkgo.slowSpecThreshold=15 -ginkgo.v -ginkgo.failFast
```shell
bash ./vendor/k8s.io/code-generator/generate-groups.sh client,lister,informer github.com/stolostron/submariner-addon/pkg/client/submarinerconfig github.com/stolostron/submariner-addon/pkg/apis submarinerconfig:v1alpha1 --go-header-file hack/../hack/../hack/boilerplate.txt --verify-only
install: target 'k8s.io/code-generator/cmd/deepcopy-gen' is not a directory

Any ideas on that error?

I downgraded k8s.io/code-generator to v0.22.1 and now the verify job succeeds. Go figure.

@skitt
Copy link
Member

skitt commented Jun 13, 2022

bash ./vendor/k8s.io/code-generator/generate-groups.sh client,lister,informer github.com/stolostron/submariner-addon/pkg/client/submarinerconfig github.com/stolostron/submariner-addon/pkg/apis submarinerconfig:v1alpha1 --go-header-file hack/../hack/../hack/boilerplate.txt --verify-only
install: target 'k8s.io/code-generator/cmd/deepcopy-gen' is not a directory

Any ideas on that error?

Yes, see https://github.com/stolostron/submariner-addon/pull/279/files#diff-149dfe7bb29d1191dceae3a52915e750e64b7f87257a5fb309c29d3056e2a95d

@tpantelis tpantelis force-pushed the dependabot/go_modules/open-cluster-management.io/addon-framework-0.3.0 branch 3 times, most recently from 7e40c88 to 19abcc9 Compare June 13, 2022 13:27
Bumps [open-cluster-management.io/addon-framework](https://github.com/open-cluster-management-io/addon-framework) from 0.1.0 to 0.3.0.
- [Release notes](https://github.com/open-cluster-management-io/addon-framework/releases)
- [Commits](open-cluster-management-io/addon-framework@v0.1.0...v0.3.0)

---
updated-dependencies:
- dependency-name: open-cluster-management.io/addon-framework
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
Signed-off-by: Tom Pantelis <tompantelis@gmail.com>
Signed-off-by: Stephen Kitt <skitt@redhat.com>
@skitt skitt force-pushed the dependabot/go_modules/open-cluster-management.io/addon-framework-0.3.0 branch from 19abcc9 to 1da97a6 Compare June 22, 2022 15:13
@skitt skitt linked an issue Jun 22, 2022 that may be closed by this pull request
@sonarcloud
Copy link

sonarcloud bot commented Jun 22, 2022

Kudos, SonarCloud Quality Gate passed!    Quality Gate passed

Bug A 0 Bugs
Vulnerability A 0 Vulnerabilities
Security Hotspot A 0 Security Hotspots
Code Smell A 3 Code Smells

5.0% 5.0% Coverage
88.1% 88.1% Duplication

@skitt
Copy link
Member

skitt commented Jun 22, 2022

/test unit

@skitt
Copy link
Member

skitt commented Jun 22, 2022

/lgtm

@openshift-ci
Copy link
Contributor

openshift-ci bot commented Jun 22, 2022

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: tpantelis

The full list of commands accepted by this bot can be found here.

The pull request process is described here

Needs approval from an approver in each of these files:

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

@openshift-ci openshift-ci bot merged commit f3360ac into main Jun 22, 2022
@dependabot dependabot bot deleted the dependabot/go_modules/open-cluster-management.io/addon-framework-0.3.0 branch June 22, 2022 15:47
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
approved dco-signoff: yes dependencies Pull requests that update a dependency file go Pull requests that update Go code lgtm ok-to-test
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Upgrade to controller-runtime 0.11.0 or later
2 participants