rickchengx opened a new pull request #4189: URL: https://github.com/apache/zeppelin/pull/4189
### What is this PR for? Zeppelin uses GitHub Action to complete Continuous integration (CI). Specifically, it has three workflows: `core.yaml`, `frontend.yaml` and `rat.yaml`. However, It is currently not possible to verify the functions of zeppelin in the k8s environment in these workflows. This PR utilizes **Minikube** as the k8s environment for CI testing. Specifically, it defines a new GitHub Action workflow: `k8s_ci_tests.yaml`. It contains following key steps: 1. start Minikube (i.e., a single-node Kubernetes cluster) on the GitHub-hosted VM. 2. build Zeppelin and output the distribution tar.gz 3. download Spark and build image 4. build zeppelin image from the distribution tar.gz (Dockerfile is in `scripts/docker/zeppelin/build-from-distribution/Dockerfile`) 5. mvn testing * `mvn test -DskipRat -Dtest=K8sMinikubeTestBasic,K8sMinikubeTestPySpark,K8sMinikubeTestSparkR -pl :launcher-k8s-standard -B` It starts and tests multiple interpreters (shell, python, spark, pyspark, sparkr, sparksql) in the Minikube cluster. ### What type of PR is it? [Improvement] ### Todos * [ ] - Task ### What is the Jira issue? * <https://issues.apache.org/jira/browse/ZEPPELIN-5449> ### How should this be tested? * CI passed and manually tested ### Screenshots (if appropriate) ### Questions: * Does the licenses files need update? No * Is there breaking changes for older versions? No * Does this needs documentation? No -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: dev-unsubscr...@zeppelin.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org