This is an automated email from the ASF dual-hosted git repository.
casion pushed a commit to branch dev-1.4.0-integration-test
in repository https://gitbox.apache.org/repos/asf/linkis.git
The following commit(s) were added to refs/heads/dev-1.4.0-integration-test by
this push:
new 8fc74377f integration-test.yml
8fc74377f is described below
commit 8fc74377f371d2e902da92337375455f9fa8d179
Author: casionone <[email protected]>
AuthorDate: Sat May 27 22:41:00 2023 +0800
integration-test.yml
---
.github/workflows/integration-test.yml | 24 +++++++++++++++++++++++-
1 file changed, 23 insertions(+), 1 deletion(-)
diff --git a/.github/workflows/integration-test.yml
b/.github/workflows/integration-test.yml
index 43335d294..ec44aab7b 100644
--- a/.github/workflows/integration-test.yml
+++ b/.github/workflows/integration-test.yml
@@ -33,7 +33,7 @@ concurrency:
env:
CT_CONFIG_PATH: '.github/ct.yml'
- KIND_CONFIG_PATH: './helm/scripts/resources/kind-cluster.yaml'
+ KIND_CONFIG_PATH: './linkis-dist/helm/scripts/resources/kind-cluster.yaml'
jobs:
publish-docker:
@@ -112,6 +112,28 @@ jobs:
config: ${{ env.KIND_CONFIG_PATH }}
node_image: ${{ matrix.kubernetes-version }}
+ - name: Setup Minikube
+ run: |
+ # https://minikube.sigs.k8s.io/docs/start/
+ curl -LO
https://github.com/kubernetes/minikube/releases/download/${MINIKUBE_VERSION}/minikube-linux-amd64
+ sudo install minikube-linux-amd64 /usr/local/bin/minikube
+ minikube start --cpus 2 --memory 4096
--kubernetes-version=${KUBERNETES_VERSION} --force
+ #
https://minikube.sigs.k8s.io/docs/handbook/pushing/#7-loading-directly-to-in-cluster-container-runtime
+ minikube image load apache/linkis:latest
+ - name: kubectl pre-check
+ run: |
+ kubectl get nodes
+ kubectl get serviceaccount
+ kubectl create serviceaccount linkis
+ kubectl create clusterrolebinding linkis-role --clusterrole=edit
--serviceaccount=default:linkis
+ kubectl get serviceaccount
+ - name: start linkis
+ run: kubectl apply -f
integration-tests/linkis-kubernetes-it/src/test/resources/linkis-server.yaml
+ - name: linkis pod check
+ run: |
+ kubectl get pods
+ kubectl describe pods linkis-test
+
# - name: Install and test charts
# if: ${{ success() && steps.list-changed.outputs.changed == 'true' }}
# run: ct install --config ${{ env.CT_CONFIG_PATH }}
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]