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

Upgrade the version of the dependency controller-runtime from v0.1.10 to v0.1.12 #1612

Merged
merged 9 commits into from
Jul 1, 2019
Merged

Upgrade the version of the dependency controller-runtime from v0.1.10 to v0.1.12 #1612

merged 9 commits into from
Jul 1, 2019

Conversation

andy2046
Copy link
Contributor

Description of the change:

Changed

Motivation for the change:
Address the issue in #1606

Closes #1606

@openshift-ci-robot openshift-ci-robot added the do-not-merge/work-in-progress Indicates that a PR should not merge because it is a work in progress. label Jun 28, 2019
@openshift-ci-robot openshift-ci-robot added the size/XXL Denotes a PR that changes 1000+ lines, ignoring generated files. label Jun 28, 2019
@openshift-ci-robot
Copy link

Hi @andy2046. Thanks for your PR.

I'm waiting for a operator-framework or openshift 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.

@openshift-ci-robot openshift-ci-robot added the needs-ok-to-test Indicates a PR that requires an org member to verify it is safe to test. label Jun 28, 2019
@andy2046 andy2046 marked this pull request as ready for review June 28, 2019 03:02
@openshift-ci-robot openshift-ci-robot removed the do-not-merge/work-in-progress Indicates that a PR should not merge because it is a work in progress. label Jun 28, 2019
@openshift-ci-robot openshift-ci-robot added size/L Denotes a PR that changes 100-499 lines, ignoring generated files. and removed size/XXL Denotes a PR that changes 1000+ lines, ignoring generated files. labels Jun 28, 2019
@andy2046
Copy link
Contributor Author

@lilic CI is failing in test/e2e/ansible-molecule Scenario: 'test-local' Action: 'prepare', it's my first time running the CI, not sure what causes the error, need your guidance on this

@lilic
Copy link
Member

lilic commented Jun 28, 2019

/ok-to-test

@openshift-ci-robot openshift-ci-robot added ok-to-test Indicates a non-member PR verified by an org member that is safe to test. and removed needs-ok-to-test Indicates a PR that requires an org member to verify it is safe to test. labels Jun 28, 2019
@lilic
Copy link
Member

lilic commented Jun 28, 2019

Thanks for the PR, I restarted the failed job, it could be a timeout issue. Also started the other tests, will have a look a bit later.

Copy link
Member

@lilic lilic left a comment

Choose a reason for hiding this comment

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

CHANGELOG.md Outdated
@@ -14,6 +14,7 @@

### Changed

- Upgrade the version of the dependency [controller-runtime](https://github.com/kubernetes-sigs/controller-runtime) from `v0.1.10` to `v0.1.12` [#1612](https://github.com/operator-framework/operator-sdk/pull/1612)
Copy link
Member

Choose a reason for hiding this comment

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

Suggested change
- Upgrade the version of the dependency [controller-runtime](https://github.com/kubernetes-sigs/controller-runtime) from `v0.1.10` to `v0.1.12` [#1612](https://github.com/operator-framework/operator-sdk/pull/1612)
- Upgrade the version of the dependency [controller-runtime](https://github.com/kubernetes-sigs/controller-runtime) from `v0.1.10` to `v0.1.12`. ([#1612](https://github.com/operator-framework/operator-sdk/pull/1612))

@joelanford
Copy link
Member

@andy2046 There are a few more things that need to be covered as well:

  • These changes cover the SDK itself, but they will not apply to scaffolded projects. Can you also update the gopkgtoml.go and go_mod.go files in internal/pkg/scaffold, internal/pkg/scaffold/ansible, and internal/pkg/scaffold/helm
  • controller-runtime 0.1.12 also bumped the kubernetes version to 1.13.4, which we need to do as well, also in all of those files.

The go.mod templates have a // Pinned to kubernetes-1.13.1 section to update and the Gopkg.toml templates have overrides for version tags or revision SHAs that correspond to the kubernetes-1.13.* tag.

If you need help figuring out how to change those, let us know and we can help out.

@andy2046
Copy link
Contributor Author

@joelanford thanks for the guidance, I have upgraded Kubernetes to v1.13.4, pls let me know if I missed out any other file.

@andy2046
Copy link
Contributor Author

andy2046 commented Jul 1, 2019

@lilic I have updated the docs, thanks.

@lilic
Copy link
Member

lilic commented Jul 1, 2019

@andy2046 seems like some e2e tests actually failed, doesn't look like a flake. Have you tried running the test locally to be able to debug this? Otherwise, we can help with figuring out the problem here, just let us know! Thanks for this!

@andy2046
Copy link
Contributor Author

andy2046 commented Jul 1, 2019

@lilic I can see the error came from test/subcommand/scorecard but when I ran make test/subcommand/scorecard locally, it passed without error, not sure what's happening there, need your hint to debug, thanks

@lilic
Copy link
Member

lilic commented Jul 1, 2019

@andy2046 green now. This was odd, anyways, ready for another round of reviews @joelanford

Copy link
Member

@joelanford joelanford left a comment

Choose a reason for hiding this comment

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

/approve

Copy link
Member

@lilic lilic left a comment

Choose a reason for hiding this comment

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

Thanks for this!
/lgtm

@openshift-ci-robot openshift-ci-robot added the lgtm Indicates that a PR is ready to be merged. label Jul 1, 2019
@joelanford joelanford merged commit e0342c4 into operator-framework:master Jul 1, 2019
@andy2046 andy2046 deleted the UPGRADE-CONTROLLER-RUNTIME branch July 2, 2019 00:14
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
lgtm Indicates that a PR is ready to be merged. ok-to-test Indicates a non-member PR verified by an org member that is safe to test. size/L Denotes a PR that changes 100-499 lines, ignoring generated files.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

upgrade controller-runtime to support LabelSelector in fakeClient List func
4 participants