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 knative/pkg to 1.11 #6975

Merged
merged 1 commit into from
Aug 8, 2023
Merged

Conversation

vdemeester
Copy link
Member

Changes

Bump knative/pkg to the latest, 1.11

This also updates the min kubernetes version to 1.25.

/kind misc

Signed-off-by: Vincent Demeester [email protected]

Submitter Checklist

As the author of this PR, please check off the items in this checklist:

  • Has Docs if any changes are user facing, including updates to minimum requirements e.g. Kubernetes version bumps
  • Has Tests included if any functionality added or changed
  • Follows the commit message standard
  • Meets the Tekton contributor standards (including functionality, content, code)
  • Has a kind label. You can add one by adding a comment on this PR that contains /kind <type>. Valid types are bug, cleanup, design, documentation, feature, flake, misc, question, tep
  • Release notes block below has been updated with any user facing changes (API changes, bug fixes, changes requiring upgrade notices or deprecation warnings). See some examples of good release notes.
  • Release notes contains the string "action required" if the change requires additional action from users switching to the new release

Release Notes

Bump knative.dev/pkg to 1.11 so the Kubernetes min version is now 1.25

@tekton-robot tekton-robot added kind/misc Categorizes issue or PR as a miscellaneuous one. release-note Denotes a PR that will be considered when it comes time to generate release notes. labels Jul 26, 2023
@tekton-robot tekton-robot added size/S Denotes a PR that changes 10-29 lines, ignoring generated files. size/M Denotes a PR that changes 30-99 lines, ignoring generated files. and removed size/S Denotes a PR that changes 10-29 lines, ignoring generated files. labels Jul 26, 2023
@tekton-robot
Copy link
Collaborator

The following is the coverage report on the affected files.
Say /test pull-tekton-pipeline-go-coverage to re-run this coverage report

File Old Coverage New Coverage Delta
pkg/pipelinerunmetrics/injection.go 18.2% 11.1% -7.1
pkg/reconciler/events/cloudevent/cloudeventclient.go 31.8% 28.6% -3.2
pkg/taskrunmetrics/injection.go 18.2% 11.1% -7.1

@tekton-robot
Copy link
Collaborator

The following is the coverage report on the affected files.
Say /test pull-tekton-pipeline-go-coverage-df to re-run this coverage report

File Old Coverage New Coverage Delta
pkg/pipelinerunmetrics/injection.go 18.2% 11.1% -7.1
pkg/reconciler/events/cloudevent/cloudeventclient.go 31.8% 28.6% -3.2
pkg/taskrunmetrics/injection.go 18.2% 11.1% -7.1

@vdemeester
Copy link
Member Author

Ah this needs a change in plumbing..

@vdemeester
Copy link
Member Author

This will need tektoncd/plumbing#1520
cc @afrittoli @tektoncd/plumbing-maintainers

@vdemeester
Copy link
Member Author

… And AddEventHandler interface changed in client-go.. yay 🙃

@vdemeester
Copy link
Member Author

/retest

@tekton-robot
Copy link
Collaborator

The following is the coverage report on the affected files.
Say /test pull-tekton-pipeline-go-coverage to re-run this coverage report

File Old Coverage New Coverage Delta
pkg/pipelinerunmetrics/injection.go 18.2% 11.1% -7.1
pkg/reconciler/events/cloudevent/cloudeventclient.go 31.8% 28.6% -3.2
pkg/reconciler/notifications/customrun/controller.go 100.0% 90.9% -9.1
pkg/reconciler/pipelinerun/controller.go 100.0% 82.6% -17.4
pkg/reconciler/resolutionrequest/controller.go 100.0% 85.7% -14.3
pkg/reconciler/taskrun/controller.go 95.2% 87.0% -8.3
pkg/resolution/resolver/framework/controller.go 55.4% 55.2% -0.2
pkg/taskrunmetrics/injection.go 18.2% 11.1% -7.1

@tekton-robot
Copy link
Collaborator

The following is the coverage report on the affected files.
Say /test pull-tekton-pipeline-go-coverage-df to re-run this coverage report

File Old Coverage New Coverage Delta
pkg/pipelinerunmetrics/injection.go 18.2% 11.1% -7.1
pkg/reconciler/events/cloudevent/cloudeventclient.go 31.8% 28.6% -3.2
pkg/reconciler/notifications/customrun/controller.go 100.0% 90.9% -9.1
pkg/reconciler/pipelinerun/controller.go 100.0% 82.6% -17.4
pkg/reconciler/resolutionrequest/controller.go 100.0% 85.7% -14.3
pkg/reconciler/taskrun/controller.go 95.2% 87.0% -8.3
pkg/resolution/resolver/framework/controller.go 55.4% 55.2% -0.2
pkg/taskrunmetrics/injection.go 18.2% 11.1% -7.1

@tekton-robot tekton-robot added size/L Denotes a PR that changes 100-499 lines, ignoring generated files. and removed size/M Denotes a PR that changes 30-99 lines, ignoring generated files. labels Jul 28, 2023
@tekton-robot
Copy link
Collaborator

The following is the coverage report on the affected files.
Say /test pull-tekton-pipeline-go-coverage to re-run this coverage report

File Old Coverage New Coverage Delta
pkg/pipelinerunmetrics/injection.go 18.2% 11.1% -7.1
pkg/reconciler/events/cloudevent/cloudeventclient.go 31.8% 28.6% -3.2
pkg/reconciler/notifications/customrun/controller.go 100.0% 90.9% -9.1
pkg/reconciler/pipelinerun/controller.go 100.0% 82.6% -17.4
pkg/reconciler/resolutionrequest/controller.go 100.0% 85.7% -14.3
pkg/reconciler/taskrun/controller.go 95.2% 87.0% -8.3
pkg/resolution/resolver/framework/controller.go 55.4% 55.2% -0.2
pkg/taskrunmetrics/injection.go 18.2% 11.1% -7.1

@tekton-robot
Copy link
Collaborator

The following is the coverage report on the affected files.
Say /test pull-tekton-pipeline-go-coverage-df to re-run this coverage report

File Old Coverage New Coverage Delta
pkg/pipelinerunmetrics/injection.go 18.2% 11.1% -7.1
pkg/reconciler/events/cloudevent/cloudeventclient.go 31.8% 28.6% -3.2
pkg/reconciler/notifications/customrun/controller.go 100.0% 90.9% -9.1
pkg/reconciler/pipelinerun/controller.go 100.0% 82.6% -17.4
pkg/reconciler/resolutionrequest/controller.go 100.0% 85.7% -14.3
pkg/reconciler/taskrun/controller.go 95.2% 87.0% -8.3
pkg/resolution/resolver/framework/controller.go 55.4% 55.2% -0.2
pkg/taskrunmetrics/injection.go 18.2% 11.1% -7.1

@vdemeester vdemeester force-pushed the bump-knative-1.11 branch 2 times, most recently from 9f056cd to fc2dbe0 Compare July 28, 2023 14:13
@tekton-robot
Copy link
Collaborator

The following is the coverage report on the affected files.
Say /test pull-tekton-pipeline-go-coverage to re-run this coverage report

File Old Coverage New Coverage Delta
pkg/pipelinerunmetrics/injection.go 18.2% 11.1% -7.1
pkg/reconciler/events/cloudevent/cloudeventclient.go 31.8% 28.6% -3.2
pkg/reconciler/notifications/customrun/controller.go 100.0% 90.9% -9.1
pkg/reconciler/pipelinerun/controller.go 100.0% 82.6% -17.4
pkg/reconciler/resolutionrequest/controller.go 100.0% 85.7% -14.3
pkg/reconciler/taskrun/controller.go 95.2% 87.0% -8.3
pkg/resolution/resolver/framework/controller.go 55.4% 55.2% -0.2
pkg/taskrunmetrics/injection.go 18.2% 11.1% -7.1

@tekton-robot
Copy link
Collaborator

The following is the coverage report on the affected files.
Say /test pull-tekton-pipeline-go-coverage-df to re-run this coverage report

File Old Coverage New Coverage Delta
pkg/pipelinerunmetrics/injection.go 18.2% 11.1% -7.1
pkg/reconciler/events/cloudevent/cloudeventclient.go 31.8% 28.6% -3.2
pkg/reconciler/notifications/customrun/controller.go 100.0% 90.9% -9.1
pkg/reconciler/pipelinerun/controller.go 100.0% 82.6% -17.4
pkg/reconciler/resolutionrequest/controller.go 100.0% 85.7% -14.3
pkg/reconciler/taskrun/controller.go 95.2% 87.0% -8.3
pkg/resolution/resolver/framework/controller.go 55.4% 55.2% -0.2
pkg/taskrunmetrics/injection.go 18.2% 11.1% -7.1

