Skip to content

Commit fcff540

Browse files
authored
Merge branch 'openstack-k8s-operators:main' into main
2 parents 3815767 + d608ed5 commit fcff540

20 files changed

Lines changed: 319 additions & 309 deletions

.ci-operator.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
build_root_image:
22
name: tools
33
namespace: openstack-k8s-operators
4-
tag: ci-build-root-golang-1.24-sdk-1.41.1
4+
tag: ci-build-root-golang-1.26-sdk-1.42.3

.github/workflows/build-openstack-operator.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,8 +13,8 @@ jobs:
1313
uses: openstack-k8s-operators/openstack-k8s-operators-ci/.github/workflows/reusable-build-operator.yaml@main
1414
with:
1515
operator_name: openstack
16-
go_version: 1.24.x
17-
operator_sdk_version: 1.41.1
16+
go_version: 1.26.x
17+
operator_sdk_version: 1.42.3
1818
bundle_dockerfile: ./bundle.Dockerfile
1919
operator_version: 0.7.0
2020
secrets:

.github/workflows/docs.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ jobs:
2121
- name: Install Go
2222
uses: actions/setup-go@be3c94b385c4f180051c996d336f57a34c397495 # v3
2323
with:
24-
go-version: 1.24.x
24+
go-version: 1.26.x
2525
- uses: actions/checkout@34e114876b0b11c390a56381ad16ebd13914f8d5 # v4
2626
with:
2727
# this fetches all branches. Needed because we need gh-pages branch for deploy to work

.github/workflows/force-bump-pr-manual.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,6 @@ jobs:
99
with:
1010
operator_name: openstack
1111
branch_name: ${{ github.ref_name }}
12-
custom_image: quay.io/openstack-k8s-operators/openstack-k8s-operators-ci-build-tools:golang-1.24-sdk-1.41.1
12+
custom_image: quay.io/openstack-k8s-operators/openstack-k8s-operators-ci-build-tools:golang-1.26-sdk-1.42.3
1313
secrets:
1414
FORCE_BUMP_PULL_REQUEST_PAT: ${{ secrets.FORCE_BUMP_PULL_REQUEST_PAT }}

.github/workflows/force-bump-pr-scheduled.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,6 @@ jobs:
1010
uses: openstack-k8s-operators/openstack-k8s-operators-ci/.github/workflows/force-bump-branches.yaml@main
1111
with:
1212
operator_name: openstack
13-
custom_image: quay.io/openstack-k8s-operators/openstack-k8s-operators-ci-build-tools:golang-1.24-sdk-1.41.1
13+
custom_image: quay.io/openstack-k8s-operators/openstack-k8s-operators-ci-build-tools:golang-1.26-sdk-1.42.3
1414
secrets:
1515
FORCE_BUMP_PULL_REQUEST_PAT: ${{ secrets.FORCE_BUMP_PULL_REQUEST_PAT }}

.github/workflows/kustom.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ jobs:
1616
- name: Install Go
1717
uses: actions/setup-go@be3c94b385c4f180051c996d336f57a34c397495 # v3
1818
with:
19-
go-version: 1.24.x
19+
go-version: 1.26.x
2020
- uses: actions/checkout@34e114876b0b11c390a56381ad16ebd13914f8d5 # v4
2121
with:
2222
# this fetches all branches. Needed because we need gh-pages branch for deploy to work

.golangci.yaml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,11 @@ linters:
88
- revive
99
- ginkgolinter
1010
- govet
11+
settings:
12+
govet:
13+
disable:
14+
# TODO: re-enable once golangci-lint supports Go 1.26 inlining of generics
15+
- inline
1116

1217
formatters:
1318
enable:

.pre-commit-config.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -70,7 +70,7 @@ repos:
7070
entry: bashate --error . --ignore=E006,E040,E011,E020,E012
7171

7272
- repo: https://github.com/golangci/golangci-lint
73-
rev: v2.7.2
73+
rev: v2.12.2
7474
hooks:
7575
- id: golangci-lint-full
7676
args: ["-v"]

Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# TODO(amoralej) go-toolset image pinned until a fix is provided for
22
# https://issues.redhat.com/browse/RHEL-128838
3-
ARG GOLANG_BUILDER=registry.access.redhat.com/ubi9/go-toolset:1.24.6-1762230058
3+
ARG GOLANG_BUILDER=registry.access.redhat.com/ubi9/go-toolset:1.26
44
ARG OPERATOR_BASE_IMAGE=registry.access.redhat.com/ubi9/ubi-minimal:9.6
55
# Build the manager binary
66
FROM $GOLANG_BUILDER AS builder

Makefile

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@ REPLACES ?=
5454

5555
# Set the Operator SDK version to use. By default, what is installed on the system is used.
5656
# This is useful for CI or a project to utilize a specific version of the operator-sdk toolkit.
57-
OPERATOR_SDK_VERSION ?= v1.41.1
57+
OPERATOR_SDK_VERSION ?= v1.42.3
5858

5959
# Image URL to use all building/pushing image targets
6060
DEFAULT_IMG ?= quay.io/openstack-k8s-operators/openstack-operator:latest
@@ -197,10 +197,10 @@ tidy: ## Run go mod tidy on every mod file in the repo
197197
go mod tidy
198198
cd ./api && go mod tidy
199199

200-
GOLANGCI_LINT_VERSION ?= v2.7.2
200+
GOLANGCI_LINT_VERSION ?= v2.12.2
201201
.PHONY: golangci-lint
202202
golangci-lint:
203-
test -s $(LOCALBIN)/golangci-lint || curl -sSfL https://raw.githubusercontent.com/golangci/golangci-lint/master/install.sh | sh -s $(GOLANGCI_LINT_VERSION)
203+
test -s $(LOCALBIN)/golangci-lint || curl -sSfL https://golangci-lint.run/install.sh | sh -s $(GOLANGCI_LINT_VERSION)
204204
$(LOCALBIN)/golangci-lint run --fix
205205

206206
MAX_PROCS := 5
@@ -331,7 +331,7 @@ KUSTOMIZE_VERSION ?= v5.6.0 #(dprince: bumped to aquire new features like --load
331331
CONTROLLER_TOOLS_VERSION ?= v0.18.0
332332
CRD_MARKDOWN_VERSION ?= v0.0.3
333333
KUTTL_VERSION ?= 0.17.0
334-
GOTOOLCHAIN_VERSION ?= go1.24.0
334+
GOTOOLCHAIN_VERSION ?= go1.26.0
335335
OC_VERSION ?= 4.16.0
336336

337337
KUSTOMIZE_INSTALL_SCRIPT ?= "https://raw.githubusercontent.com/kubernetes-sigs/kustomize/master/hack/install_kustomize.sh"

0 commit comments

Comments
 (0)