Skip to content

Commit

Permalink
Switch Github runners to Ubuntu 20.04
Browse files Browse the repository at this point in the history
  • Loading branch information
wendigo committed Sep 19, 2024
1 parent 3c1b11c commit ac5f1db
Showing 1 changed file with 12 additions and 12 deletions.
24 changes: 12 additions & 12 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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
Expand Down Expand Up @@ -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 }}
Expand Down Expand Up @@ -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
Expand All @@ -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
Expand All @@ -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
Expand Down Expand Up @@ -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:
Expand Down Expand Up @@ -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
Expand Down Expand Up @@ -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:
Expand Down Expand Up @@ -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:
Expand Down Expand Up @@ -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 }}
Expand Down Expand Up @@ -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 != '{}'
Expand Down

0 comments on commit ac5f1db

Please sign in to comment.