Skip to content

Commit

Permalink
[KYUUBI #2584][INFRA] Migrate CI to Ubuntu 22.04
Browse files Browse the repository at this point in the history
### _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

050f1b9 [Luning Wang] Bump actions-setup-minikub to 2.7.0
51a77dd [Ada Wang] [KYUUBI #2584][INFRA] Migrate CI to Ubuntu 22.04

Lead-authored-by: Ada Wang <[email protected]>
Co-authored-by: Luning Wang <[email protected]>
Signed-off-by: Cheng Pan <[email protected]>
  • Loading branch information
a49a authored and pan3793 committed Aug 9, 2022
1 parent a75de1b commit 6061098
Show file tree
Hide file tree
Showing 7 changed files with 16 additions and 16 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/dep.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/docker-image.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/license.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
20 changes: 10 additions & 10 deletions .github/workflows/master.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down Expand Up @@ -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:
Expand Down Expand Up @@ -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:
Expand Down Expand Up @@ -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:
Expand Down Expand Up @@ -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:
Expand Down Expand Up @@ -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:
Expand All @@ -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
Expand All @@ -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'
Expand Down Expand Up @@ -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'
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/nightly.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/publish-snapshot.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/style.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 6061098

Please sign in to comment.