-
Notifications
You must be signed in to change notification settings - Fork 938
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[KYUUBI #3692] [INFRA] [FOLLOWUP] Upgrade Github actions version
### _Why are the changes needed?_ This pr aims to upgrade github actions version, They all include actions/core upgrades(Cleanup set-output warning), as follow: 1) Upgrade actions/checkout from v2 to v3, https://github.com/actions/checkout/releases/tag/v3.1.0 2) Upgrade docker/login-action from v1 to v2, https://github.com/docker/login-action/releases/tag/v2.1.0 3) Upgrade actions/upload-artifact from v2 to v3, https://github.com/actions/upload-artifact/releases/tag/v3.1.1 4) Upgrade actions/stale from v5 to v6, https://github.com/actions/stale/releases/tag/v6.0.1 ### _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 - [ ] [Run test](https://kyuubi.apache.org/docs/latest/develop_tools/testing.html#running-tests) locally before make a pull request Closes #3700 from Yikf/upgrade-ga. Closes #3692 68289e9 [Yikf] Upgrade GA Authored-by: Yikf <[email protected]> Signed-off-by: Cheng Pan <[email protected]>
- Loading branch information
Showing
8 changed files
with
29 additions
and
29 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -65,7 +65,7 @@ jobs: | |
env: | ||
SPARK_LOCAL_IP: localhost | ||
steps: | ||
- uses: actions/checkout@v2 | ||
- uses: actions/checkout@v3 | ||
- name: Tune Runner VM | ||
uses: ./.github/actions/tune-runner-vm | ||
- name: Setup JDK ${{ matrix.java }} | ||
|
@@ -90,7 +90,7 @@ jobs: | |
verbose: true | ||
- name: Upload test logs | ||
if: failure() | ||
uses: actions/upload-artifact@v2 | ||
uses: actions/upload-artifact@v3 | ||
with: | ||
name: unit-tests-log-java-${{ matrix.java }}-spark-${{ matrix.spark }}-${{ matrix.comment }} | ||
path: | | ||
|
@@ -112,7 +112,7 @@ jobs: | |
env: | ||
SPARK_LOCAL_IP: localhost | ||
steps: | ||
- uses: actions/checkout@v2 | ||
- uses: actions/checkout@v3 | ||
- name: Tune Runner VM | ||
uses: ./.github/actions/tune-runner-vm | ||
- name: Setup JDK ${{ matrix.java }} | ||
|
@@ -129,7 +129,7 @@ jobs: | |
-Dspark.version=${{ matrix.spark }} | ||
- name: Upload test logs | ||
if: failure() | ||
uses: actions/upload-artifact@v2 | ||
uses: actions/upload-artifact@v3 | ||
with: | ||
name: unit-tests-log-java-${{ matrix.java }}-spark-${{ matrix.spark }}-${{ matrix.comment }} | ||
path: | | ||
|
@@ -161,7 +161,7 @@ jobs: | |
flink-archive: '-Dflink.archive.mirror=https://archive.apache.org/dist/flink/flink-1.16.0 -Dflink.archive.name=flink-1.16.0-bin-scala_2.12.tgz' | ||
comment: 'verify-on-flink-1.16-binary' | ||
steps: | ||
- uses: actions/checkout@v2 | ||
- uses: actions/checkout@v3 | ||
- name: Tune Runner VM | ||
uses: ./.github/actions/tune-runner-vm | ||
- name: Setup JDK ${{ matrix.java }} | ||
|
@@ -188,7 +188,7 @@ jobs: | |
./build/mvn ${MVN_OPT} -pl ${IT_MODULE} -Pflink-${IT_FLINK} ${{ matrix.flink-archive }} test | ||
- name: Upload test logs | ||
if: failure() | ||
uses: actions/upload-artifact@v2 | ||
uses: actions/upload-artifact@v3 | ||
with: | ||
name: unit-tests-log-java-${{ matrix.java }}-flink-${{ matrix.flink }}-${{ matrix.comment }} | ||
path: | | ||
|
@@ -205,7 +205,7 @@ jobs: | |
- 8 | ||
comment: [ "normal" ] | ||
steps: | ||
- uses: actions/checkout@v2 | ||
- uses: actions/checkout@v3 | ||
- name: Tune Runner VM | ||
uses: ./.github/actions/tune-runner-vm | ||
- name: Setup JDK ${{ matrix.java }} | ||
|
@@ -222,7 +222,7 @@ jobs: | |
./build/mvn ${MVN_OPT} -pl ${TEST_MODULES} test | ||
- name: Upload test logs | ||
if: failure() | ||
uses: actions/upload-artifact@v2 | ||
uses: actions/upload-artifact@v3 | ||
with: | ||
name: unit-tests-log-java-${{ matrix.java }}-hive-${{ matrix.comment }} | ||
path: | | ||
|
@@ -240,7 +240,7 @@ jobs: | |
- 11 | ||
comment: [ "normal" ] | ||
steps: | ||
- uses: actions/checkout@v2 | ||
- uses: actions/checkout@v3 | ||
- name: Tune Runner VM | ||
uses: ./.github/actions/tune-runner-vm | ||
- name: Setup JDK ${{ matrix.java }} | ||
|
@@ -257,7 +257,7 @@ jobs: | |
./build/mvn ${MVN_OPT} -pl ${TEST_MODULES} test | ||
- name: Upload test logs | ||
if: failure() | ||
uses: actions/upload-artifact@v2 | ||
uses: actions/upload-artifact@v3 | ||
with: | ||
name: unit-tests-log-java-${{ matrix.java }}-hive-${{ matrix.comment }} | ||
path: | | ||
|
@@ -275,7 +275,7 @@ jobs: | |
- 11 | ||
comment: [ "normal" ] | ||
steps: | ||
- uses: actions/checkout@v2 | ||
- uses: actions/checkout@v3 | ||
- name: Tune Runner VM | ||
uses: ./.github/actions/tune-runner-vm | ||
- name: Setup JDK ${{ matrix.java }} | ||
|
@@ -292,7 +292,7 @@ jobs: | |
./build/mvn ${MVN_OPT} -pl ${TEST_MODULES} test | ||
- name: Upload test logs | ||
if: failure() | ||
uses: actions/upload-artifact@v2 | ||
uses: actions/upload-artifact@v3 | ||
with: | ||
name: unit-tests-log-java-${{ matrix.java }}-trino-${{ matrix.comment }} | ||
path: | | ||
|
@@ -305,7 +305,7 @@ jobs: | |
env: | ||
SPARK_LOCAL_IP: localhost | ||
steps: | ||
- uses: actions/checkout@v2 | ||
- uses: actions/checkout@v3 | ||
- name: Tune Runner VM | ||
uses: ./.github/actions/tune-runner-vm | ||
- name: Setup JDK 8 | ||
|
@@ -328,7 +328,7 @@ jobs: | |
runs-on: ubuntu-22.04 | ||
steps: | ||
- name: Checkout | ||
uses: actions/checkout@v2 | ||
uses: actions/checkout@v3 | ||
# https://github.com/docker/build-push-action | ||
- name: Set up Docker Buildx | ||
uses: docker/setup-buildx-action@v1 | ||
|
@@ -364,7 +364,7 @@ jobs: | |
-Dtest=none -DwildcardSuites=org.apache.kyuubi.kubernetes.test.deployment,org.apache.kyuubi.kubernetes.test.KubernetesUtilsTest | ||
- name: Upload test logs | ||
if: failure() | ||
uses: actions/upload-artifact@v2 | ||
uses: actions/upload-artifact@v3 | ||
with: | ||
name: unit-tests-log-kyuubi-on-k8s-it | ||
path: | | ||
|
@@ -375,7 +375,7 @@ jobs: | |
runs-on: ubuntu-22.04 | ||
steps: | ||
- name: Checkout | ||
uses: actions/checkout@v2 | ||
uses: actions/checkout@v3 | ||
# from https://github.com/marketplace/actions/setup-minikube-kubernetes-cluster | ||
- name: Setup Minikube | ||
uses: manusa/[email protected] | ||
|
@@ -405,7 +405,7 @@ jobs: | |
kubectl get pods | grep driver | awk -F " " '{print$1}' | xargs -I {} kubectl logs {} | ||
- name: Upload test logs | ||
if: failure() | ||
uses: actions/upload-artifact@v2 | ||
uses: actions/upload-artifact@v3 | ||
with: | ||
name: unit-tests-log-spark-on-k8s-it | ||
path: | | ||
|
@@ -422,7 +422,7 @@ jobs: | |
zookeeper: ["3.4", "3.5", "3.6", "3.7" ] | ||
comment: [ "normal" ] | ||
steps: | ||
- uses: actions/checkout@v2 | ||
- uses: actions/checkout@v3 | ||
- name: Tune Runner VM | ||
uses: ./.github/actions/tune-runner-vm | ||
- name: Setup JDK ${{ matrix.java }} | ||
|
@@ -440,7 +440,7 @@ jobs: | |
./build/mvn ${MVN_OPT} -pl ${TEST_MODULES} test | ||
- name: Upload test logs | ||
if: failure() | ||
uses: actions/upload-artifact@v2 | ||
uses: actions/upload-artifact@v3 | ||
with: | ||
name: unit-tests-log-java-${{ matrix.java }}-zookeeper-${{ matrix.comment }} | ||
path: | | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters