-
Notifications
You must be signed in to change notification settings - Fork 1.8k
Migrate from sets.{Strings, Byte, Int...} to generic sets.Set #8669
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
Conversation
The sets library deprecated sets.String, Byte, and Int... making them obsolete. Switching to the generic sets.Set ensures compatibility with future versions.
…line into use-generic-sets
|
…line into use-generic-sets
/kind misc |
Migrate from sets.{Strings, Byte, Int...} to generic sets.Set
a4515a9
to
0374775
Compare
/assign @vdemeester |
fd38a06
to
0374775
Compare
[APPROVALNOTIFIER] This PR is NOT APPROVED This pull-request has been approved by: The full list of commands accepted by this bot can be found here.
Needs approval from an approver in each of these files:
Approvers can indicate their approval by writing |
@Alhanaqtah: PR needs rebase. 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. |
Bumps [github.com/spiffe/spire-api-sdk](https://github.com/spiffe/spire-api-sdk) from 1.12.0 to 1.12.4. - [Commits](spiffe/spire-api-sdk@v1.12.0...v1.12.4) --- updated-dependencies: - dependency-name: github.com/spiffe/spire-api-sdk dependency-version: 1.12.4 dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] <support@github.com>
Signed-off-by: Andrea Frittoli <andrea.frittoli@uk.ibm.com>
There is likely *no* kubernetes cluster running linux/arm (v5, v6 or v7), so removing it to reduce build and release time. Signed-off-by: Vincent Demeester <vdemeest@redhat.com>
Before this, metrics were beign registered and unregisterd even when anything in configMap used to change including revision, etc. This causes gap in the metrics and gives us incorrect data over a long time if configmap revision changes. Assisted-by: Gemini for unit testing
Bumps [github.com/jenkins-x/go-scm](https://github.com/jenkins-x/go-scm) from 1.14.58 to 1.14.59. - [Release notes](https://github.com/jenkins-x/go-scm/releases) - [Changelog](https://github.com/jenkins-x/go-scm/blob/main/CHANGELOG.md) - [Commits](jenkins-x/go-scm@v1.14.58...v1.14.59) --- updated-dependencies: - dependency-name: github.com/jenkins-x/go-scm dependency-version: 1.14.59 dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] <support@github.com>
Bumps the all group in /tekton with 4 updates: [chainguard/crane](https://github.com/chainguard-images/images), [chainguard/go](https://github.com/chainguard-images/images), tektoncd/plumbing/ko and tektoncd/plumbing/koparse. Updates `chainguard/crane` from `3481a43` to `6b052a3` - [Commits](https://github.com/chainguard-images/images/commits) Updates `chainguard/go` from `65c0048` to `3d0406e` - [Commits](https://github.com/chainguard-images/images/commits) Updates `tektoncd/plumbing/ko` from `ec0db95` to `67e0094` Updates `tektoncd/plumbing/koparse` from `a760454` to `bc4641d` --- updated-dependencies: - dependency-name: chainguard/crane dependency-version: latest-dev dependency-type: direct:production dependency-group: all - dependency-name: chainguard/go dependency-version: latest-dev dependency-type: direct:production dependency-group: all - dependency-name: tektoncd/plumbing/ko dependency-version: 67e0094e43a41be52c0e8c25917c7abb0470686ee3f66c042b62928c96d55cb1 dependency-type: direct:production dependency-group: all - dependency-name: tektoncd/plumbing/koparse dependency-version: bc4641d082e52ea4567528578d49fee624c691c8253ab0c682820858379334dc dependency-type: direct:production dependency-group: all ... Signed-off-by: dependabot[bot] <support@github.com>
Bumps [tj-actions/changed-files](https://github.com/tj-actions/changed-files) from e8772ff27de71367c2771ef3e8b5b2075b3f8282 to cf79a64fed8a943fb1073260883d08fe0dfb4e56. - [Release notes](https://github.com/tj-actions/changed-files/releases) - [Changelog](https://github.com/tj-actions/changed-files/blob/main/HISTORY.md) - [Commits](tj-actions/changed-files@e8772ff...cf79a64) --- updated-dependencies: - dependency-name: tj-actions/changed-files dependency-version: cf79a64fed8a943fb1073260883d08fe0dfb4e56 dependency-type: direct:production ... Signed-off-by: dependabot[bot] <support@github.com>
There was still a few references that makes the CI fail. This should fix it. Signed-off-by: Vincent Demeester <vdemeest@redhat.com>
Bumps [golang.org/x/sync](https://github.com/golang/sync) from 0.15.0 to 0.16.0. - [Commits](golang/sync@v0.15.0...v0.16.0) --- updated-dependencies: - dependency-name: golang.org/x/sync dependency-version: 0.16.0 dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] <support@github.com>
Bumps the all group in /tekton with 4 updates: [chainguard/crane](https://github.com/chainguard-images/images), [chainguard/go](https://github.com/chainguard-images/images), tektoncd/plumbing/ko and tektoncd/plumbing/koparse. Updates `chainguard/crane` from `6b052a3` to `d7c724c` - [Commits](https://github.com/chainguard-images/images/commits) Updates `chainguard/go` from `3d0406e` to `dae27fe` - [Commits](https://github.com/chainguard-images/images/commits) Updates `tektoncd/plumbing/ko` from `67e0094` to `29ddcb6` Updates `tektoncd/plumbing/koparse` from `bc4641d` to `1898ef5` --- updated-dependencies: - dependency-name: chainguard/crane dependency-version: latest-dev dependency-type: direct:production dependency-group: all - dependency-name: chainguard/go dependency-version: latest-dev dependency-type: direct:production dependency-group: all - dependency-name: tektoncd/plumbing/ko dependency-version: 29ddcb636e24c91210b2137ab3816aa7c8e4dcc46afe1c1beba5c60bec155b42 dependency-type: direct:production dependency-group: all - dependency-name: tektoncd/plumbing/koparse dependency-version: 1898ef549aaff602d06c049136aaf1c1eacc573846c42bbf42d8dc9258235204 dependency-type: direct:production dependency-group: all ... Signed-off-by: dependabot[bot] <support@github.com>
Bumps [tj-actions/changed-files](https://github.com/tj-actions/changed-files) from cf79a64fed8a943fb1073260883d08fe0dfb4e56 to 055970845dd036d7345da7399b7e89f2e10f2b04. - [Release notes](https://github.com/tj-actions/changed-files/releases) - [Changelog](https://github.com/tj-actions/changed-files/blob/main/HISTORY.md) - [Commits](tj-actions/changed-files@cf79a64...0559708) --- updated-dependencies: - dependency-name: tj-actions/changed-files dependency-version: '055970845dd036d7345da7399b7e89f2e10f2b04' dependency-type: direct:production ... Signed-off-by: dependabot[bot] <support@github.com>
Bumps [github.com/jenkins-x/go-scm](https://github.com/jenkins-x/go-scm) from 1.14.59 to 1.15.1. - [Release notes](https://github.com/jenkins-x/go-scm/releases) - [Changelog](https://github.com/jenkins-x/go-scm/blob/main/CHANGELOG.md) - [Commits](jenkins-x/go-scm@v1.14.59...v1.15.1) --- updated-dependencies: - dependency-name: github.com/jenkins-x/go-scm dependency-version: 1.15.1 dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] <support@github.com>
Bumps [k8s.io/api](https://github.com/kubernetes/api) from 0.32.6 to 0.32.7. - [Commits](kubernetes/api@v0.32.6...v0.32.7) --- updated-dependencies: - dependency-name: k8s.io/api dependency-version: 0.32.7 dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] <support@github.com>
This commit removes the following deprecated metrics that have been replaced with corresponding metrics. We have given sufficient time to user to migrate to newer metrics.
Bumps [github.com/google/cel-go](https://github.com/google/cel-go) from 0.25.0 to 0.26.0. - [Release notes](https://github.com/google/cel-go/releases) - [Commits](google/cel-go@v0.25.0...v0.26.0) --- updated-dependencies: - dependency-name: github.com/google/cel-go dependency-version: 0.26.0 dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] <support@github.com>
Bumps [k8s.io/code-generator](https://github.com/kubernetes/code-generator) from 0.32.6 to 0.32.7. - [Commits](kubernetes/code-generator@v0.32.6...v0.32.7) --- updated-dependencies: - dependency-name: k8s.io/code-generator dependency-version: 0.32.7 dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] <support@github.com>
We are lagging a bit behind in terms of kubernetes version we test against. This updates to run on more "recent" versions of Kubernetes. This also removes some old, unsupported version of Kubernetes from `setup-kind.sh`. Signed-off-by: Vincent Demeester <vincent@sbr.pm>
--- updated-dependencies: - dependency-name: k8s.io/client-go dependency-version: 0.32.7 dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] <support@github.com>
--- updated-dependencies: - dependency-name: chainguard/crane dependency-version: latest-dev dependency-type: direct:production dependency-group: all - dependency-name: chainguard/go dependency-version: latest-dev dependency-type: direct:production dependency-group: all - dependency-name: tektoncd/plumbing/ko dependency-version: d21b05e426096c01ea026678a94d019f860e5ba04929b5fd2dd8bb0aaccf31d2 dependency-type: direct:production dependency-group: all ... Signed-off-by: dependabot[bot] <support@github.com>
Bumps [step-security/harden-runner](https://github.com/step-security/harden-runner) from 2.12.2 to 2.13.0. - [Release notes](https://github.com/step-security/harden-runner/releases) - [Commits](step-security/harden-runner@6c439dc...ec9f2d5) --- updated-dependencies: - dependency-name: step-security/harden-runner dependency-version: 2.13.0 dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] <support@github.com>
With the hub deprecation and up-coming shutdown of the hub.tekton.dev instance, we should stop having a default value for the TEKTON_HUB_API uri. This doesn't stop users to use their own instance of the tektoncd/hub with the resolver. Signed-off-by: Vincent Demeester <vdemeest@redhat.com>
This is mainly to keep it consistent with the rest of the object that are not getting validated on deletion. Signed-off-by: Vincent Demeester <vdemeest@redhat.com>
Issue tektoncd#8876. Signed-off-by: Stanislav Jakuschevskij <stas@two-giants.com>
Bumps [github/codeql-action](https://github.com/github/codeql-action) from 3.29.2 to 3.29.3. - [Release notes](https://github.com/github/codeql-action/releases) - [Changelog](https://github.com/github/codeql-action/blob/main/CHANGELOG.md) - [Commits](github/codeql-action@181d5ee...d6bbdef) --- updated-dependencies: - dependency-name: github/codeql-action dependency-version: 3.29.3 dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] <support@github.com>
The sets library deprecated sets.String, Byte, and Int... making them obsolete. Switching to the generic sets.Set ensures compatibility with future versions.
Changes
The sets library deprecated sets.{String, Byte, Int...} making them obsolete.
Switching to the generic sets.Set ensures compatibility with future versions.
Relate #7374
Submitter Checklist
As the author of this PR, please check off the items in this checklist:
/kind <type>
. Valid types are bug, cleanup, design, documentation, feature, flake, misc, question, tepRelease Notes