From ac5f1db548d9f48fe478b3a8808b233b3c3f116e Mon Sep 17 00:00:00 2001 From: "Mateusz \"Serafin\" Gajewski" Date: Thu, 19 Sep 2024 14:11:55 +0200 Subject: [PATCH] Switch Github runners to Ubuntu 20.04 --- .github/workflows/ci.yml | 24 ++++++++++++------------ 1 file changed, 12 insertions(+), 12 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 00b643044056b9..9cbcd25a635574 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -51,7 +51,7 @@ concurrency: jobs: maven-checks: - runs-on: ubuntu-latest + runs-on: ubuntu-20.04 name: maven-checks ${{ matrix.java-version }} strategy: fail-fast: false @@ -88,7 +88,7 @@ jobs: run: rm -rf ~/.m2/repository/io/trino/trino-* artifact-checks: - runs-on: ubuntu-latest + runs-on: ubuntu-20.04 timeout-minutes: 45 steps: - uses: actions/checkout@v4 @@ -125,7 +125,7 @@ jobs: run: core/docker/build.sh check-commits-dispatcher: - runs-on: ubuntu-latest + runs-on: ubuntu-20.04 if: github.event_name == 'pull_request' outputs: matrix: ${{ steps.set-matrix.outputs.matrix }} @@ -156,7 +156,7 @@ jobs: check-commit: needs: check-commits-dispatcher - runs-on: ubuntu-latest + runs-on: ubuntu-20.04 if: github.event_name == 'pull_request' && needs.check-commits-dispatcher.outputs.matrix != '' strategy: fail-fast: false @@ -177,7 +177,7 @@ jobs: base_ref: ${{ github.event.pull_request.base.ref }} error-prone-checks: - runs-on: ubuntu-latest + runs-on: ubuntu-20.04 timeout-minutes: 45 steps: - uses: actions/checkout@v4 @@ -204,7 +204,7 @@ jobs: -pl '!:trino-docs,!:trino-server,!:trino-server-rpm' test-jdbc-compatibility: - runs-on: ubuntu-latest + runs-on: ubuntu-20.04 timeout-minutes: 30 steps: - uses: actions/checkout@v4 @@ -243,7 +243,7 @@ jobs: upload-heap-dump: ${{ env.SECRETS_PRESENT == '' && github.event_name == 'pull_request' && github.event.pull_request.head.repo.full_name != github.repository }} hive-tests: - runs-on: ubuntu-latest + runs-on: ubuntu-20.04 strategy: fail-fast: false matrix: @@ -309,7 +309,7 @@ jobs: github_token: ${{ secrets.GITHUB_TOKEN }} test-other-modules: - runs-on: ubuntu-latest + runs-on: ubuntu-20.04 timeout-minutes: 60 steps: - uses: actions/checkout@v4 @@ -389,7 +389,7 @@ jobs: upload-heap-dump: ${{ env.SECRETS_PRESENT == '' && github.event_name == 'pull_request' && github.event.pull_request.head.repo.full_name != github.repository }} build-test-matrix: - runs-on: ubuntu-latest + runs-on: ubuntu-20.04 outputs: matrix: ${{ steps.set-matrix.outputs.matrix }} steps: @@ -496,7 +496,7 @@ jobs: echo "matrix=$(jq -c '.' matrix.json)" >> $GITHUB_OUTPUT test: - runs-on: ubuntu-latest + runs-on: ubuntu-20.04 needs: build-test-matrix if: needs.build-test-matrix.outputs.matrix != '{}' strategy: @@ -807,7 +807,7 @@ jobs: github_token: ${{ secrets.GITHUB_TOKEN }} build-pt: - runs-on: ubuntu-latest + runs-on: ubuntu-20.04 outputs: matrix: ${{ steps.set-matrix.outputs.matrix }} product-tests-changed: ${{ steps.filter.outputs.product-tests }} @@ -1007,7 +1007,7 @@ jobs: echo "matrix=$(cat matrix.json)" >> $GITHUB_OUTPUT pt: - runs-on: ubuntu-latest + runs-on: ubuntu-20.04 # explicitly define the name to avoid adding the value of the `ignore exclusion if` matrix item name: pt (${{ matrix.config }}, ${{ matrix.suite }}, ${{ matrix.jdk }}) if: needs.build-pt.outputs.matrix != '{}'