From 6061098aec92378ae639ef0fc5ba73147c1b2e30 Mon Sep 17 00:00:00 2001 From: Ada Wang Date: Tue, 9 Aug 2022 17:50:02 +0800 Subject: [PATCH] [KYUUBI #2584][INFRA] Migrate CI to Ubuntu 22.04 ### _Why are the changes needed?_ Close #2584 ### _How was this patch tested?_ - [ ] Add some test cases that check the changes thoroughly including negative and positive cases if possible - [ ] Add screenshots for manual tests if appropriate - [x] [Run test](https://kyuubi.apache.org/docs/latest/develop_tools/testing.html#running-tests) locally before make a pull request Closes #2585 from deadwind4/bump-ubuntu. Closes #2584 050f1b9a [Luning Wang] Bump actions-setup-minikub to 2.7.0 51a77ddb [Ada Wang] [KYUUBI #2584][INFRA] Migrate CI to Ubuntu 22.04 Lead-authored-by: Ada Wang Co-authored-by: Luning Wang Signed-off-by: Cheng Pan --- .github/workflows/dep.yml | 2 +- .github/workflows/docker-image.yml | 2 +- .github/workflows/license.yml | 2 +- .github/workflows/master.yml | 20 ++++++++++---------- .github/workflows/nightly.yml | 2 +- .github/workflows/publish-snapshot.yml | 2 +- .github/workflows/style.yml | 2 +- 7 files changed, 16 insertions(+), 16 deletions(-) diff --git a/.github/workflows/dep.yml b/.github/workflows/dep.yml index b60c9e4d3d6..c4e590e6bf5 100644 --- a/.github/workflows/dep.yml +++ b/.github/workflows/dep.yml @@ -33,7 +33,7 @@ concurrency: jobs: dep: name: Dependency check - runs-on: ubuntu-20.04 + runs-on: ubuntu-22.04 steps: - uses: actions/checkout@v2 - name: setup java diff --git a/.github/workflows/docker-image.yml b/.github/workflows/docker-image.yml index 683a886ddcf..792d3225bb6 100644 --- a/.github/workflows/docker-image.yml +++ b/.github/workflows/docker-image.yml @@ -26,7 +26,7 @@ jobs: push_to_registry: name: Push Docker image to Docker Hub if: ${{ startsWith(github.repository, 'apache/') }} - runs-on: ubuntu-20.04 + runs-on: ubuntu-22.04 concurrency: # this group should be global unique group: push-docker-image diff --git a/.github/workflows/license.yml b/.github/workflows/license.yml index fff068b93d5..2edba21a8ef 100644 --- a/.github/workflows/license.yml +++ b/.github/workflows/license.yml @@ -32,7 +32,7 @@ concurrency: jobs: rat: name: License - runs-on: ubuntu-20.04 + runs-on: ubuntu-22.04 steps: - uses: actions/checkout@v2 - name: Setup JDK 8 diff --git a/.github/workflows/master.yml b/.github/workflows/master.yml index a5d222839f7..e8c982ca7ab 100644 --- a/.github/workflows/master.yml +++ b/.github/workflows/master.yml @@ -37,7 +37,7 @@ env: jobs: default: name: Kyuubi and Spark Test - runs-on: ubuntu-20.04 + runs-on: ubuntu-22.04 strategy: fail-fast: false matrix: @@ -99,7 +99,7 @@ jobs: flink-it: name: Flink Test - runs-on: ubuntu-20.04 + runs-on: ubuntu-22.04 strategy: fail-fast: false matrix: @@ -143,7 +143,7 @@ jobs: hive-it: name: Hive Test - runs-on: ubuntu-20.04 + runs-on: ubuntu-22.04 strategy: fail-fast: false matrix: @@ -177,7 +177,7 @@ jobs: jdbc-it: name: JDBC Test - runs-on: ubuntu-20.04 + runs-on: ubuntu-22.04 strategy: fail-fast: false matrix: @@ -212,7 +212,7 @@ jobs: trino-it: name: Trino Test - runs-on: ubuntu-20.04 + runs-on: ubuntu-22.04 strategy: fail-fast: false matrix: @@ -247,7 +247,7 @@ jobs: tpch-tpcds: name: TPC-H and TPC-DS Tests - runs-on: ubuntu-20.04 + runs-on: ubuntu-22.04 env: SPARK_LOCAL_IP: localhost steps: @@ -271,7 +271,7 @@ jobs: kyuubi-on-k8s-it: name: Kyuubi Server On Kubernetes Integration Test - runs-on: ubuntu-20.04 + runs-on: ubuntu-22.04 steps: - name: Checkout uses: actions/checkout@v2 @@ -289,7 +289,7 @@ jobs: tags: apache/kyuubi:latest # from https://github.com/marketplace/actions/setup-minikube-kubernetes-cluster - name: Setup Minikube - uses: manusa/actions-setup-minikube@v2.4.3 + uses: manusa/actions-setup-minikube@v2.7.0 with: minikube version: 'v1.25.2' kubernetes version: 'v1.23.3' @@ -318,13 +318,13 @@ jobs: spark-on-k8s-it: name: Spark Engine On Kubernetes Integration Test - runs-on: ubuntu-20.04 + runs-on: ubuntu-22.04 steps: - name: Checkout uses: actions/checkout@v2 # from https://github.com/marketplace/actions/setup-minikube-kubernetes-cluster - name: Setup Minikube - uses: manusa/actions-setup-minikube@v2.4.3 + uses: manusa/actions-setup-minikube@v2.7.0 with: minikube version: 'v1.25.2' kubernetes version: 'v1.23.3' diff --git a/.github/workflows/nightly.yml b/.github/workflows/nightly.yml index bd2c23fbf1b..0381bf0e5f2 100644 --- a/.github/workflows/nightly.yml +++ b/.github/workflows/nightly.yml @@ -25,7 +25,7 @@ jobs: build: name: Build if: ${{ startsWith(github.repository, 'apache/') }} - runs-on: ubuntu-20.04 + runs-on: ubuntu-22.04 strategy: matrix: profiles: diff --git a/.github/workflows/publish-snapshot.yml b/.github/workflows/publish-snapshot.yml index 1464b3d7af8..388bee7ac98 100644 --- a/.github/workflows/publish-snapshot.yml +++ b/.github/workflows/publish-snapshot.yml @@ -24,7 +24,7 @@ on: jobs: publish-snapshot: if: ${{ startsWith(github.repository, 'apache/') }} - runs-on: ubuntu-20.04 + runs-on: ubuntu-22.04 strategy: fail-fast: false matrix: diff --git a/.github/workflows/style.yml b/.github/workflows/style.yml index 9780ebd2fce..fbded473fbf 100644 --- a/.github/workflows/style.yml +++ b/.github/workflows/style.yml @@ -35,7 +35,7 @@ concurrency: jobs: linter: name: Style check - runs-on: ubuntu-20.04 + runs-on: ubuntu-22.04 steps: - uses: actions/checkout@v2 - name: Setup JDK 8