@tekton-robot tekton-robot added size/M Denotes a PR that changes 30-99 lines, ignoring generated files. and removed size/L Denotes a PR that changes 100-499 lines, ignoring generated files. labels Jul 31, 2023
@tekton-robot
Copy link
Collaborator

The following is the coverage report on the affected files.
Say /test pull-tekton-pipeline-go-coverage to re-run this coverage report

File Old Coverage New Coverage Delta
pkg/pipelinerunmetrics/injection.go 18.2% 11.1% -7.1
pkg/reconciler/events/cloudevent/cloudeventclient.go 31.8% 28.6% -3.2
pkg/reconciler/notifications/customrun/controller.go 100.0% 90.9% -9.1
pkg/reconciler/pipelinerun/controller.go 100.0% 82.6% -17.4
pkg/reconciler/resolutionrequest/controller.go 100.0% 85.7% -14.3
pkg/reconciler/taskrun/controller.go 95.2% 87.0% -8.3
pkg/resolution/resolver/framework/controller.go 55.4% 55.2% -0.2
pkg/taskrunmetrics/injection.go 18.2% 11.1% -7.1

@vdemeester vdemeester closed this Aug 1, 2023
@vdemeester vdemeester reopened this Aug 1, 2023
@tekton-robot
Copy link
Collaborator

The following is the coverage report on the affected files.
Say /test pull-tekton-pipeline-go-coverage to re-run this coverage report

File Old Coverage New Coverage Delta
pkg/pipelinerunmetrics/injection.go 18.2% 11.1% -7.1
pkg/reconciler/events/cloudevent/cloudeventclient.go 31.8% 28.6% -3.2
pkg/reconciler/notifications/customrun/controller.go 100.0% 90.9% -9.1
pkg/reconciler/pipelinerun/controller.go 100.0% 82.6% -17.4
pkg/reconciler/resolutionrequest/controller.go 100.0% 85.7% -14.3
pkg/reconciler/taskrun/controller.go 95.2% 87.0% -8.3
pkg/resolution/resolver/framework/controller.go 55.4% 55.2% -0.2
pkg/taskrunmetrics/injection.go 18.2% 11.1% -7.1

@tekton-robot
Copy link
Collaborator

The following is the coverage report on the affected files.
Say /test pull-tekton-pipeline-go-coverage-df to re-run this coverage report

File Old Coverage New Coverage Delta
pkg/pipelinerunmetrics/injection.go 18.2% 11.1% -7.1
pkg/reconciler/events/cloudevent/cloudeventclient.go 31.8% 28.6% -3.2
pkg/reconciler/notifications/customrun/controller.go 100.0% 90.9% -9.1
pkg/reconciler/pipelinerun/controller.go 100.0% 82.6% -17.4
pkg/reconciler/resolutionrequest/controller.go 100.0% 85.7% -14.3
pkg/reconciler/taskrun/controller.go 95.2% 87.0% -8.3
pkg/resolution/resolver/framework/controller.go 55.4% 55.2% -0.2
pkg/taskrunmetrics/injection.go 18.2% 11.1% -7.1

@tekton-robot
Copy link
Collaborator

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: lbernick

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

@tekton-robot tekton-robot added the approved Indicates a PR has been approved by an approver from all required OWNERS files. label Aug 3, 2023
@tekton-robot
Copy link
Collaborator

The following is the coverage report on the affected files.
Say /test pull-tekton-pipeline-go-coverage to re-run this coverage report

File Old Coverage New Coverage Delta
pkg/pipelinerunmetrics/injection.go 18.2% 11.1% -7.1
pkg/reconciler/events/cloudevent/cloudeventclient.go 31.8% 28.6% -3.2
pkg/reconciler/notifications/customrun/controller.go 100.0% 90.9% -9.1
pkg/reconciler/pipelinerun/controller.go 100.0% 82.6% -17.4
pkg/reconciler/resolutionrequest/controller.go 100.0% 85.7% -14.3
pkg/reconciler/taskrun/controller.go 95.2% 87.0% -8.3
pkg/resolution/resolver/framework/controller.go 55.4% 55.2% -0.2
pkg/taskrunmetrics/injection.go 18.2% 11.1% -7.1

@tekton-robot
Copy link
Collaborator

The following is the coverage report on the affected files.
Say /test pull-tekton-pipeline-go-coverage-df to re-run this coverage report

