Skip to content

Commit

Permalink
[release/v1.58] Update Prow jobs to build image with Go 1.21.5 (#1747)
Browse files Browse the repository at this point in the history
* [release/v1.58] Update Prow jobs to build image with Go 1.21.5

Signed-off-by: Marvin Beckers <marvin@kubermatic.com>

* [release/v1.58] Also update Dockerfile and Makefile

Signed-off-by: Marvin Beckers <marvin@kubermatic.com>

* [release/v1.58] Use stable OSM release

Signed-off-by: Marvin Beckers <marvin@kubermatic.com>

* [release/v1.58] Update to fixed build image

Signed-off-by: Marvin Beckers <marvin@kubermatic.com>

---------

Signed-off-by: Marvin Beckers <marvin@kubermatic.com>
  • Loading branch information
embik committed Dec 12, 2023
1 parent 461f224 commit 3b0c3a3
Show file tree
Hide file tree
Showing 23 changed files with 43 additions and 43 deletions.
8 changes: 4 additions & 4 deletions .prow/e2e-features.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ presubmits:
preset-kubeconfig-ci: "true"
spec:
containers:
- image: quay.io/kubermatic/build:go-1.21-node-18-kind-0.20-6
- image: quay.io/kubermatic/build:go-1.21-node-18-kind-0.20-9
command:
- "./hack/ci/run-e2e-tests.sh"
args:
Expand Down Expand Up @@ -63,7 +63,7 @@ presubmits:
preset-kubeconfig-ci: "true"
spec:
containers:
- image: quay.io/kubermatic/build:go-1.21-node-18-kind-0.20-6
- image: quay.io/kubermatic/build:go-1.21-node-18-kind-0.20-9
command:
- "./hack/ci/run-e2e-tests.sh"
args:
Expand Down Expand Up @@ -92,7 +92,7 @@ presubmits:
preset-kubeconfig-ci: "true"
spec:
containers:
- image: quay.io/kubermatic/build:go-1.21-node-18-kind-0.20-6
- image: quay.io/kubermatic/build:go-1.21-node-18-kind-0.20-9
command:
- "./hack/ci/run-e2e-tests.sh"
args:
Expand All @@ -119,7 +119,7 @@ presubmits:
preset-kubeconfig-ci: "true"
spec:
containers:
- image: quay.io/kubermatic/build:go-1.21-node-18-kind-0.20-6
- image: quay.io/kubermatic/build:go-1.21-node-18-kind-0.20-9
command:
- "./hack/ci/run-e2e-tests.sh"
args:
Expand Down
4 changes: 2 additions & 2 deletions .prow/postsubmits.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ postsubmits:
preset-goproxy: "true"
spec:
containers:
- image: quay.io/kubermatic/build:go-1.21-node-18-kind-0.20-6
- image: quay.io/kubermatic/build:go-1.21-node-18-kind-0.20-9
command:
- /bin/bash
- -c
Expand Down Expand Up @@ -54,7 +54,7 @@ postsubmits:
preset-goproxy: "true"
spec:
containers:
- image: quay.io/kubermatic/build:go-1.21-node-18-kind-0.20-6
- image: quay.io/kubermatic/build:go-1.21-node-18-kind-0.20-9
command:
- "./hack/ci/upload-gocache.sh"
resources:
Expand Down
2 changes: 1 addition & 1 deletion .prow/provider-alibaba.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ presubmits:
preset-kubeconfig-ci: "true"
spec:
containers:
- image: quay.io/kubermatic/build:go-1.21-node-18-kind-0.20-6
- image: quay.io/kubermatic/build:go-1.21-node-18-kind-0.20-9
command:
- "./hack/ci/run-e2e-tests.sh"
args:
Expand Down
2 changes: 1 addition & 1 deletion .prow/provider-anexia.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ presubmits:
preset-kubeconfig-ci: "true"
spec:
containers:
- image: quay.io/kubermatic/build:go-1.21-node-18-kind-0.20-6
- image: quay.io/kubermatic/build:go-1.21-node-18-kind-0.20-9
command:
- "./hack/ci/run-e2e-tests.sh"
args:
Expand Down
16 changes: 8 additions & 8 deletions .prow/provider-aws.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ presubmits:
preset-kubeconfig-ci: "true"
spec:
containers:
- image: quay.io/kubermatic/build:go-1.21-node-18-kind-0.20-6
- image: quay.io/kubermatic/build:go-1.21-node-18-kind-0.20-9
command:
- "./hack/ci/run-e2e-tests.sh"
args:
Expand Down Expand Up @@ -60,7 +60,7 @@ presubmits:
preset-kubeconfig-ci: "true"
spec:
containers:
- image: quay.io/kubermatic/build:go-1.21-node-18-kind-0.20-6
- image: quay.io/kubermatic/build:go-1.21-node-18-kind-0.20-9
env:
- name: OPERATING_SYSTEM_MANAGER
value: "false"
Expand Down Expand Up @@ -93,7 +93,7 @@ presubmits:
preset-kubeconfig-ci: "true"
spec:
containers:
- image: quay.io/kubermatic/build:go-1.21-node-18-kind-0.20-6
- image: quay.io/kubermatic/build:go-1.21-node-18-kind-0.20-9
command:
- "./hack/ci/run-e2e-tests.sh"
args:
Expand Down Expand Up @@ -124,7 +124,7 @@ presubmits:
preset-kubeconfig-ci: "true"
spec:
containers:
- image: quay.io/kubermatic/build:go-1.21-node-18-kind-0.20-6
- image: quay.io/kubermatic/build:go-1.21-node-18-kind-0.20-9
command:
- "./hack/ci/run-e2e-tests.sh"
args:
Expand Down Expand Up @@ -156,7 +156,7 @@ presubmits:
preset-kubeconfig-ci: "true"
spec:
containers:
- image: quay.io/kubermatic/build:go-1.21-node-18-kind-0.20-6
- image: quay.io/kubermatic/build:go-1.21-node-18-kind-0.20-9
command:
- "./hack/ci/run-e2e-tests.sh"
args:
Expand Down Expand Up @@ -187,7 +187,7 @@ presubmits:
preset-kubeconfig-ci: "true"
spec:
containers:
- image: quay.io/kubermatic/build:go-1.21-node-18-kind-0.20-6
- image: quay.io/kubermatic/build:go-1.21-node-18-kind-0.20-9
command:
- "./hack/ci/run-e2e-tests.sh"
args:
Expand Down Expand Up @@ -218,7 +218,7 @@ presubmits:
preset-kubeconfig-ci: "true"
spec:
containers:
- image: quay.io/kubermatic/build:go-1.21-node-18-kind-0.20-6
- image: quay.io/kubermatic/build:go-1.21-node-18-kind-0.20-9
command:
- "./hack/ci/run-e2e-tests.sh"
args:
Expand Down Expand Up @@ -249,7 +249,7 @@ presubmits:
preset-kubeconfig-ci: "true"
spec:
containers:
- image: quay.io/kubermatic/build:go-1.21-node-18-kind-0.20-6
- image: quay.io/kubermatic/build:go-1.21-node-18-kind-0.20-9
command:
- "./hack/ci/run-e2e-tests.sh"
args:
Expand Down
6 changes: 3 additions & 3 deletions .prow/provider-azure.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ presubmits:
preset-kubeconfig-ci: "true"
spec:
containers:
- image: quay.io/kubermatic/build:go-1.21-node-18-kind-0.20-6
- image: quay.io/kubermatic/build:go-1.21-node-18-kind-0.20-9
command:
- "./hack/ci/run-e2e-tests.sh"
args:
Expand Down Expand Up @@ -60,7 +60,7 @@ presubmits:
preset-kubeconfig-ci: "true"
spec:
containers:
- image: quay.io/kubermatic/build:go-1.21-node-18-kind-0.20-6
- image: quay.io/kubermatic/build:go-1.21-node-18-kind-0.20-9
command:
- "./hack/ci/run-e2e-tests.sh"
args:
Expand Down Expand Up @@ -93,7 +93,7 @@ presubmits:
preset-kubeconfig-ci: "true"
spec:
containers:
- image: quay.io/kubermatic/build:go-1.21-node-18-kind-0.20-6
- image: quay.io/kubermatic/build:go-1.21-node-18-kind-0.20-9
command:
- "./hack/ci/run-e2e-tests.sh"
args:
Expand Down
2 changes: 1 addition & 1 deletion .prow/provider-digitalocean.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ presubmits:
preset-kubeconfig-ci: "true"
spec:
containers:
- image: quay.io/kubermatic/build:go-1.21-node-18-kind-0.20-6
- image: quay.io/kubermatic/build:go-1.21-node-18-kind-0.20-9
command:
- "./hack/ci/run-e2e-tests.sh"
args:
Expand Down
2 changes: 1 addition & 1 deletion .prow/provider-equinix-metal.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ presubmits:
preset-kubeconfig-ci: "true"
spec:
containers:
- image: quay.io/kubermatic/build:go-1.21-node-18-kind-0.20-6
- image: quay.io/kubermatic/build:go-1.21-node-18-kind-0.20-9
command:
- "./hack/ci/run-e2e-tests.sh"
args:
Expand Down
2 changes: 1 addition & 1 deletion .prow/provider-gcp.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ presubmits:
preset-kubeconfig-ci: "true"
spec:
containers:
- image: quay.io/kubermatic/build:go-1.21-node-18-kind-0.20-6
- image: quay.io/kubermatic/build:go-1.21-node-18-kind-0.20-9
command:
- "./hack/ci/run-e2e-tests.sh"
args:
Expand Down
2 changes: 1 addition & 1 deletion .prow/provider-hetzner.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ presubmits:
preset-kubeconfig-ci: "true"
spec:
containers:
- image: quay.io/kubermatic/build:go-1.21-node-18-kind-0.20-6
- image: quay.io/kubermatic/build:go-1.21-node-18-kind-0.20-9
command:
- "./hack/ci/run-e2e-tests.sh"
args:
Expand Down
2 changes: 1 addition & 1 deletion .prow/provider-kubevirt.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ presubmits:
preset-kubeconfig-ci: "true"
spec:
containers:
- image: quay.io/kubermatic/build:go-1.21-node-18-kind-0.20-6
- image: quay.io/kubermatic/build:go-1.21-node-18-kind-0.20-9
command:
- "./hack/ci/run-e2e-tests.sh"
args:
Expand Down
2 changes: 1 addition & 1 deletion .prow/provider-linode.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ presubmits:
preset-kubeconfig-ci: "true"
spec:
containers:
- image: quay.io/kubermatic/build:go-1.21-node-18-kind-0.20-6
- image: quay.io/kubermatic/build:go-1.21-node-18-kind-0.20-9
command:
- "./hack/ci/run-e2e-tests.sh"
args:
Expand Down
2 changes: 1 addition & 1 deletion .prow/provider-nutanix.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ presubmits:
preset-kubeconfig-ci: "true"
spec:
containers:
- image: quay.io/kubermatic/build:go-1.21-node-18-kind-0.20-6
- image: quay.io/kubermatic/build:go-1.21-node-18-kind-0.20-9
command:
- "./hack/ci/run-e2e-tests.sh"
args:
Expand Down
4 changes: 2 additions & 2 deletions .prow/provider-openstack.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ presubmits:
preset-kubeconfig-ci: "true"
spec:
containers:
- image: quay.io/kubermatic/build:go-1.21-node-18-kind-0.20-6
- image: quay.io/kubermatic/build:go-1.21-node-18-kind-0.20-9
command:
- "./hack/ci/run-e2e-tests.sh"
args:
Expand Down Expand Up @@ -62,7 +62,7 @@ presubmits:
preset-kubeconfig-ci: "true"
spec:
containers:
- image: quay.io/kubermatic/build:go-1.21-node-18-kind-0.20-6
- image: quay.io/kubermatic/build:go-1.21-node-18-kind-0.20-9
command:
- "./hack/ci/run-e2e-tests.sh"
args:
Expand Down
2 changes: 1 addition & 1 deletion .prow/provider-scaleway.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ presubmits:
preset-kubeconfig-ci: "true"
spec:
containers:
- image: quay.io/kubermatic/build:go-1.21-node-18-kind-0.20-6
- image: quay.io/kubermatic/build:go-1.21-node-18-kind-0.20-9
command:
- "./hack/ci/run-e2e-tests.sh"
args:
Expand Down
2 changes: 1 addition & 1 deletion .prow/provider-vmware-cloud-director.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ presubmits:
preset-kubeconfig-ci: "true"
spec:
containers:
- image: quay.io/kubermatic/build:go-1.21-node-18-kind-0.20-6
- image: quay.io/kubermatic/build:go-1.21-node-18-kind-0.20-9
command:
- "./hack/ci/run-e2e-tests.sh"
args:
Expand Down
8 changes: 4 additions & 4 deletions .prow/provider-vsphere.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ presubmits:
preset-kubeconfig-ci: "true"
spec:
containers:
- image: quay.io/kubermatic/build:go-1.21-node-18-kind-0.20-6
- image: quay.io/kubermatic/build:go-1.21-node-18-kind-0.20-9
command:
- "./hack/ci/run-e2e-tests.sh"
args:
Expand Down Expand Up @@ -60,7 +60,7 @@ presubmits:
preset-kubeconfig-ci: "true"
spec:
containers:
- image: quay.io/kubermatic/build:go-1.21-node-18-kind-0.20-6
- image: quay.io/kubermatic/build:go-1.21-node-18-kind-0.20-9
command:
- "./hack/ci/run-e2e-tests.sh"
args:
Expand Down Expand Up @@ -92,7 +92,7 @@ presubmits:
preset-kubeconfig-ci: "true"
spec:
containers:
- image: quay.io/kubermatic/build:go-1.21-node-18-kind-0.20-6
- image: quay.io/kubermatic/build:go-1.21-node-18-kind-0.20-9
command:
- "./hack/ci/run-e2e-tests.sh"
args:
Expand Down Expand Up @@ -124,7 +124,7 @@ presubmits:
preset-kubeconfig-ci: "true"
spec:
containers:
- image: quay.io/kubermatic/build:go-1.21-node-18-kind-0.20-6
- image: quay.io/kubermatic/build:go-1.21-node-18-kind-0.20-9
command:
- "./hack/ci/run-e2e-tests.sh"
args:
Expand Down
8 changes: 4 additions & 4 deletions .prow/verify.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ presubmits:
preset-goproxy: "true"
spec:
containers:
- image: golang:1.21.3
- image: golang:1.21.5
command:
- make
args:
Expand All @@ -42,7 +42,7 @@ presubmits:
preset-goproxy: "true"
spec:
containers:
- image: golang:1.21.3
- image: golang:1.21.5
command:
- make
args:
Expand Down Expand Up @@ -149,7 +149,7 @@ presubmits:
preset-goproxy: "true"
spec:
containers:
- image: quay.io/kubermatic/build:go-1.21-node-18-kind-0.20-6
- image: quay.io/kubermatic/build:go-1.21-node-18-kind-0.20-9
command:
- ./hack/verify-licenses.sh
resources:
Expand All @@ -165,7 +165,7 @@ presubmits:
preset-goproxy: "true"
spec:
containers:
- image: golang:1.21.3
- image: golang:1.21.5
command:
- make
args:
Expand Down
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
# See the License for the specific language governing permissions and
# limitations under the License.

ARG GO_VERSION=1.21.0
ARG GO_VERSION=1.21.5
FROM docker.io/golang:${GO_VERSION} AS builder
WORKDIR /go/src/github.com/kubermatic/machine-controller
COPY . .
Expand Down
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@

SHELL = /bin/bash -eu -o pipefail

GO_VERSION ?= 1.21.0
GO_VERSION ?= 1.21.5

GOOS ?= $(shell go env GOOS)

Expand Down
2 changes: 1 addition & 1 deletion examples/operating-system-manager.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -990,7 +990,7 @@ spec:
spec:
serviceAccountName: operating-system-manager-webhook
containers:
- image: quay.io/kubermatic/operating-system-manager:latest
- image: quay.io/kubermatic/operating-system-manager:v1.4.0
imagePullPolicy: Always
name: webhook
command:
Expand Down
2 changes: 1 addition & 1 deletion hack/update-fixtures.sh
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ set -euo pipefail
cd $(dirname $0)/..
source hack/lib.sh

CONTAINERIZE_IMAGE=golang:1.21.3 containerize ./hack/update-fixtures.sh
CONTAINERIZE_IMAGE=golang:1.21.5 containerize ./hack/update-fixtures.sh

go test ./... -v -update || go test ./...

Expand Down
2 changes: 1 addition & 1 deletion hack/verify-licenses.sh
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ set -euo pipefail
cd $(dirname $0)/..
source hack/lib.sh

CONTAINERIZE_IMAGE=quay.io/kubermatic/build:go-1.21-node-18-kind-0.20-6 containerize ./hack/verify-licenses.sh
CONTAINERIZE_IMAGE=quay.io/kubermatic/build:go-1.21-node-18-kind-0.20-9 containerize ./hack/verify-licenses.sh

go mod vendor

Expand Down

0 comments on commit 3b0c3a3

Please sign in to comment.