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 github.com/golangci/golangci-lint from 1.59.1 to 1.60.1 in /hack/internal/tools #2857

Merged

Conversation

tenzen-y
Copy link
Member

What type of PR is this?

/kind cleanup

What this PR does / why we need it:

I added a commit for fixing lint errors to #2852.

cmd/kueuectl/app/list/list_clusterqueue.go:206:5: S1009: should omit nil check; len() for []bool is defined as zero (gosimple)
        if o.Active == nil || len(o.Active) == 0 {
           ^
pkg/util/testing/client.go:103:39: printf: non-constant format string in call to (*sigs.k8s.io/kueue/pkg/util/testing.EventRecorder).Eventf (govet)
        tr.Eventf(object, eventType, reason, message)

Which issue(s) this PR fixes:

Fixes #

Special notes for your reviewer:

Does this PR introduce a user-facing change?

NONE

@k8s-ci-robot k8s-ci-robot added release-note-none Denotes a PR that doesn't merit a release note. kind/cleanup Categorizes issue or PR as related to cleaning up code, process, or technical debt. cncf-cla: yes Indicates the PR's author has signed the CNCF CLA. labels Aug 19, 2024
@k8s-ci-robot
Copy link
Contributor

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: tenzen-y

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 requested review from mimowo and trasc August 19, 2024 16:55
@k8s-ci-robot k8s-ci-robot added the approved Indicates a PR has been approved by an approver from all required OWNERS files. label Aug 19, 2024
Copy link

netlify bot commented Aug 19, 2024

Deploy Preview for kubernetes-sigs-kueue ready!

Name Link
🔨 Latest commit d96702c
🔍 Latest deploy log https://app.netlify.com/sites/kubernetes-sigs-kueue/deploys/66c66dd77321190009470e46
😎 Deploy Preview https://deploy-preview-2857--kubernetes-sigs-kueue.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify site configuration.

@k8s-ci-robot k8s-ci-robot added the size/S Denotes a PR that changes 10-29 lines, ignoring generated files. label Aug 19, 2024
@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 21, 2024
dependabot bot and others added 2 commits August 22, 2024 07:43
Bumps [github.com/golangci/golangci-lint](https://github.com/golangci/golangci-lint) from 1.59.1 to 1.60.1.
- [Release notes](https://github.com/golangci/golangci-lint/releases)
- [Changelog](https://github.com/golangci/golangci-lint/blob/master/CHANGELOG.md)
- [Commits](golangci/golangci-lint@v1.59.1...v1.60.1)

---
updated-dependencies:
- dependency-name: github.com/golangci/golangci-lint
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
Signed-off-by: Yuki Iwai <yuki.iwai.tz@gmail.com>
@tenzen-y tenzen-y force-pushed the upgrade-golang-ci-lint-versio branch from 16efe66 to d96702c Compare August 21, 2024 22:44
@tenzen-y
Copy link
Member Author

Resolved conflicts.

@tenzen-y
Copy link
Member Author

/test

1 similar comment
@tenzen-y
Copy link
Member Author

/test

@k8s-ci-robot k8s-ci-robot removed the needs-rebase Indicates a PR cannot be merged because it has merge conflicts with HEAD. label Aug 21, 2024
@tenzen-y
Copy link
Member Author

/test

@k8s-ci-robot
Copy link
Contributor

@tenzen-y: The /test command needs one or more targets.
The following commands are available to trigger required jobs:

  • /test pull-kueue-build-image-main
  • /test pull-kueue-test-e2e-main-1-27
  • /test pull-kueue-test-e2e-main-1-28
  • /test pull-kueue-test-e2e-main-1-29
  • /test pull-kueue-test-e2e-main-1-30
  • /test pull-kueue-test-integration-main
  • /test pull-kueue-test-kjobctl
  • /test pull-kueue-test-multikueue-e2e-main
  • /test pull-kueue-test-scheduling-perf-main
  • /test pull-kueue-test-unit-main
  • /test pull-kueue-verify-main

Use /test all to run the following jobs that were automatically triggered:

  • pull-kueue-build-image-main
  • pull-kueue-test-e2e-main-1-27
  • pull-kueue-test-e2e-main-1-28
  • pull-kueue-test-e2e-main-1-29
  • pull-kueue-test-e2e-main-1-30
  • pull-kueue-test-integration-main
  • pull-kueue-test-multikueue-e2e-main
  • pull-kueue-test-scheduling-perf-main
  • pull-kueue-test-unit-main
  • pull-kueue-verify-main

In response to this:

/test

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-sigs/prow repository.

@tenzen-y
Copy link
Member Author

/test all

1 similar comment
@tenzen-y
Copy link
Member Author

/test all

@tenzen-y
Copy link
Member Author

/assign @gabesaba

@gabesaba
Copy link
Contributor

/lgtm

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

LGTM label has been added.

Git tree hash: 3c00cd9adbb3511928f4c2f8462f57ae2e0aafe3

@k8s-ci-robot k8s-ci-robot merged commit 8671ee5 into kubernetes-sigs:main Aug 26, 2024
17 checks passed
@k8s-ci-robot k8s-ci-robot added this to the v0.9 milestone Aug 26, 2024
@mbobrovskyi
Copy link
Contributor

@k8s-infra-cherrypick-robot
Copy link
Contributor

@mbobrovskyi: #2857 failed to apply on top of branch "release-0.8":

Applying: Bump github.com/golangci/golangci-lint in /hack/internal/tools
Using index info to reconstruct a base tree...
M	hack/internal/tools/go.mod
M	hack/internal/tools/go.sum
Falling back to patching base and 3-way merge...
Auto-merging hack/internal/tools/go.sum
CONFLICT (content): Merge conflict in hack/internal/tools/go.sum
Auto-merging hack/internal/tools/go.mod
CONFLICT (content): Merge conflict in hack/internal/tools/go.mod
error: Failed to merge in the changes.
hint: Use 'git am --show-current-patch=diff' to see the failed patch
Patch failed at 0001 Bump github.com/golangci/golangci-lint in /hack/internal/tools
When you have resolved this problem, run "git am --continue".
If you prefer to skip this patch, run "git am --skip" instead.
To restore the original branch and stop patching, run "git am --abort".

In response to this:

/cherry-pick release-0.8

Due to we have an error with linter https://prow.k8s.io/view/gs/kubernetes-jenkins/pr-logs/pull/kubernetes-sigs_kueue/3052/pull-kueue-verify-release-0-8/1835582478505480192.

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-sigs/prow repository.

k8s-ci-robot pushed a commit that referenced this pull request Sep 16, 2024
…t from 1.59.1 to 1.60.1 in /hack/internal/tools (#3055)

* Bump github.com/golangci/golangci-lint in /hack/internal/tools

Bumps [github.com/golangci/golangci-lint](https://github.com/golangci/golangci-lint) from 1.59.1 to 1.60.1.
- [Release notes](https://github.com/golangci/golangci-lint/releases)
- [Changelog](https://github.com/golangci/golangci-lint/blob/master/CHANGELOG.md)
- [Commits](golangci/golangci-lint@v1.59.1...v1.60.1)

* Fix golangci-lint errors

Signed-off-by: Yuki Iwai <yuki.iwai.tz@gmail.com>

---------

Signed-off-by: Yuki Iwai <yuki.iwai.tz@gmail.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Yuki Iwai <yuki.iwai.tz@gmail.com>
kannon92 pushed a commit to openshift-kannon92/kubernetes-sigs-kueue that referenced this pull request Nov 19, 2024
…/internal/tools (kubernetes-sigs#2857)

* Bump github.com/golangci/golangci-lint in /hack/internal/tools

Bumps [github.com/golangci/golangci-lint](https://github.com/golangci/golangci-lint) from 1.59.1 to 1.60.1.
- [Release notes](https://github.com/golangci/golangci-lint/releases)
- [Changelog](https://github.com/golangci/golangci-lint/blob/master/CHANGELOG.md)
- [Commits](golangci/golangci-lint@v1.59.1...v1.60.1)

---
updated-dependencies:
- dependency-name: github.com/golangci/golangci-lint
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>

* Fix golangci-lint errors

Signed-off-by: Yuki Iwai <yuki.iwai.tz@gmail.com>

---------

Signed-off-by: dependabot[bot] <support@github.com>
Signed-off-by: Yuki Iwai <yuki.iwai.tz@gmail.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
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. kind/cleanup Categorizes issue or PR as related to cleaning up code, process, or technical debt. lgtm "Looks good to me", indicates that a PR is ready to be merged. release-note-none Denotes a PR that doesn't merit a release note. size/S Denotes a PR that changes 10-29 lines, ignoring generated files.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants