Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions .golangci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,11 +27,11 @@ linters:
- linters:
- staticcheck
path: (.+)\.go$
text: 'SA1019: config.Driver.LicensingConfig.ConfigMapName is deprecated(.+)'
text: 'SA1019: \(github.com/NVIDIA/gpu-operator/api/nvidia/v1.DriverLicensingConfigSpec\).ConfigMapName is deprecated(.+)'
- linters:
- staticcheck
path: (.+)\.go$
text: 'SA1019: cr.Spec.LicensingConfig.Name is deprecated(.+)'
text: 'SA1019: \(github.com/NVIDIA/gpu-operator/api/nvidia/v1alpha1.DriverLicensingConfigSpec\).Name is deprecated(.+)'
formatters:
enable:
- gofmt
Expand Down
4 changes: 2 additions & 2 deletions controllers/upgrade_controller.go
Original file line number Diff line number Diff line change
Expand Up @@ -193,7 +193,7 @@ func (r *UpgradeReconciler) reconcileClusterPolicyDriverUpgrades(ctx context.Con
// might become stuck until the new reconcile loop is scheduled.
// Since node/ds/clusterpolicy updates from outside of the upgrade flow
// are not guaranteed, for safety reconcile loop should be requeued every few minutes.
return ctrl.Result{Requeue: true, RequeueAfter: plannedRequeueInterval}, nil
return ctrl.Result{RequeueAfter: plannedRequeueInterval}, nil
Comment thread
tariq1890 marked this conversation as resolved.
}

// reconcileNVIDIADriverUpgrades handles driver upgrade reconciliation when the NVIDIADriver CRD
Expand Down Expand Up @@ -316,7 +316,7 @@ func (r *UpgradeReconciler) reconcileNVIDIADriverUpgrades(ctx context.Context, r
// might become stuck until the new reconcile loop is scheduled.
// Since node/ds/clusterpolicy updates from outside of the upgrade flow
// are not guaranteed, for safety reconcile loop should be requeued every few minutes.
return ctrl.Result{Requeue: true, RequeueAfter: plannedRequeueInterval}, nil
return ctrl.Result{RequeueAfter: plannedRequeueInterval}, nil
}

// removeNodeUpgradeStateLabels loops over nodes in the cluster and removes "nvidia.com/gpu-driver-upgrade-state"
Expand Down
2 changes: 1 addition & 1 deletion docker/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@

ARG CUDA_SAMPLES_VERSION=13.2

FROM golang:1.26.6@sha256:0d1d3a794be25f809dd2cb3160d8c73276c4056a9f8242a138e908ddeee7b6b6 AS builder
FROM golang:1.27.0@sha256:65b6f280bf050ec5af12716857e8ea8439d694dbba8f31ceeb7630670071f2bb AS builder

ARG GOPROXY="https://proxy.golang.org,direct"
ENV GOPROXY=$GOPROXY
Expand Down
2 changes: 1 addition & 1 deletion docker/Dockerfile.devel
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,6 @@
# limitations under the License.
ARG GOLANGCI_LINT_VERSION=1.60.3

FROM golang:1.26.6@sha256:0d1d3a794be25f809dd2cb3160d8c73276c4056a9f8242a138e908ddeee7b6b6
FROM golang:1.27.0@sha256:65b6f280bf050ec5af12716857e8ea8439d694dbba8f31ceeb7630670071f2bb

RUN curl -sSfL https://golangci-lint.run/install.sh | sh -s -- -b $(go env GOPATH)/bin ${GOLANGCI_LINT_VERSION}
4 changes: 2 additions & 2 deletions versions.mk
Original file line number Diff line number Diff line change
Expand Up @@ -19,9 +19,9 @@
# - use environment variables to overwrite this value (e.g export VERSION=0.0.2)
VERSION ?= v26.7.0

GOLANG_VERSION ?= 1.26.6
GOLANG_VERSION ?= 1.27.0

GOLANGCI_LINT_VERSION ?= v2.12.2
GOLANGCI_LINT_VERSION ?= v2.13.1

REGCTL_VERSION ?= v0.11.5

Expand Down
Loading