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

Update gnostic dependency with gnostic-models #625

Merged

Conversation

liangyuanpeng
Copy link
Contributor

@liangyuanpeng liangyuanpeng commented Jul 20, 2023

Related:

This PR changed:

  • update go version to 1.20
  • bump k8s.io packages to v0.28.4
  • bump sigs.k8s.io/kustomize to v5.2.1
  • bump sigs.k8s.io/controller-runtime to v0.16.3
  • bump sigs.k8s.io/yaml to v1.4.0
  • migrate from google/gnostic to google/gnostic-models

@k8s-ci-robot k8s-ci-robot added the cncf-cla: yes Indicates the PR's author has signed the CNCF CLA. label Jul 20, 2023
@k8s-ci-robot
Copy link
Contributor

Welcome @liangyuanpeng!

It looks like this is your first PR to kubernetes-sigs/cli-utils 🎉. Please refer to our pull request process documentation to help your PR have a smooth ride to approval.

You will be prompted by a bot to use commands during the review process. Do not be afraid to follow the prompts! It is okay to experiment. Here is the bot commands documentation.

You can also check if kubernetes-sigs/cli-utils has its own contribution guidelines.

You may want to refer to our testing guide if you run into trouble with your tests not passing.

If you are having difficulty getting your pull request seen, please follow the recommended escalation practices. Also, for tips and tricks in the contribution process you may want to read the Kubernetes contributor cheat sheet. We want to make sure your contribution gets all the attention it needs!

Thank you, and welcome to Kubernetes. 😃

@k8s-ci-robot k8s-ci-robot added the needs-ok-to-test Indicates a PR that requires an org member to verify it is safe to test. label Jul 20, 2023
@k8s-ci-robot
Copy link
Contributor

Hi @liangyuanpeng. Thanks for your PR.

I'm waiting for a kubernetes-sigs 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.

@k8s-ci-robot k8s-ci-robot added the size/XL Denotes a PR that changes 500-999 lines, ignoring generated files. label Jul 20, 2023
go.mod Outdated
k8s.io/utils v0.0.0-20230115233650-391b47cb4029
sigs.k8s.io/controller-runtime v0.14.1
sigs.k8s.io/kustomize/kyaml v0.13.9
k8s.io/api v0.28.0-alpha.4
Copy link
Contributor Author

Choose a reason for hiding this comment

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

Now, i just use v0.28.0-alpha.4 to fix it, and i think we need to waiting for a stable version.

Copy link
Contributor Author

@liangyuanpeng liangyuanpeng left a comment

Choose a reason for hiding this comment

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

Some api have changed, need update.

@k8s-ci-robot k8s-ci-robot added the needs-rebase Indicates a PR cannot be merged because it has merge conflicts with HEAD. label Aug 9, 2023
@k8s-ci-robot k8s-ci-robot added size/L Denotes a PR that changes 100-499 lines, ignoring generated files. and removed needs-rebase Indicates a PR cannot be merged because it has merge conflicts with HEAD. size/XL Denotes a PR that changes 500-999 lines, ignoring generated files. labels Aug 15, 2023
@liangyuanpeng
Copy link
Contributor Author

@stefanprodan
Copy link

@liangyuanpeng could you please revive this PR. We really need this merged to unblock the Flux upgrade to Kubernetes 1.28. Thank you!

@ash2k
Copy link
Member

ash2k commented Nov 13, 2023

/ok-to-test

@k8s-ci-robot k8s-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 Nov 13, 2023
@ash2k
Copy link
Member

ash2k commented Nov 24, 2023

/lgtm

@seans3 PTAL.

@k8s-ci-robot k8s-ci-robot added the lgtm "Looks good to me", indicates that a PR is ready to be merged. label Nov 24, 2023
Copy link
Contributor

@seans3 seans3 left a comment

Choose a reason for hiding this comment

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

/lgtm

I believe you can even update to the latest v0.28.4 (instead of v0.28.0) if you prefer.

@karlkfi Is this update OK with you?

@k8s-ci-robot k8s-ci-robot removed the lgtm "Looks good to me", indicates that a PR is ready to be merged. label Nov 27, 2023
@liangyuanpeng
Copy link
Contributor Author

liangyuanpeng commented Nov 27, 2023

@ash2k @seans3 Update to v0.28.4 and not v0.28.0, PTAL,Thanks!

@ash2k
Copy link
Member

ash2k commented Nov 27, 2023

/lgtm

@k8s-ci-robot k8s-ci-robot added the lgtm "Looks good to me", indicates that a PR is ready to be merged. label Nov 27, 2023
Copy link

@stefanprodan stefanprodan left a comment

Choose a reason for hiding this comment

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

To match Kubernetes 1.28 these could also be bumped:

	sigs.k8s.io/controller-runtime v0.16.3
	sigs.k8s.io/kustomize/kyaml v0.15.0
	sigs.k8s.io/yaml v1.4.0

For reference https://github.com/fluxcd/cli-utils/pull/1/files

@k8s-ci-robot k8s-ci-robot removed the lgtm "Looks good to me", indicates that a PR is ready to be merged. label Nov 28, 2023
@liangyuanpeng
Copy link
Contributor Author

@stefanprodan Thanks for remind.
You are the end user and have already applied this change to fluxcd, so I followed your advice and updated. Since the CI is green without this change, it would be great if you could provide more information to increase the reviewer's confidence.

Sorry about duplicate lgtm.

go.mod Outdated Show resolved Hide resolved
- bump k8s.io packages to v0.28.4
- bump sigs.k8s.io/kustomize to v5.2.1
- bump sigs.k8s.io/controller-runtime to v0.16.3
- bump sigs.k8s.io/yaml to v1.4.0
- migrate from google/gnostic to google/gnostic-models

Signed-off-by: Lan Liang <[email protected]>
Copy link

@stefanprodan stefanprodan left a comment

Choose a reason for hiding this comment

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

LGTM

Thanks @liangyuanpeng

@ash2k
Copy link
Member

ash2k commented Nov 28, 2023

/lgtm

@k8s-ci-robot k8s-ci-robot added the lgtm "Looks good to me", indicates that a PR is ready to be merged. label Nov 28, 2023
@ash2k
Copy link
Member

ash2k commented Dec 6, 2023

@seans3 @karlkfi I think this is ready for merging, PTAL.

@ash2k ash2k mentioned this pull request Dec 24, 2023
@mortent
Copy link
Member

mortent commented Jan 3, 2024

/approve

@k8s-ci-robot
Copy link
Contributor

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: liangyuanpeng, mortent, stefanprodan

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

@k8s-ci-robot k8s-ci-robot added the approved Indicates a PR has been approved by an approver from all required OWNERS files. label Jan 3, 2024
@k8s-ci-robot k8s-ci-robot merged commit 7928dbf into kubernetes-sigs:master Jan 3, 2024
5 checks passed
@liangyuanpeng liangyuanpeng deleted the gnostic-dependency branch January 12, 2024 07:06
@liangyuanpeng
Copy link
Contributor Author

Thanks @mortent for approve and thanks @ash2k help to push it.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
approved Indicates a PR has been approved by an approver from all required OWNERS files. cncf-cla: yes Indicates the PR's author has signed the CNCF CLA. lgtm "Looks good to me", 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.

6 participants