From 451f1fed497648185611ffcfd52a48ae59054749 Mon Sep 17 00:00:00 2001 From: Riccardo Busetti Date: Tue, 7 Jan 2025 10:47:36 +0100 Subject: [PATCH] feat(ci): Use ubuntu 22.04 in CI --- .github/workflows/ci.yml | 28 ++++++++++++++-------------- 1 file changed, 14 insertions(+), 14 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 0edc3f4243..cbe0c64c3f 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -21,7 +21,7 @@ env: jobs: lint: name: Lint - runs-on: ubuntu-latest + runs-on: ubuntu-22.04 steps: - name: Install libcurl-dev @@ -53,7 +53,7 @@ jobs: lint_default: name: Lint Rust Default Features - runs-on: ubuntu-latest + runs-on: ubuntu-22.04 steps: - name: Install libcurl-dev @@ -105,14 +105,14 @@ jobs: test_all: timeout-minutes: 15 - name: Test All Features (ubuntu-latest) - runs-on: ubuntu-latest + name: Test All Features (ubuntu-22.04) + runs-on: ubuntu-22.04 # Skip redundant checks for library releases if: "!startsWith(github.ref, 'refs/heads/release-library/')" # Testing all features requires Docker container operations that are only available on - # `ubuntu-latest`. This `test-all` job is to be seen as complementary to the `test` job. If + # `ubuntu-22.04`. This `test-all` job is to be seen as complementary to the `test` job. If # services become available on other platforms, the jobs should be consolidated. See # https://docs.github.com/en/actions/guides/about-service-containers @@ -151,7 +151,7 @@ jobs: if: "!startsWith(github.ref, 'refs/heads/release/')" name: Test Python - runs-on: ubuntu-latest + runs-on: ubuntu-22.04 steps: - uses: actions/checkout@v4 @@ -182,7 +182,7 @@ jobs: build-setup: name: Setup build metadata - runs-on: ubuntu-latest + runs-on: ubuntu-22.04 if: "!startsWith(github.ref, 'refs/heads/release-library/')" @@ -225,7 +225,7 @@ jobs: target: ${{ fromJson(needs.build-setup.outputs.targets) }} name: Build Relay Binary - runs-on: ubuntu-latest + runs-on: ubuntu-22.04 if: "!startsWith(github.ref, 'refs/heads/release-library/')" @@ -294,7 +294,7 @@ jobs: needs: [build-setup, build] name: Build Docker Image - runs-on: ubuntu-latest + runs-on: ubuntu-22.04 strategy: matrix: @@ -386,7 +386,7 @@ jobs: needs: [build-setup, build-docker] name: Publish Relay to GCR - runs-on: ubuntu-latest + runs-on: ubuntu-22.04 strategy: matrix: @@ -437,7 +437,7 @@ jobs: needs: [build-setup, build-docker] name: Upload build artifacts to gocd - runs-on: ubuntu-latest + runs-on: ubuntu-22.04 strategy: matrix: @@ -495,7 +495,7 @@ jobs: test_integration: name: Integration Tests - runs-on: ubuntu-latest + runs-on: ubuntu-22.04 timeout-minutes: 30 # Skip redundant checks for library releases @@ -554,7 +554,7 @@ jobs: sentry-relay-integration-tests: name: Sentry-Relay Integration Tests - runs-on: ubuntu-latest + runs-on: ubuntu-22.04 timeout-minutes: 30 needs: build-docker @@ -607,7 +607,7 @@ jobs: make test-relay-integration self-hosted-end-to-end: - runs-on: ubuntu-latest + runs-on: ubuntu-22.04 timeout-minutes: 25 needs: build-docker