Skip to content

Commit

Permalink
feat(ci): Use ubuntu 22.04 in CI
Browse files Browse the repository at this point in the history
  • Loading branch information
iambriccardo committed Jan 7, 2025
1 parent 3a98cd3 commit 451f1fe
Showing 1 changed file with 14 additions and 14 deletions.
28 changes: 14 additions & 14 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ env:
jobs:
lint:
name: Lint
runs-on: ubuntu-latest
runs-on: ubuntu-22.04

steps:
- name: Install libcurl-dev
Expand Down Expand Up @@ -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
Expand Down Expand Up @@ -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

Expand Down Expand Up @@ -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
Expand Down Expand Up @@ -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/')"

Expand Down Expand Up @@ -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/')"

Expand Down Expand Up @@ -294,7 +294,7 @@ jobs:
needs: [build-setup, build]

name: Build Docker Image
runs-on: ubuntu-latest
runs-on: ubuntu-22.04

strategy:
matrix:
Expand Down Expand Up @@ -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:
Expand Down Expand Up @@ -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:
Expand Down Expand Up @@ -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
Expand Down Expand Up @@ -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

Expand Down Expand Up @@ -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

Expand Down

0 comments on commit 451f1fe

Please sign in to comment.