Update GitHub workflow runners to Ubuntu 22.04 (#513)

* Update all GitHub action runners to ubuntu-22.04
* Fix license checker script for grep >3.4
This commit is contained in:
Nils Hanke 2022-11-10 16:55:24 +01:00 committed by GitHub
parent 2faabf83dd
commit a7e81aef73
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
31 changed files with 39 additions and 39 deletions

View File

@ -7,7 +7,7 @@ on:
jobs:
build-snp-reporter:
name: "Build SNP-reporter container"
runs-on: ubuntu-latest
runs-on: ubuntu-22.04
steps:
- name: Checkout
uses: actions/checkout@93ea575cb5d8a053eaa0ac8fa3b40d7e05a33cc8 # tag=v3.1.0
@ -49,7 +49,7 @@ jobs:
validate-snp-report:
needs: fetch-snp-report
name: "Validate SNP report"
runs-on: ubuntu-latest
runs-on: ubuntu-22.04
env:
SHELL: /bin/bash
steps:

View File

@ -15,7 +15,7 @@ on:
jobs:
build-access-manager:
runs-on: ubuntu-latest
runs-on: ubuntu-22.04
permissions:
contents: read
packages: write

View File

@ -19,7 +19,7 @@ on:
jobs:
build-bootstrapper:
runs-on: ubuntu-latest
runs-on: ubuntu-22.04
steps:
- name: Checkout
uses: actions/checkout@93ea575cb5d8a053eaa0ac8fa3b40d7e05a33cc8 # tag=v3.1.0
@ -35,7 +35,7 @@ jobs:
uses: ./.github/actions/build_bootstrapper
build-debugd:
runs-on: ubuntu-latest
runs-on: ubuntu-22.04
steps:
- name: Checkout
uses: actions/checkout@93ea575cb5d8a053eaa0ac8fa3b40d7e05a33cc8 # tag=v3.1.0
@ -51,7 +51,7 @@ jobs:
uses: ./.github/actions/build_debugd
build-cdbg-linux:
runs-on: ubuntu-latest
runs-on: ubuntu-22.04
steps:
- name: Checkout
uses: actions/checkout@93ea575cb5d8a053eaa0ac8fa3b40d7e05a33cc8 # tag=v3.1.0
@ -76,7 +76,7 @@ jobs:
targetArch: "arm64"
build-cdbg-macos:
runs-on: ubuntu-latest
runs-on: ubuntu-22.04
steps:
- name: Checkout
uses: actions/checkout@93ea575cb5d8a053eaa0ac8fa3b40d7e05a33cc8 # tag=v3.1.0
@ -100,7 +100,7 @@ jobs:
targetArch: "arm64"
build-disk-mapper:
runs-on: ubuntu-latest
runs-on: ubuntu-22.04
steps:
- name: Checkout
uses: actions/checkout@93ea575cb5d8a053eaa0ac8fa3b40d7e05a33cc8 # tag=v3.1.0
@ -115,7 +115,7 @@ jobs:
uses: ./.github/actions/build_disk_mapper
build-cli-linux:
runs-on: ubuntu-latest
runs-on: ubuntu-22.04
steps:
- name: Checkout
uses: actions/checkout@93ea575cb5d8a053eaa0ac8fa3b40d7e05a33cc8 # tag=v3.1.0
@ -140,7 +140,7 @@ jobs:
targetArch: arm64
build-cli-macos:
runs-on: ubuntu-latest
runs-on: ubuntu-22.04
steps:
- name: Checkout
uses: actions/checkout@93ea575cb5d8a053eaa0ac8fa3b40d7e05a33cc8 # tag=v3.1.0

View File

@ -5,7 +5,7 @@ on: [workflow_dispatch]
jobs:
build-ccm-gcp:
runs-on: ubuntu-latest
runs-on: ubuntu-22.04
permissions:
contents: read
packages: write

View File

@ -11,7 +11,7 @@ on:
jobs:
build-constellation-node-operator:
runs-on: ubuntu-latest
runs-on: ubuntu-22.04
permissions:
contents: read
packages: write

View File

@ -5,7 +5,7 @@ on: [workflow_dispatch]
jobs:
build-gcp-guest-agent:
runs-on: ubuntu-latest
runs-on: ubuntu-22.04
permissions:
contents: read
packages: write

View File

@ -17,7 +17,7 @@ on:
jobs:
build-join-service:
runs-on: ubuntu-latest
runs-on: ubuntu-22.04
permissions:
contents: read
packages: write

View File

@ -16,7 +16,7 @@ on:
jobs:
build-kms-server:
runs-on: ubuntu-latest
runs-on: ubuntu-22.04
permissions:
contents: read
packages: write

View File

@ -24,7 +24,7 @@ on:
jobs:
build-micro-service:
runs-on: ubuntu-latest
runs-on: ubuntu-22.04
permissions:
contents: read
packages: write

View File

@ -9,7 +9,7 @@ on:
jobs:
build-operator-manual:
runs-on: ubuntu-latest
runs-on: ubuntu-22.04
permissions:
contents: read
packages: write

View File

@ -13,7 +13,7 @@ on:
jobs:
build-verification-service:
runs-on: ubuntu-latest
runs-on: ubuntu-22.04
permissions:
contents: read
packages: write

View File

@ -15,7 +15,7 @@ on:
jobs:
check:
runs-on: ubuntu-latest
runs-on: ubuntu-22.04
steps:
- name: Checkout
uses: actions/checkout@93ea575cb5d8a053eaa0ac8fa3b40d7e05a33cc8 # tag=v3.1.0
@ -35,4 +35,4 @@ jobs:
run: hack/check-licenses.sh
- name: Check for files without license header
run: "! grep -rL --include='*.go' -e'SPDX-License-Identifier: AGPL-3.0-only' -e'DO NOT EDIT'"
run: "! grep -rL --include='*.go' -e'SPDX-License-Identifier: AGPL-3.0-only' -e'DO NOT EDIT' | grep ''"

View File

@ -16,7 +16,7 @@ on:
jobs:
linkChecker:
runs-on: ubuntu-latest
runs-on: ubuntu-22.04
steps:
- name: Checkout
uses: actions/checkout@93ea575cb5d8a053eaa0ac8fa3b40d7e05a33cc8 # tag=v3.1.0

View File

@ -7,7 +7,7 @@ on:
jobs:
pull-request:
runs-on: ubuntu-latest
runs-on: ubuntu-22.04
steps:
- uses: actions/checkout@93ea575cb5d8a053eaa0ac8fa3b40d7e05a33cc8 # tag=v3.1.0
- name: pull-request

View File

@ -13,7 +13,7 @@ on:
jobs:
prose:
runs-on: ubuntu-latest
runs-on: ubuntu-22.04
steps:
- name: Checkout
uses: actions/checkout@93ea575cb5d8a053eaa0ac8fa3b40d7e05a33cc8 # tag=v3.1.0

View File

@ -16,7 +16,7 @@ jobs:
strategy:
matrix:
provider: ["gcp", "azure"]
runs-on: ubuntu-latest
runs-on: ubuntu-22.04
steps:
- name: Check out repository
uses: actions/checkout@93ea575cb5d8a053eaa0ac8fa3b40d7e05a33cc8 # tag=v3.1.0

View File

@ -58,7 +58,7 @@ env:
jobs:
build-bootstrapper-linux:
name: "Build bootstrapper (debug image)"
runs-on: ubuntu-latest
runs-on: ubuntu-22.04
if: ${{ github.event.inputs.isDebugImage == 'true' }}
steps:
- name: Setup Go environment

View File

@ -56,7 +56,7 @@ env:
jobs:
e2e-test-manual:
runs-on: ubuntu-latest
runs-on: ubuntu-22.04
steps:
- name: Check out repository
uses: actions/checkout@93ea575cb5d8a053eaa0ac8fa3b40d7e05a33cc8 # tag=v3.1.0

View File

@ -32,7 +32,7 @@ jobs:
- test: "k-bench"
version: "1.24"
runs-on: ubuntu-latest
runs-on: ubuntu-22.04
steps:
- name: Check out repository
uses: actions/checkout@93ea575cb5d8a053eaa0ac8fa3b40d7e05a33cc8 # tag=v3.1.0

View File

@ -28,7 +28,7 @@ env:
jobs:
generate-measurements-manual:
runs-on: ubuntu-latest
runs-on: ubuntu-22.04
steps:
- name: Check out repository
uses: actions/checkout@93ea575cb5d8a053eaa0ac8fa3b40d7e05a33cc8 # tag=v3.1.0

View File

@ -5,7 +5,7 @@ on:
jobs:
build-cli:
runs-on: ubuntu-latest
runs-on: ubuntu-22.04
steps:
- name: Checkout
id: checkout

View File

@ -19,7 +19,7 @@ on:
jobs:
govulncheck:
name: govulncheck
runs-on: ubuntu-latest
runs-on: ubuntu-22.04
steps:
- name: Checkout
uses: actions/checkout@93ea575cb5d8a053eaa0ac8fa3b40d7e05a33cc8 # tag=v3.1.0

View File

@ -18,7 +18,7 @@ on:
jobs:
integration-test:
runs-on: ubuntu-latest
runs-on: ubuntu-22.04
env:
CTEST_OUTPUT_ON_FAILURE: True
steps:

View File

@ -24,7 +24,7 @@ permissions:
jobs:
golangci:
name: lint
runs-on: ubuntu-latest
runs-on: ubuntu-22.04
steps:
- name: Checkout
uses: actions/checkout@93ea575cb5d8a053eaa0ac8fa3b40d7e05a33cc8 # tag=v3.1.0

View File

@ -16,7 +16,7 @@ on:
jobs:
govulncheck:
name: check-codegen
runs-on: ubuntu-latest
runs-on: ubuntu-22.04
steps:
- name: Checkout
uses: actions/checkout@93ea575cb5d8a053eaa0ac8fa3b40d7e05a33cc8 # tag=v3.1.0

View File

@ -14,7 +14,7 @@ on:
jobs:
shellcheck:
name: Shellcheck
runs-on: ubuntu-latest
runs-on: ubuntu-22.04
steps:
- name: Checkout
uses: actions/checkout@93ea575cb5d8a053eaa0ac8fa3b40d7e05a33cc8 # tag=v3.1.0

View File

@ -15,7 +15,7 @@ on:
jobs:
tfsec:
name: terraform
runs-on: ubuntu-latest
runs-on: ubuntu-22.04
steps:
- name: Checkout
uses: actions/checkout@1f9a0c22da41e6ebfa534300ef656657ea2c6707

View File

@ -19,7 +19,7 @@ permissions:
jobs:
tfsec:
name: tfsec
runs-on: ubuntu-latest
runs-on: ubuntu-22.04
steps:
- name: Checkout
uses: actions/checkout@1f9a0c22da41e6ebfa534300ef656657ea2c6707

View File

@ -19,7 +19,7 @@ on:
jobs:
gotidycheck:
name: Go mod tidy check
runs-on: ubuntu-latest
runs-on: ubuntu-22.04
steps:
- name: Checkout
uses: actions/checkout@93ea575cb5d8a053eaa0ac8fa3b40d7e05a33cc8 # tag=v3.1.0

View File

@ -18,7 +18,7 @@ on:
jobs:
test-linux:
runs-on: ubuntu-latest
runs-on: ubuntu-22.04
env:
CTEST_OUTPUT_ON_FAILURE: True
steps:

View File

@ -11,7 +11,7 @@ on:
jobs:
publish-to-docs:
runs-on: ubuntu-latest
runs-on: ubuntu-22.04
steps:
- name: Checkout Constellation