Skip to content

Commit 6177dd0

Browse files
authored
Merge pull request #1093 from mythi/PR-2022-050
build: move to Go 1.19
2 parents 9f9c6ad + 642c4f7 commit 6177dd0

29 files changed

+51
-44
lines changed

.github/workflows/ci.yaml

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ on:
99
- main
1010
- 'release-*'
1111
env:
12-
GO_VERSION: 1.18.3
12+
GO_VERSION: 1.19
1313
K8S_VERSION: 1.24.2
1414
permissions:
1515
contents: read
@@ -50,14 +50,15 @@ jobs:
5050
- uses: actions/setup-go@v3
5151
with:
5252
go-version: ${{ env.GO_VERSION }}
53+
check-latest: true
5354
- name: Install build dependencies needed for VPU plugin
5455
run: |
5556
sudo apt-get update
5657
sudo apt-get -y install libusb-1.0-0-dev
5758
- name: golangci-lint
5859
uses: golangci/golangci-lint-action@v3
5960
with:
60-
version: v1.46.2
61+
version: v1.48.0
6162
args: -v --timeout 5m
6263

6364
build:
@@ -68,6 +69,7 @@ jobs:
6869
- uses: actions/setup-go@v3
6970
with:
7071
go-version: ${{ env.GO_VERSION }}
72+
check-latest: true
7173
- uses: actions/cache@v3
7274
with:
7375
path: |
@@ -158,6 +160,7 @@ jobs:
158160
- uses: actions/setup-go@v3
159161
with:
160162
go-version: ${{ env.GO_VERSION }}
163+
check-latest: true
161164
- name: Test SGX & FPGA Admission Webhook, Deploy Operator
162165
run: |
163166
make test-with-kind

Jenkinsfile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,8 +9,8 @@ pipeline {
99
GO111MODULE="on"
1010
REG="cloud-native-image-registry.westus.cloudapp.azure.com/"
1111
K8S_VERSION="1.24.2"
12-
GOLANGCI_LINT_VERSION="v1.46.2"
13-
GO_VERSION="1.18.3"
12+
GOLANGCI_LINT_VERSION="v1.48.0"
13+
GO_VERSION="1.19"
1414
GO_TAR="go${GO_VERSION}.linux-amd64.tar.gz"
1515
GOROOT="/usr/local/go"
1616
GOPATH="/tmp/go"

Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ EXTRA_BUILD_ARGS ?= ""
1010

1111
CERT_MANAGER_VERSION ?= v1.8.1
1212
CONTROLLER_GEN_VERSION ?= v0.9.2
13-
GOLANGCI_LINT_VERSION ?= v1.45.0
13+
GOLANGCI_LINT_VERSION ?= v1.48.0
1414
KIND_VERSION ?= v0.14.0
1515
GOLICENSES_VERSION ?= v1.2.0
1616
# Current Operator version

build/docker/intel-deviceplugin-operator.Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ ARG FINAL_BASE=registry.access.redhat.com/ubi8-micro
3434
##
3535
## This is used on release branches before tagging a stable version.
3636
## The main branch defaults to using the latest Golang base image.
37-
ARG GOLANG_BASE=golang:1.18-bullseye
37+
ARG GOLANG_BASE=golang:1.19-bullseye
3838
###
3939
FROM ${GOLANG_BASE} as builder
4040
ARG DIR=/intel-device-plugins-for-kubernetes

build/docker/intel-dlb-plugin.Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ ARG FINAL_BASE=registry.access.redhat.com/ubi8-micro
3434
##
3535
## This is used on release branches before tagging a stable version.
3636
## The main branch defaults to using the latest Golang base image.
37-
ARG GOLANG_BASE=golang:1.18-bullseye
37+
ARG GOLANG_BASE=golang:1.19-bullseye
3838
###
3939
FROM ${GOLANG_BASE} as builder
4040
ARG DIR=/intel-device-plugins-for-kubernetes

build/docker/intel-dsa-plugin.Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ ARG FINAL_BASE=registry.access.redhat.com/ubi8-micro
3434
##
3535
## This is used on release branches before tagging a stable version.
3636
## The main branch defaults to using the latest Golang base image.
37-
ARG GOLANG_BASE=golang:1.18-bullseye
37+
ARG GOLANG_BASE=golang:1.19-bullseye
3838
###
3939
FROM ${GOLANG_BASE} as builder
4040
ARG DIR=/intel-device-plugins-for-kubernetes

build/docker/intel-fpga-admissionwebhook.Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ ARG FINAL_BASE=registry.access.redhat.com/ubi8-micro
3434
##
3535
## This is used on release branches before tagging a stable version.
3636
## The main branch defaults to using the latest Golang base image.
37-
ARG GOLANG_BASE=golang:1.18-bullseye
37+
ARG GOLANG_BASE=golang:1.19-bullseye
3838
###
3939
FROM ${GOLANG_BASE} as builder
4040
ARG DIR=/intel-device-plugins-for-kubernetes

build/docker/intel-fpga-initcontainer.Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ ARG FINAL_BASE=registry.access.redhat.com/ubi8-micro
3333
##
3434
## This is used on release branches before tagging a stable version.
3535
## The main branch defaults to using the latest Golang base image.
36-
ARG GOLANG_BASE=golang:1.18-bullseye
36+
ARG GOLANG_BASE=golang:1.19-bullseye
3737
###
3838
FROM ${GOLANG_BASE} as builder
3939
ARG DIR=/intel-device-plugins-for-kubernetes

build/docker/intel-fpga-plugin.Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ ARG FINAL_BASE=registry.access.redhat.com/ubi8-micro
3434
##
3535
## This is used on release branches before tagging a stable version.
3636
## The main branch defaults to using the latest Golang base image.
37-
ARG GOLANG_BASE=golang:1.18-bullseye
37+
ARG GOLANG_BASE=golang:1.19-bullseye
3838
###
3939
FROM ${GOLANG_BASE} as builder
4040
ARG DIR=/intel-device-plugins-for-kubernetes

build/docker/intel-gpu-initcontainer.Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ ARG FINAL_BASE=registry.access.redhat.com/ubi8-micro
3333
##
3434
## This is used on release branches before tagging a stable version.
3535
## The main branch defaults to using the latest Golang base image.
36-
ARG GOLANG_BASE=golang:1.18-bullseye
36+
ARG GOLANG_BASE=golang:1.19-bullseye
3737
###
3838
FROM ${GOLANG_BASE} as builder
3939
ARG DIR=/intel-device-plugins-for-kubernetes

0 commit comments

Comments
 (0)