File Old Coverage New Coverage Delta
pkg/pipelinerunmetrics/injection.go 18.2% 11.1% -7.1
pkg/reconciler/events/cloudevent/cloudeventclient.go 31.8% 28.6% -3.2
pkg/reconciler/notifications/customrun/controller.go 100.0% 90.9% -9.1
pkg/reconciler/pipelinerun/controller.go 100.0% 82.6% -17.4
pkg/reconciler/resolutionrequest/controller.go 100.0% 85.7% -14.3
pkg/reconciler/taskrun/controller.go 95.2% 87.0% -8.3
pkg/resolution/resolver/framework/controller.go 55.4% 55.2% -0.2
pkg/taskrunmetrics/injection.go 18.2% 11.1% -7.1

@vdemeester
Copy link
Member Author

/retest

Copy link
Member

@afrittoli afrittoli left a comment

Choose a reason for hiding this comment

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

Thank you @vdemeester !
/lgtm

@tekton-robot tekton-robot added the lgtm Indicates that a PR is ready to be merged. label Aug 8, 2023
@vdemeester
Copy link
Member Author

arg.. needs a rebase 😅

@tekton-robot tekton-robot added the needs-rebase Indicates a PR cannot be merged because it has merge conflicts with HEAD. label Aug 8, 2023
This does the following:
- Update the dependency of knative/pkg to 1.11
- Update k8s reference to 1.25 as it's now the k8s min version supported
- Remove "use" of injection.Dynamic (not really used)
  See knative/pkg#2739. It doesn't seem it was
  used anywhere anyway.
- Handle AddEventHandler error.
  The `AddEventHandler` interface has changed and now returns an
  error (and a registration object that we do not need to use for
  now). This handles the error if any arise and also makes the linter
  happy :).

Signed-off-by: Vincent Demeester <[email protected]>
@tekton-robot tekton-robot removed lgtm Indicates that a PR is ready to be merged. needs-rebase Indicates a PR cannot be merged because it has merge conflicts with HEAD. labels Aug 8, 2023
@afrittoli
Copy link
Member

/lgtm

@tekton-robot tekton-robot added the lgtm Indicates that a PR is ready to be merged. label Aug 8, 2023
@tekton-robot
Copy link
Collaborator

The following is the coverage report on the affected files.
Say /test pull-tekton-pipeline-go-coverage to re-run this coverage report

File Old Coverage New Coverage Delta
pkg/pipelinerunmetrics/injection.go 18.2% 11.1% -7.1
pkg/reconciler/events/cloudevent/cloudeventclient.go 31.8% 28.6% -3.2
pkg/reconciler/notifications/customrun/controller.go 100.0% 90.9% -9.1
pkg/reconciler/pipelinerun/controller.go 100.0% 82.6% -17.4
pkg/reconciler/resolutionrequest/controller.go 100.0% 85.7% -14.3
pkg/reconciler/taskrun/controller.go 95.2% 87.0% -8.3
pkg/resolution/resolver/framework/controller.go 55.4% 55.2% -0.2
pkg/taskrunmetrics/injection.go 18.2% 11.1% -7.1

@tekton-robot
Copy link
Collaborator

The following is the coverage report on the affected files.
Say /test pull-tekton-pipeline-go-coverage-df to re-run this coverage report

File Old Coverage New Coverage Delta
pkg/pipelinerunmetrics/injection.go 18.2% 11.1% -7.1
pkg/reconciler/events/cloudevent/cloudeventclient.go 31.8% 28.6% -3.2
pkg/reconciler/notifications/customrun/controller.go 100.0% 90.9% -9.1
pkg/reconciler/pipelinerun/controller.go 100.0% 82.6% -17.4
pkg/reconciler/resolutionrequest/controller.go 100.0% 85.7% -14.3
pkg/reconciler/taskrun/controller.go 95.2% 87.0% -8.3
pkg/resolution/resolver/framework/controller.go 55.4% 55.2% -0.2
pkg/taskrunmetrics/injection.go 18.2% 11.1% -7.1

@tekton-robot tekton-robot merged commit 31c9a8c into tektoncd:main Aug 8, 2023
@vdemeester vdemeester deleted the bump-knative-1.11 branch August 8, 2023 14:35
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. kind/misc Categorizes issue or PR as a miscellaneuous one. lgtm Indicates that a PR is ready to be merged. release-note Denotes a PR that will be considered when it comes time to generate release notes. size/M Denotes a PR that changes 30-99 lines, ignoring generated files.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants