From d29db4bf0caf7f6697ceb188ef44caa033475b76 Mon Sep 17 00:00:00 2001 From: Carles Garcia Cabot Date: Thu, 12 Dec 2024 14:10:06 +0100 Subject: [PATCH] Update Github Actions to Ubuntu 24.04 Until now we were using ubuntu-latest, which will automatically become ubuntu 24.04 soon. With this we make it explicit and controlled. --- .github/workflows/add-to-docs-project.yml | 2 +- .github/workflows/backport.yml | 2 +- .github/workflows/ci.yml | 16 ++++++++-------- .../workflows/dependabot_serverless_gomod.yml | 2 +- .github/workflows/doc-validator.yml | 2 +- .github/workflows/metrics-collector.yml | 2 +- .github/workflows/milestoned_to_project.yml | 2 +- .../publish-technical-documentation-next.yml | 2 +- .../publish-technical-documentation-release.yml | 2 +- .github/workflows/sbom-report.yml | 2 +- .github/workflows/stale.yml | 2 +- .github/workflows/update-make-docs.yml | 2 +- 12 files changed, 19 insertions(+), 19 deletions(-) diff --git a/.github/workflows/add-to-docs-project.yml b/.github/workflows/add-to-docs-project.yml index f5708738066..bf97c20b836 100644 --- a/.github/workflows/add-to-docs-project.yml +++ b/.github/workflows/add-to-docs-project.yml @@ -10,6 +10,6 @@ jobs: permissions: contents: read id-token: write - runs-on: ubuntu-latest + runs-on: ubuntu-24.04 steps: - uses: grafana/writers-toolkit/add-to-docs-project@add-to-docs-project/v1 diff --git a/.github/workflows/backport.yml b/.github/workflows/backport.yml index 3504d609613..ef2441859cb 100644 --- a/.github/workflows/backport.yml +++ b/.github/workflows/backport.yml @@ -13,7 +13,7 @@ on: jobs: main: - runs-on: ubuntu-latest + runs-on: ubuntu-24.04 steps: - name: Checkout Actions uses: actions/checkout@v4 diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 156bd275a48..dd148204783 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -19,7 +19,7 @@ concurrency: jobs: lint: name: Lint - runs-on: ubuntu-latest + runs-on: ubuntu-24.04 steps: - name: Check out code @@ -55,7 +55,7 @@ jobs: unit-tests: name: Run Unit Tests - runs-on: ubuntu-latest + runs-on: ubuntu-24.04 strategy: matrix: test-target: @@ -80,7 +80,7 @@ jobs: integration-tests: name: Run integration tests - runs-on: ubuntu-latest + runs-on: ubuntu-24.04 strategy: matrix: test-target: @@ -105,7 +105,7 @@ jobs: build: name: Build - runs-on: ubuntu-latest + runs-on: ubuntu-24.04 steps: - name: Check out code uses: actions/checkout@v4 @@ -132,7 +132,7 @@ jobs: benchmark: name: Benchmark - runs-on: ubuntu-latest + runs-on: ubuntu-24.04 steps: - name: Check out code uses: actions/checkout@v4 @@ -147,7 +147,7 @@ jobs: vendor-check: name: Vendor check - runs-on: ubuntu-latest + runs-on: ubuntu-24.04 steps: - name: Check out code uses: actions/checkout@v4 @@ -165,7 +165,7 @@ jobs: tempo-jsonnet: name: Check jsonnet & tempo-mixin - runs-on: ubuntu-latest + runs-on: ubuntu-24.04 steps: - name: Check out code uses: actions/checkout@v4 @@ -186,7 +186,7 @@ jobs: build-technical-documentation: name: Build technical documentation - runs-on: ubuntu-latest + runs-on: ubuntu-24.04 steps: - name: Check out code uses: actions/checkout@v4 diff --git a/.github/workflows/dependabot_serverless_gomod.yml b/.github/workflows/dependabot_serverless_gomod.yml index f8626ff2126..7d5e680aa0e 100644 --- a/.github/workflows/dependabot_serverless_gomod.yml +++ b/.github/workflows/dependabot_serverless_gomod.yml @@ -14,7 +14,7 @@ permissions: jobs: dependabot: name: Serverless gomod update - runs-on: ubuntu-latest + runs-on: ubuntu-24.04 if: ${{ github.event.pull_request.user.login == 'dependabot[bot]' }} steps: - name: Set up Go 1.23 diff --git a/.github/workflows/doc-validator.yml b/.github/workflows/doc-validator.yml index 36c62ceaba8..6a5513a33f0 100644 --- a/.github/workflows/doc-validator.yml +++ b/.github/workflows/doc-validator.yml @@ -5,7 +5,7 @@ on: workflow_dispatch: jobs: doc-validator: - runs-on: "ubuntu-latest" + runs-on: "ubuntu-24.04" container: image: "grafana/doc-validator:v5.2.0" steps: diff --git a/.github/workflows/metrics-collector.yml b/.github/workflows/metrics-collector.yml index 7c52ff4185d..174be165c2a 100644 --- a/.github/workflows/metrics-collector.yml +++ b/.github/workflows/metrics-collector.yml @@ -8,7 +8,7 @@ jobs: # this action keeps failing in all forks, only run in grafana/tempo. # stats collection action is only useful in main repo. if: github.repository == 'grafana/tempo' - runs-on: ubuntu-latest + runs-on: ubuntu-24.04 steps: - name: Get app token uses: actions/create-github-app-token@v1 diff --git a/.github/workflows/milestoned_to_project.yml b/.github/workflows/milestoned_to_project.yml index 2198b8c24b2..e88b02f092e 100644 --- a/.github/workflows/milestoned_to_project.yml +++ b/.github/workflows/milestoned_to_project.yml @@ -9,7 +9,7 @@ jobs: build: # only run in grafana/tempo. if: github.repository == 'grafana/tempo' - runs-on: ubuntu-latest + runs-on: ubuntu-24.04 steps: - name: Get app token diff --git a/.github/workflows/publish-technical-documentation-next.yml b/.github/workflows/publish-technical-documentation-next.yml index bc262616d62..2c283dc9991 100644 --- a/.github/workflows/publish-technical-documentation-next.yml +++ b/.github/workflows/publish-technical-documentation-next.yml @@ -13,7 +13,7 @@ jobs: permissions: contents: read id-token: write - runs-on: ubuntu-latest + runs-on: ubuntu-24.04 steps: - uses: actions/checkout@v4 - uses: grafana/writers-toolkit/publish-technical-documentation@publish-technical-documentation/v1 diff --git a/.github/workflows/publish-technical-documentation-release.yml b/.github/workflows/publish-technical-documentation-release.yml index 334ca5ade5c..369ad27c74d 100644 --- a/.github/workflows/publish-technical-documentation-release.yml +++ b/.github/workflows/publish-technical-documentation-release.yml @@ -15,7 +15,7 @@ jobs: permissions: contents: read id-token: write - runs-on: ubuntu-latest + runs-on: ubuntu-24.04 steps: - uses: actions/checkout@v4 with: diff --git a/.github/workflows/sbom-report.yml b/.github/workflows/sbom-report.yml index 8c5e437c4a3..9c3cfea6531 100644 --- a/.github/workflows/sbom-report.yml +++ b/.github/workflows/sbom-report.yml @@ -7,7 +7,7 @@ on: jobs: syft-sbom: - runs-on: ubuntu-latest + runs-on: ubuntu-24.04 steps: - name: Checkout diff --git a/.github/workflows/stale.yml b/.github/workflows/stale.yml index 57508394bad..a367ead8796 100644 --- a/.github/workflows/stale.yml +++ b/.github/workflows/stale.yml @@ -10,7 +10,7 @@ jobs: stale: # only run in grafana/tempo. if: github.repository == 'grafana/tempo' - runs-on: ubuntu-latest + runs-on: ubuntu-24.04 steps: - uses: actions/stale@v9.0.0 with: diff --git a/.github/workflows/update-make-docs.yml b/.github/workflows/update-make-docs.yml index 3700f7b47c2..95fc89487ad 100644 --- a/.github/workflows/update-make-docs.yml +++ b/.github/workflows/update-make-docs.yml @@ -6,7 +6,7 @@ on: jobs: main: if: github.repository == 'grafana/tempo' - runs-on: ubuntu-latest + runs-on: ubuntu-24.04 steps: - uses: actions/checkout@v4 - uses: grafana/writers-toolkit/update-make-docs@update-make-docs/v1