From b96d6aff1dd88a686a2142b8ba85be2992f4078f 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 Temporary until https://github.com/microsoft/mssql-docker/issues/899 is resolved. --- .github/workflows/ci.yml | 11 +++++++---- 1 file changed, 7 insertions(+), 4 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 00b643044056b..67e844f922201 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -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 } - { 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 } @@ -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: @@ -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 @@ -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: | @@ -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 != '{}'