Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Switch Github runners to Ubuntu 20.04 #23504

Merged
merged 1 commit into from
Sep 19, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
11 changes: 7 additions & 4 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -484,7 +484,7 @@ jobs:
- { modules: plugin/trino-singlestore }
- { modules: plugin/trino-snowflake }
- { modules: plugin/trino-snowflake, profile: cloud-tests }
- { modules: plugin/trino-sqlserver }
- { modules: plugin/trino-sqlserver, runson: ubuntu-20.04 }
wendigo marked this conversation as resolved.
Show resolved Hide resolved
- { modules: testing/trino-faulttolerant-tests, profile: default }
- { modules: testing/trino-faulttolerant-tests, profile: test-fault-tolerant-delta }
- { modules: testing/trino-faulttolerant-tests, profile: test-fault-tolerant-hive }
Expand All @@ -496,7 +496,7 @@ jobs:
echo "matrix=$(jq -c '.' matrix.json)" >> $GITHUB_OUTPUT

test:
runs-on: ubuntu-latest
runs-on: ${{ matrix.runson || 'ubuntu-latest' }}
needs: build-test-matrix
if: needs.build-test-matrix.outputs.matrix != '{}'
strategy:
Expand Down Expand Up @@ -873,7 +873,6 @@ jobs:
# suite-4 does not exist
- suite-5
- suite-6-non-generic
- suite-7-non-generic
- suite-hive-transactional
- suite-azure
- suite-delta-lake-databricks91
Expand Down Expand Up @@ -953,6 +952,10 @@ jobs:
# this suite is designed specifically for apache-hive3. TODO remove the suite once we can run all regular tests on apache-hive3.
- config: apache-hive3
suite: suite-hms-only
# Workaround for https://github.com/microsoft/mssql-docker/issues/899
- config: default
suite: suite-7-non-generic
runson: ubuntu-20.04
EOF
- name: Build PT matrix (all)
if: |
Expand Down Expand Up @@ -1007,7 +1010,7 @@ jobs:
echo "matrix=$(cat matrix.json)" >> $GITHUB_OUTPUT

pt:
runs-on: ubuntu-latest
runs-on: ${{ matrix.runson || 'ubuntu-latest' }}
# 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
Loading