Skip to content
This repository has been archived by the owner on Apr 24, 2024. It is now read-only.

✨ Update to latest kcp, apimachinery, controller-runtime #30

Merged
merged 1 commit into from
Oct 24, 2022

Conversation

fgiloux
Copy link
Contributor

@fgiloux fgiloux commented Sep 30, 2022

This bumps the example to the latest version of kcp controller-runtime and updates the kcp dependencies.

  • kcp api v0.8.2
  • apimachinery v0.0.0-20220922165458-607ac5e87531
  • latest controller-runtime

Signed-off-by: Frederic Giloux fgiloux@redhat.com

@openshift-ci openshift-ci bot requested review from ncdc and sttts September 30, 2022 15:43
@openshift-ci openshift-ci bot added the needs-ok-to-test Indicates a PR that requires an org member to verify it is safe to test. label Sep 30, 2022
@openshift-ci
Copy link

openshift-ci bot commented Sep 30, 2022

Hi @fgiloux. Thanks for your PR.

I'm waiting for a kcp-dev 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.

@fgiloux
Copy link
Contributor Author

fgiloux commented Sep 30, 2022

/hold
kcp-dev/controller-runtime#27 needs to merge first. I can then update the controller-runtime dependency from my fork to the kcp version

@openshift-ci openshift-ci bot added the do-not-merge/hold Indicates that a PR should not merge because someone has issued a /hold command. label Sep 30, 2022
@openshift-ci openshift-ci bot added the lgtm Indicates that a PR is ready to be merged. label Sep 30, 2022
@openshift-ci
Copy link

openshift-ci bot commented Sep 30, 2022

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: fgiloux, stevekuznetsov

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 added the approved Indicates a PR has been approved by an approver from all required OWNERS files. label Sep 30, 2022
@fgiloux
Copy link
Contributor Author

fgiloux commented Oct 4, 2022

/retest

@openshift-ci
Copy link

openshift-ci bot commented Oct 4, 2022

@fgiloux: Cannot trigger testing until a trusted user reviews the PR and leaves an /ok-to-test message.

In response to this:

/retest

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 openshift-ci bot removed the lgtm Indicates that a PR is ready to be merged. label Oct 5, 2022
@openshift-ci
Copy link

openshift-ci bot commented Oct 5, 2022

New changes are detected. LGTM label has been removed.

@fgiloux
Copy link
Contributor Author

fgiloux commented Oct 6, 2022

/remove-hold

@openshift-ci openshift-ci bot removed the do-not-merge/hold Indicates that a PR should not merge because someone has issued a /hold command. label Oct 6, 2022
test/e2e/controller_test.go Outdated Show resolved Hide resolved
Makefile Outdated
@@ -31,7 +31,7 @@ YQ ?= $(LOCALBIN)/yq
## Tool Versions
KUSTOMIZE_VERSION ?= v3.8.7
CONTROLLER_TOOLS_VERSION ?= v0.8.0
KCP_VERSION ?= 0.7.5
KCP_VERSION ?= 0.8.2
Copy link
Member

Choose a reason for hiding this comment

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

Now that 0.9.0 is out, would you be willing to bump to that?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Yes I can do that next week. I would need to bump controller-runtime dependencies as well and check that things are still working. Another point related is whether we want to rebase controller-runtime fork on a newer upstream version. I don't think it has been done since the fork was created ~5-6 months ago.
I would prefer doing it in separate PRs. Do you see it otherwise?

Copy link
Contributor

Choose a reason for hiding this comment

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

The latest version of controller-runtime (0.13.0) has k8s 1.25 deps (https://github.com/kubernetes-sigs/controller-runtime/blob/v0.13.0/go.mod). But we do have 0.12.3 (https://github.com/kubernetes-sigs/controller-runtime/blob/v0.12.3/go.mod), which support k8s 1.24 and has a few bug fixes that could be useful.

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 am looking at that again. Actually kcp fork of controller-runtime is already on 0.12.3. I am testing with v0.9.1. If there is no issue I will push the change here.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

@ncdc tests were good I have pushed the change with v0.9.1

go.mod Outdated Show resolved Hide resolved
@ncdc ncdc changed the title ✨ version bump ✨ Update to latest kcp, apimachinery, controller-runtime Oct 7, 2022
- kcp api v0.9.1
- apimachinery v0.0.0-20220922165458-607ac5e87531
- latest controller-runtime

Signed-off-by: Frederic Giloux <fgiloux@redhat.com>
@stevekuznetsov
Copy link
Contributor

/test all

@fgiloux
Copy link
Contributor Author

fgiloux commented Oct 23, 2022

/retest

@openshift-ci
Copy link

openshift-ci bot commented Oct 23, 2022

@fgiloux: The following test failed, say /retest to rerun all failed tests or /retest-required to rerun all mandatory failed tests:

Test name Commit Details Required Rerun command
ci/prow/e2e 7241244 link true /test e2e

Full PR test history. Your PR dashboard.

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. I understand the commands that are listed here.

@stevekuznetsov stevekuznetsov merged commit 8a5eac8 into kcp-dev:main Oct 24, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
approved Indicates a PR has been approved by an approver from all required OWNERS files. needs-ok-to-test Indicates a PR that requires an org member to verify it is safe to test.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants