Update to Go 1.19.3

This commit is contained in:
Nils Hanke 2022-11-02 11:17:29 +01:00 committed by Nils Hanke
parent f60120bbbc
commit 6d2ec109d0
32 changed files with 41 additions and 41 deletions

View File

@ -15,7 +15,7 @@ jobs:
- name: Set up Go - name: Set up Go
uses: actions/setup-go@c4a742cab115ed795e34d4513e2cf7d472deb55f # tag=v3.3.1 uses: actions/setup-go@c4a742cab115ed795e34d4513e2cf7d472deb55f # tag=v3.3.1
with: with:
go-version: 1.19.2 go-version: 1.19.3
- name: Build and upload azure SNP reporter container image - name: Build and upload azure SNP reporter container image
id: build-and-upload id: build-and-upload
@ -62,7 +62,7 @@ jobs:
- name: Set up Go - name: Set up Go
uses: actions/setup-go@c4a742cab115ed795e34d4513e2cf7d472deb55f # tag=v3.3.1 uses: actions/setup-go@c4a742cab115ed795e34d4513e2cf7d472deb55f # tag=v3.3.1
with: with:
go-version: 1.19.2 go-version: 1.19.3
- name: Download report JWT - name: Download report JWT
uses: actions/download-artifact@9782bd6a9848b53b110e712e20e42d89988822b7 # tag=v3.0.1 uses: actions/download-artifact@9782bd6a9848b53b110e712e20e42d89988822b7 # tag=v3.0.1

View File

@ -27,7 +27,7 @@ jobs:
- name: Setup Go environment - name: Setup Go environment
uses: actions/setup-go@c4a742cab115ed795e34d4513e2cf7d472deb55f # tag=v3.3.1 uses: actions/setup-go@c4a742cab115ed795e34d4513e2cf7d472deb55f # tag=v3.3.1
with: with:
go-version: "1.19.2" go-version: "1.19.3"
- name: Build and upload access-manager container image - name: Build and upload access-manager container image
id: build-and-upload id: build-and-upload

View File

@ -29,7 +29,7 @@ jobs:
- name: Setup Go environment - name: Setup Go environment
uses: actions/setup-go@c4a742cab115ed795e34d4513e2cf7d472deb55f # tag=v3.3.1 uses: actions/setup-go@c4a742cab115ed795e34d4513e2cf7d472deb55f # tag=v3.3.1
with: with:
go-version: "1.19.2" go-version: "1.19.3"
- name: Build the bootstrapper - name: Build the bootstrapper
uses: ./.github/actions/build_bootstrapper uses: ./.github/actions/build_bootstrapper
@ -45,7 +45,7 @@ jobs:
- name: Setup Go environment - name: Setup Go environment
uses: actions/setup-go@c4a742cab115ed795e34d4513e2cf7d472deb55f # tag=v3.3.1 uses: actions/setup-go@c4a742cab115ed795e34d4513e2cf7d472deb55f # tag=v3.3.1
with: with:
go-version: "1.19.2" go-version: "1.19.3"
- name: Build debugd - name: Build debugd
uses: ./.github/actions/build_debugd uses: ./.github/actions/build_debugd
@ -61,7 +61,7 @@ jobs:
- name: Setup Go environment - name: Setup Go environment
uses: actions/setup-go@c4a742cab115ed795e34d4513e2cf7d472deb55f # tag=v3.3.1 uses: actions/setup-go@c4a742cab115ed795e34d4513e2cf7d472deb55f # tag=v3.3.1
with: with:
go-version: "1.19.2" go-version: "1.19.3"
- name: Build cdbg (Linux, amd64) - name: Build cdbg (Linux, amd64)
uses: ./.github/actions/build_cdbg uses: ./.github/actions/build_cdbg
@ -86,7 +86,7 @@ jobs:
- name: Setup Go environment - name: Setup Go environment
uses: actions/setup-go@c4a742cab115ed795e34d4513e2cf7d472deb55f # tag=v3.3.1 uses: actions/setup-go@c4a742cab115ed795e34d4513e2cf7d472deb55f # tag=v3.3.1
with: with:
go-version: "1.19.2" go-version: "1.19.3"
- name: Build cdbg (macOS, amd64) - name: Build cdbg (macOS, amd64)
uses: ./.github/actions/build_cdbg uses: ./.github/actions/build_cdbg
with: with:
@ -110,7 +110,7 @@ jobs:
- name: Setup Go environment - name: Setup Go environment
uses: actions/setup-go@c4a742cab115ed795e34d4513e2cf7d472deb55f # tag=v3.3.1 uses: actions/setup-go@c4a742cab115ed795e34d4513e2cf7d472deb55f # tag=v3.3.1
with: with:
go-version: "1.19.2" go-version: "1.19.3"
- name: Build disk-mapper - name: Build disk-mapper
uses: ./.github/actions/build_disk_mapper uses: ./.github/actions/build_disk_mapper
@ -125,7 +125,7 @@ jobs:
- name: Setup Go environment - name: Setup Go environment
uses: actions/setup-go@c4a742cab115ed795e34d4513e2cf7d472deb55f # tag=v3.3.1 uses: actions/setup-go@c4a742cab115ed795e34d4513e2cf7d472deb55f # tag=v3.3.1
with: with:
go-version: "1.19.2" go-version: "1.19.3"
- name: Build CLI (Linux, amd64) - name: Build CLI (Linux, amd64)
uses: ./.github/actions/build_cli uses: ./.github/actions/build_cli
@ -150,7 +150,7 @@ jobs:
- name: Setup Go environment - name: Setup Go environment
uses: actions/setup-go@c4a742cab115ed795e34d4513e2cf7d472deb55f # tag=v3.3.1 uses: actions/setup-go@c4a742cab115ed795e34d4513e2cf7d472deb55f # tag=v3.3.1
with: with:
go-version: "1.19.2" go-version: "1.19.3"
- name: Build CLI (macOS, amd64) - name: Build CLI (macOS, amd64)
uses: ./.github/actions/build_cli uses: ./.github/actions/build_cli

View File

@ -23,7 +23,7 @@ jobs:
- name: Setup Go environment - name: Setup Go environment
uses: actions/setup-go@c4a742cab115ed795e34d4513e2cf7d472deb55f # tag=v3.3.1 uses: actions/setup-go@c4a742cab115ed795e34d4513e2cf7d472deb55f # tag=v3.3.1
with: with:
go-version: "1.19.2" go-version: "1.19.3"
- name: Build and upload constellation-node-operator container image - name: Build and upload constellation-node-operator container image
uses: ./.github/actions/build_operator uses: ./.github/actions/build_operator

View File

@ -29,7 +29,7 @@ jobs:
- name: Setup Go environment - name: Setup Go environment
uses: actions/setup-go@c4a742cab115ed795e34d4513e2cf7d472deb55f # tag=v3.3.1 uses: actions/setup-go@c4a742cab115ed795e34d4513e2cf7d472deb55f # tag=v3.3.1
with: with:
go-version: "1.19.2" go-version: "1.19.3"
- name: Build and upload join-service container image - name: Build and upload join-service container image
id: build-and-upload id: build-and-upload

View File

@ -28,7 +28,7 @@ jobs:
- name: Setup Go environment - name: Setup Go environment
uses: actions/setup-go@c4a742cab115ed795e34d4513e2cf7d472deb55f # tag=v3.3.1 uses: actions/setup-go@c4a742cab115ed795e34d4513e2cf7d472deb55f # tag=v3.3.1
with: with:
go-version: "1.19.2" go-version: "1.19.3"
- name: Build and upload KMS server container image - name: Build and upload KMS server container image
id: build-and-upload id: build-and-upload

View File

@ -36,7 +36,7 @@ jobs:
- name: Setup Go environment - name: Setup Go environment
uses: actions/setup-go@c4a742cab115ed795e34d4513e2cf7d472deb55f # tag=v3.3.1 uses: actions/setup-go@c4a742cab115ed795e34d4513e2cf7d472deb55f # tag=v3.3.1
with: with:
go-version: "1.19.2" go-version: "1.19.3"
# choose the correct Dockerfile depending on what micro-service is being build # choose the correct Dockerfile depending on what micro-service is being build
- name: Set Dockerfile variable - name: Set Dockerfile variable

View File

@ -21,7 +21,7 @@ jobs:
- name: Setup Go environment - name: Setup Go environment
uses: actions/setup-go@c4a742cab115ed795e34d4513e2cf7d472deb55f # tag=v3.3.1 uses: actions/setup-go@c4a742cab115ed795e34d4513e2cf7d472deb55f # tag=v3.3.1
with: with:
go-version: "1.19.2" go-version: "1.19.3"
- name: Build and upload constellation-node-operator container image - name: Build and upload constellation-node-operator container image
uses: ./.github/actions/build_operator uses: ./.github/actions/build_operator

View File

@ -25,7 +25,7 @@ jobs:
- name: Setup Go environment - name: Setup Go environment
uses: actions/setup-go@c4a742cab115ed795e34d4513e2cf7d472deb55f # tag=v3.3.1 uses: actions/setup-go@c4a742cab115ed795e34d4513e2cf7d472deb55f # tag=v3.3.1
with: with:
go-version: "1.19.2" go-version: "1.19.3"
- name: Build and upload verification-service container image - name: Build and upload verification-service container image
id: build-and-upload id: build-and-upload

View File

@ -25,7 +25,7 @@ jobs:
- name: Setup Go environment - name: Setup Go environment
uses: actions/setup-go@c4a742cab115ed795e34d4513e2cf7d472deb55f # tag=v3.3.1 uses: actions/setup-go@c4a742cab115ed795e34d4513e2cf7d472deb55f # tag=v3.3.1
with: with:
go-version: "1.19.2" go-version: "1.19.3"
cache: true cache: true
- name: Install go-licenses - name: Install go-licenses

View File

@ -26,7 +26,7 @@ jobs:
- name: Setup Go environment - name: Setup Go environment
uses: actions/setup-go@c4a742cab115ed795e34d4513e2cf7d472deb55f # tag=v3.3.1 uses: actions/setup-go@c4a742cab115ed795e34d4513e2cf7d472deb55f # tag=v3.3.1
with: with:
go-version: "1.19.2" go-version: "1.19.3"
- name: Login to Azure - name: Login to Azure
if: matrix.provider == 'azure' if: matrix.provider == 'azure'

View File

@ -65,7 +65,7 @@ jobs:
uses: actions/setup-go@c4a742cab115ed795e34d4513e2cf7d472deb55f # tag=v3.3.1 uses: actions/setup-go@c4a742cab115ed795e34d4513e2cf7d472deb55f # tag=v3.3.1
if: ${{ github.event.steps.check-bootstrapper-cache.cache-hit != 'true'}} if: ${{ github.event.steps.check-bootstrapper-cache.cache-hit != 'true'}}
with: with:
go-version: "1.19.2" go-version: "1.19.3"
- name: Check out repository - name: Check out repository
if: ${{ github.event.steps.check-bootstrapper-cache.cache-hit != 'true'}} if: ${{ github.event.steps.check-bootstrapper-cache.cache-hit != 'true'}}
@ -98,7 +98,7 @@ jobs:
- name: Setup Go environment - name: Setup Go environment
uses: actions/setup-go@c4a742cab115ed795e34d4513e2cf7d472deb55f # tag=v3.3.1 uses: actions/setup-go@c4a742cab115ed795e34d4513e2cf7d472deb55f # tag=v3.3.1
with: with:
go-version: "1.19.2" go-version: "1.19.3"
- name: Login to Azure - name: Login to Azure
if: ${{ github.event.inputs.cloudProvider == 'azure' }} if: ${{ github.event.inputs.cloudProvider == 'azure' }}

View File

@ -66,7 +66,7 @@ jobs:
- name: Setup Go environment - name: Setup Go environment
uses: actions/setup-go@c4a742cab115ed795e34d4513e2cf7d472deb55f # tag=v3.3.1 uses: actions/setup-go@c4a742cab115ed795e34d4513e2cf7d472deb55f # tag=v3.3.1
with: with:
go-version: "1.19.2" go-version: "1.19.3"
- name: Login to Azure - name: Login to Azure
if: ${{ github.event.inputs.cloudProvider == 'azure' }} if: ${{ github.event.inputs.cloudProvider == 'azure' }}

View File

@ -37,7 +37,7 @@ jobs:
- name: Setup Go environment - name: Setup Go environment
uses: actions/setup-go@c4a742cab115ed795e34d4513e2cf7d472deb55f # tag=v3.3.1 uses: actions/setup-go@c4a742cab115ed795e34d4513e2cf7d472deb55f # tag=v3.3.1
with: with:
go-version: "1.19.2" go-version: "1.19.3"
- name: Login to Azure - name: Login to Azure
if: matrix.provider == 'azure' if: matrix.provider == 'azure'

View File

@ -30,7 +30,7 @@ jobs:
- name: Setup Go environment - name: Setup Go environment
uses: actions/setup-go@c4a742cab115ed795e34d4513e2cf7d472deb55f # tag=v3.3.1 uses: actions/setup-go@c4a742cab115ed795e34d4513e2cf7d472deb55f # tag=v3.3.1
with: with:
go-version: "1.19.2" go-version: "1.19.3"
- name: Login to Azure - name: Login to Azure
if: ${{ github.event.inputs.cloudProvider == 'azure' }} if: ${{ github.event.inputs.cloudProvider == 'azure' }}

View File

@ -14,7 +14,7 @@ jobs:
- name: Setup Go environment - name: Setup Go environment
uses: actions/setup-go@c4a742cab115ed795e34d4513e2cf7d472deb55f # tag=v3.3.1 uses: actions/setup-go@c4a742cab115ed795e34d4513e2cf7d472deb55f # tag=v3.3.1
with: with:
go-version: "1.19.2" go-version: "1.19.3"
- name: Build cli-linux-amd64 - name: Build cli-linux-amd64
uses: ./.github/actions/build_cli uses: ./.github/actions/build_cli

View File

@ -32,7 +32,7 @@ jobs:
- name: Setup Go environment - name: Setup Go environment
uses: actions/setup-go@c4a742cab115ed795e34d4513e2cf7d472deb55f # tag=v3.3.1 uses: actions/setup-go@c4a742cab115ed795e34d4513e2cf7d472deb55f # tag=v3.3.1
with: with:
go-version: "1.19.2" go-version: "1.19.3"
cache: true cache: true
- name: Get Go submodules - name: Get Go submodules

View File

@ -30,7 +30,7 @@ jobs:
- name: Setup Go environment - name: Setup Go environment
uses: actions/setup-go@c4a742cab115ed795e34d4513e2cf7d472deb55f # tag=v3.3.1 uses: actions/setup-go@c4a742cab115ed795e34d4513e2cf7d472deb55f # tag=v3.3.1
with: with:
go-version: "1.19.2" go-version: "1.19.3"
cache: true cache: true
- name: Install Dependencies - name: Install Dependencies

View File

@ -37,7 +37,7 @@ jobs:
- name: Setup Go environment - name: Setup Go environment
uses: actions/setup-go@c4a742cab115ed795e34d4513e2cf7d472deb55f # tag=v3.3.1 uses: actions/setup-go@c4a742cab115ed795e34d4513e2cf7d472deb55f # tag=v3.3.1
with: with:
go-version: "1.19.2" go-version: "1.19.3"
cache: true cache: true
- name: Get Go submodules - name: Get Go submodules

View File

@ -26,7 +26,7 @@ jobs:
- name: Setup Go environment - name: Setup Go environment
uses: actions/setup-go@c4a742cab115ed795e34d4513e2cf7d472deb55f # tag=v3.3.1 uses: actions/setup-go@c4a742cab115ed795e34d4513e2cf7d472deb55f # tag=v3.3.1
with: with:
go-version: "1.19.2" go-version: "1.19.3"
cache: true cache: true
- name: Run code generation - name: Run code generation

View File

@ -30,7 +30,7 @@ jobs:
- name: Setup Go environment - name: Setup Go environment
uses: actions/setup-go@c4a742cab115ed795e34d4513e2cf7d472deb55f # tag=v3.3.1 uses: actions/setup-go@c4a742cab115ed795e34d4513e2cf7d472deb55f # tag=v3.3.1
with: with:
go-version: "1.19.2" go-version: "1.19.3"
- name: Get Go submodules - name: Get Go submodules
id: submods id: submods

View File

@ -30,7 +30,7 @@ jobs:
- name: Setup Go environment - name: Setup Go environment
uses: actions/setup-go@c4a742cab115ed795e34d4513e2cf7d472deb55f # tag=v3.3.1 uses: actions/setup-go@c4a742cab115ed795e34d4513e2cf7d472deb55f # tag=v3.3.1
with: with:
go-version: "1.19.2" go-version: "1.19.3"
cache: true cache: true
- name: Install Dependencies - name: Install Dependencies
@ -56,7 +56,7 @@ jobs:
- name: Setup Go environment - name: Setup Go environment
uses: actions/setup-go@c4a742cab115ed795e34d4513e2cf7d472deb55f # tag=v3.3.1 uses: actions/setup-go@c4a742cab115ed795e34d4513e2cf7d472deb55f # tag=v3.3.1
with: with:
go-version: "1.19.2" go-version: "1.19.3"
cache: true cache: true
- name: CLI Unit Tests - name: CLI Unit Tests

View File

@ -21,7 +21,7 @@ jobs:
- name: Setup Go environment - name: Setup Go environment
uses: actions/setup-go@c4a742cab115ed795e34d4513e2cf7d472deb55f # tag=v3.3.1 uses: actions/setup-go@c4a742cab115ed795e34d4513e2cf7d472deb55f # tag=v3.3.1
with: with:
go-version: "1.19.2" go-version: "1.19.3"
cache: true cache: true
- name: Generate reference docs - name: Generate reference docs

View File

@ -6,7 +6,7 @@ RUN apt-get update && apt-get install -y \
git git
# Install Go # Install Go
ARG GO_VER=1.19.2 ARG GO_VER=1.19.3
RUN wget -q https://go.dev/dl/go${GO_VER}.linux-amd64.tar.gz && \ RUN wget -q https://go.dev/dl/go${GO_VER}.linux-amd64.tar.gz && \
tar -C /usr/local -xzf go${GO_VER}.linux-amd64.tar.gz && \ tar -C /usr/local -xzf go${GO_VER}.linux-amd64.tar.gz && \
rm go${GO_VER}.linux-amd64.tar.gz rm go${GO_VER}.linux-amd64.tar.gz

View File

@ -5,7 +5,7 @@ RUN dnf -y update && \
dnf clean all dnf clean all
# Install Go # Install Go
ARG GO_VER=1.19.2 ARG GO_VER=1.19.3
RUN wget -q https://go.dev/dl/go${GO_VER}.linux-amd64.tar.gz && \ RUN wget -q https://go.dev/dl/go${GO_VER}.linux-amd64.tar.gz && \
tar -C /usr/local -xzf go${GO_VER}.linux-amd64.tar.gz && \ tar -C /usr/local -xzf go${GO_VER}.linux-amd64.tar.gz && \
rm go${GO_VER}.linux-amd64.tar.gz rm go${GO_VER}.linux-amd64.tar.gz

View File

@ -5,7 +5,7 @@ RUN dnf -y update && \
dnf clean all dnf clean all
# Install Go # Install Go
ARG GO_VER=1.19.2 ARG GO_VER=1.19.3
RUN wget -q https://go.dev/dl/go${GO_VER}.linux-amd64.tar.gz && \ RUN wget -q https://go.dev/dl/go${GO_VER}.linux-amd64.tar.gz && \
tar -C /usr/local -xzf go${GO_VER}.linux-amd64.tar.gz && \ tar -C /usr/local -xzf go${GO_VER}.linux-amd64.tar.gz && \
rm go${GO_VER}.linux-amd64.tar.gz rm go${GO_VER}.linux-amd64.tar.gz

View File

@ -4,7 +4,7 @@ RUN dnf -y update && \
dnf -y install libvirt-devel @development-tools pkg-config wget git && \ dnf -y install libvirt-devel @development-tools pkg-config wget git && \
dnf clean all dnf clean all
ARG GO_VER=1.19.2 ARG GO_VER=1.19.3
RUN wget -q https://go.dev/dl/go${GO_VER}.linux-amd64.tar.gz && \ RUN wget -q https://go.dev/dl/go${GO_VER}.linux-amd64.tar.gz && \
tar -C /usr/local -xzf go${GO_VER}.linux-amd64.tar.gz && \ tar -C /usr/local -xzf go${GO_VER}.linux-amd64.tar.gz && \
rm go${GO_VER}.linux-amd64.tar.gz rm go${GO_VER}.linux-amd64.tar.gz

View File

@ -5,7 +5,7 @@ RUN dnf -y update && \
dnf clean all dnf clean all
# Install Go # Install Go
ARG GO_VER=1.19.2 ARG GO_VER=1.19.3
RUN wget -q https://go.dev/dl/go${GO_VER}.linux-amd64.tar.gz && \ RUN wget -q https://go.dev/dl/go${GO_VER}.linux-amd64.tar.gz && \
tar -C /usr/local -xzf go${GO_VER}.linux-amd64.tar.gz && \ tar -C /usr/local -xzf go${GO_VER}.linux-amd64.tar.gz && \
rm go${GO_VER}.linux-amd64.tar.gz rm go${GO_VER}.linux-amd64.tar.gz

View File

@ -4,7 +4,7 @@ RUN dnf -y update && \
dnf install -y wget git dnf install -y wget git
# Install Go # Install Go
ARG GO_VER=1.19.2 ARG GO_VER=1.19.3
RUN wget -q https://go.dev/dl/go${GO_VER}.linux-amd64.tar.gz && \ RUN wget -q https://go.dev/dl/go${GO_VER}.linux-amd64.tar.gz && \
tar -C /usr/local -xzf go${GO_VER}.linux-amd64.tar.gz && \ tar -C /usr/local -xzf go${GO_VER}.linux-amd64.tar.gz && \
rm go${GO_VER}.linux-amd64.tar.gz rm go${GO_VER}.linux-amd64.tar.gz

View File

@ -1,5 +1,5 @@
# Build the manager binary # Build the manager binary
FROM golang:1.19.2@sha256:2fddf0539591f8e364c9adb3d495d1ba2ca8a8df420ad23b58e7bcee7986ea6c as builder FROM golang:1.19.3@sha256:24e286ca5b48c690f29266a7086e1b7f77a4ddc1a47f6f8bf55d4b736eee073e as builder
WORKDIR /workspace WORKDIR /workspace
# Copy the Go Modules manifests # Copy the Go Modules manifests

View File

@ -1,6 +1,6 @@
FROM ubuntu:22.04@sha256:dda6886d8d153a2d86f046c9335123c6151d83fd63e446b752ed8d9da261205d as build FROM ubuntu:22.04@sha256:dda6886d8d153a2d86f046c9335123c6151d83fd63e446b752ed8d9da261205d as build
ARG GO_VER=1.19.2 ARG GO_VER=1.19.3
ARG GEN_GO_VER=1.28.1 ARG GEN_GO_VER=1.28.1
ARG GEN_GO_GRPC_VER=1.2.0 ARG GEN_GO_GRPC_VER=1.2.0
ARG PB_VER=21.8 ARG PB_VER=21.8

View File

@ -5,7 +5,7 @@ RUN dnf -y update && \
dnf clean all dnf clean all
# Install Go # Install Go
ARG GO_VER=1.19.2 ARG GO_VER=1.19.3
RUN wget -q https://go.dev/dl/go${GO_VER}.linux-amd64.tar.gz && \ RUN wget -q https://go.dev/dl/go${GO_VER}.linux-amd64.tar.gz && \
tar -C /usr/local -xzf go${GO_VER}.linux-amd64.tar.gz && \ tar -C /usr/local -xzf go${GO_VER}.linux-amd64.tar.gz && \
rm go${GO_VER}.linux-amd64.tar.gz rm go${GO_VER}.linux-amd64.tar.gz