Skip to content

Conversation

@nixpanic
Copy link
Member

@nixpanic nixpanic commented Apr 29, 2024

Kubernetes 1.30 packages require Go 1.22 or newer.

With a new Go version, golangci-lint reports more issues, these are addressed as well.

golangci-lint reports these:

The copy of the 'for' variable "kmsID" can be deleted (Go 1.22+)
(copyloopvar)

golangci-lint warns about this:

for loop can be changed to use an integer range (Go 1.22+)
(intrange)

gosec warns about it like this:

G601: Implicit memory aliasing in for loop. (gosec)

Related-to: #4569

Kubernetes 1.30 packages require Go 1.22 or newer.

Signed-off-by: Niels de Vos <[email protected]>
golangci-lint reports these:

    The copy of the 'for' variable "kmsID" can be deleted (Go 1.22+)
    (copyloopvar)

Signed-off-by: Niels de Vos <[email protected]>
golangci-lint warns about this:

    for loop can be changed to use an integer range (Go 1.22+)
    (intrange)

Signed-off-by: Niels de Vos <[email protected]>
gosec warns about it like this:

    G601: Implicit memory aliasing in for loop. (gosec)

Signed-off-by: Niels de Vos <[email protected]>
@mergify mergify bot added the component/build Issues and PRs related to compiling Ceph-CSI label Apr 29, 2024
Copy link
Contributor

@Rakshith-R Rakshith-R left a comment

Choose a reason for hiding this comment

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

Only this linter commit needs a another approach.

0fc86df

@nixpanic nixpanic requested a review from Rakshith-R April 29, 2024 11:35
@Rakshith-R Rakshith-R requested a review from a team April 29, 2024 11:57
@nixpanic
Copy link
Member Author

@Mergifyio queue

@mergify
Copy link
Contributor

mergify bot commented Apr 29, 2024

queue

🛑 The pull request has been removed from the queue default

The queue conditions cannot be satisfied due to failing checks.

You can take a look at Queue: Embarked in merge queue check runs for more details.

In case of a failure due to a flaky test, you should first retrigger the CI.
Then, re-embark the pull request into the merge queue by posting the comment
@mergifyio refresh on the pull request.

@mergify mergify bot added the ok-to-test Label to trigger E2E tests label Apr 29, 2024
@ceph-csi-bot
Copy link
Collaborator

/test ci/centos/k8s-e2e-external-storage/1.27

@ceph-csi-bot
Copy link
Collaborator

/test ci/centos/k8s-e2e-external-storage/1.28

@ceph-csi-bot
Copy link
Collaborator

/test ci/centos/mini-e2e-helm/k8s-1.27

@ceph-csi-bot
Copy link
Collaborator

/test ci/centos/mini-e2e-helm/k8s-1.28

@ceph-csi-bot
Copy link
Collaborator

/test ci/centos/mini-e2e/k8s-1.27

@ceph-csi-bot
Copy link
Collaborator

/test ci/centos/mini-e2e/k8s-1.28

@ceph-csi-bot
Copy link
Collaborator

/test ci/centos/k8s-e2e-external-storage/1.29

@ceph-csi-bot
Copy link
Collaborator

/test ci/centos/mini-e2e-helm/k8s-1.29

@ceph-csi-bot
Copy link
Collaborator

/test ci/centos/mini-e2e/k8s-1.29

@ceph-csi-bot
Copy link
Collaborator

/test ci/centos/upgrade-tests-cephfs

@ceph-csi-bot
Copy link
Collaborator

/test ci/centos/upgrade-tests-rbd

@ceph-csi-bot ceph-csi-bot removed the ok-to-test Label to trigger E2E tests label Apr 29, 2024
@nixpanic
Copy link
Member Author

/retest ci/centos/mini-e2e-helm/k8s-1.28

@nixpanic
Copy link
Member Author

@Mergifyio requeue

@nixpanic
Copy link
Member Author

/retest ci/centos/mini-e2e-helm/k8s-1.28

Failed with a mismatch of backend images

@mergify
Copy link
Contributor

mergify bot commented Apr 29, 2024

requeue

✅ The queue state of this pull request has been cleaned. It can be re-embarked automatically

@mergify mergify bot merged commit 6db7138 into ceph:devel Apr 29, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

component/build Issues and PRs related to compiling Ceph-CSI

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants