From 0638f8b589b9ec2cf668db051a6bc96828f5f692 Mon Sep 17 00:00:00 2001 From: Kuntal Ghosh Date: Fri, 11 Nov 2022 23:28:47 +0530 Subject: [PATCH] Fix the os version for github action (#830) We're running the github actions on ubuntu-latest. Previously, it was ubuntu-20.04, but in any recently created fork, it's pointing to ubuntu-22.04. This is causing dependency/build failure in the github actions running in the fork. So, let's fix the os version. Task: BABEL-OSS Signed-off by: Kuntal Ghosh kuntalgh@amazon.com --- .github/workflows/dotnet-tests.yml | 2 +- .github/workflows/isolation-tests.yml | 2 +- .github/workflows/jdbc-tests.yml | 2 +- .github/workflows/major-version-upgrade.yml | 2 +- .github/workflows/minor-version-upgrade.yml | 2 +- .github/workflows/odbc-tests.yml | 2 +- .github/workflows/python-tests.yml | 2 +- .github/workflows/singledb-version-upgrade.yml | 2 +- .github/workflows/sql-validation-tests.yml | 4 ++-- .github/workflows/upgrade-test.yml | 4 ++-- 10 files changed, 12 insertions(+), 12 deletions(-) diff --git a/.github/workflows/dotnet-tests.yml b/.github/workflows/dotnet-tests.yml index 2ddfa997ba..6c3fdfb62c 100644 --- a/.github/workflows/dotnet-tests.yml +++ b/.github/workflows/dotnet-tests.yml @@ -3,7 +3,7 @@ on: [push, pull_request] jobs: run-babelfish-dotnet-tests: - runs-on: ubuntu-latest + runs-on: ubuntu-20.04 steps: - uses: actions/checkout@v2 id: checkout diff --git a/.github/workflows/isolation-tests.yml b/.github/workflows/isolation-tests.yml index f40010a110..dafbd7fef4 100644 --- a/.github/workflows/isolation-tests.yml +++ b/.github/workflows/isolation-tests.yml @@ -8,7 +8,7 @@ on: jobs: isolation-tests: name: Isolation-Tests - runs-on: ubuntu-latest + runs-on: ubuntu-20.04 steps: - uses: actions/checkout@v2 id: checkout diff --git a/.github/workflows/jdbc-tests.yml b/.github/workflows/jdbc-tests.yml index 9643225ebe..34b20bd419 100644 --- a/.github/workflows/jdbc-tests.yml +++ b/.github/workflows/jdbc-tests.yml @@ -3,7 +3,7 @@ on: [push, pull_request] jobs: run-babelfish-jdbc-tests: - runs-on: ubuntu-latest + runs-on: ubuntu-20.04 steps: - uses: actions/checkout@v2 id: checkout diff --git a/.github/workflows/major-version-upgrade.yml b/.github/workflows/major-version-upgrade.yml index a2947f96c4..6308447529 100644 --- a/.github/workflows/major-version-upgrade.yml +++ b/.github/workflows/major-version-upgrade.yml @@ -9,7 +9,7 @@ jobs: ENGINE_BRANCH_FROM: BABEL_1_X_DEV__PG_13_X EXTENSION_BRANCH_FROM: BABEL_1_X_DEV - runs-on: ubuntu-latest + runs-on: ubuntu-20.04 steps: - uses: actions/checkout@v2 diff --git a/.github/workflows/minor-version-upgrade.yml b/.github/workflows/minor-version-upgrade.yml index a68ac803b3..03bfc8191a 100644 --- a/.github/workflows/minor-version-upgrade.yml +++ b/.github/workflows/minor-version-upgrade.yml @@ -8,7 +8,7 @@ jobs: EXTENSION_VER_FROM: BABEL_2_1_STABLE name: Build and test - runs-on: ubuntu-latest + runs-on: ubuntu-20.04 steps: - uses: actions/checkout@v2 diff --git a/.github/workflows/odbc-tests.yml b/.github/workflows/odbc-tests.yml index b11b1a66ed..99f5659c56 100644 --- a/.github/workflows/odbc-tests.yml +++ b/.github/workflows/odbc-tests.yml @@ -3,7 +3,7 @@ on: [push, pull_request] jobs: run-babelfish-odbc-tests: - runs-on: ubuntu-latest + runs-on: ubuntu-20.04 steps: - uses: actions/checkout@v2 id: checkout diff --git a/.github/workflows/python-tests.yml b/.github/workflows/python-tests.yml index 858eca296f..97af13cc4d 100644 --- a/.github/workflows/python-tests.yml +++ b/.github/workflows/python-tests.yml @@ -3,7 +3,7 @@ on: [push, pull_request] jobs: run-babelfish-python-tests: - runs-on: ubuntu-latest + runs-on: ubuntu-20.04 steps: - uses: actions/checkout@v2 id: checkout diff --git a/.github/workflows/singledb-version-upgrade.yml b/.github/workflows/singledb-version-upgrade.yml index 4cb9bbb188..92ae001a39 100644 --- a/.github/workflows/singledb-version-upgrade.yml +++ b/.github/workflows/singledb-version-upgrade.yml @@ -10,7 +10,7 @@ jobs: ENGINE_BRANCH_FROM: BABEL_1_2_STABLE__PG_13_6 EXTENSION_BRANCH_FROM: BABEL_1_2_STABLE - runs-on: ubuntu-latest + runs-on: ubuntu-20.04 steps: - uses: actions/checkout@v2 diff --git a/.github/workflows/sql-validation-tests.yml b/.github/workflows/sql-validation-tests.yml index 25930248fe..77c92203b9 100644 --- a/.github/workflows/sql-validation-tests.yml +++ b/.github/workflows/sql-validation-tests.yml @@ -3,7 +3,7 @@ on: [push, pull_request] jobs: run-sql-validation-tests: - runs-on: ubuntu-latest + runs-on: ubuntu-20.04 steps: - uses: actions/checkout@v2 id: checkout @@ -23,4 +23,4 @@ jobs: uses: actions/upload-artifact@v2 with: name: expected-output-files - path: test/python/output/sql_validation_framework/* \ No newline at end of file + path: test/python/output/sql_validation_framework/* diff --git a/.github/workflows/upgrade-test.yml b/.github/workflows/upgrade-test.yml index c8809be341..33f2eadef8 100644 --- a/.github/workflows/upgrade-test.yml +++ b/.github/workflows/upgrade-test.yml @@ -4,7 +4,7 @@ on: [push, pull_request] jobs: generate-version-upgrade-tests: name: Generate Version Upgrade Tests - runs-on: ubuntu-latest + runs-on: ubuntu-20.04 outputs: upgrade-path-list: ${{ steps.generate-upgrade-path.outputs.upgrade-path-list }} steps: @@ -25,7 +25,7 @@ jobs: matrix: upgrade-path: ${{ fromJson(needs.generate-version-upgrade-tests.outputs.upgrade-path-list) }} name: Run Version Upgrade Test for ${{ matrix.upgrade-path.title }} - runs-on: ubuntu-latest + runs-on: ubuntu-20.04 steps: - uses: actions/checkout@v2