.gitea/workflows/e2e.yml aktualisiert

This commit is contained in:
ChristopherHX
2026-03-18 22:28:40 +00:00
parent 9a3b8afa55
commit 2f455431a9

View File

@ -17,7 +17,11 @@ jobs:
# Install kubectl
curl -LO "https://dl.k8s.io/release/$(curl -L -s https://dl.k8s.io/release/stable.txt)/bin/linux/amd64/kubectl"
install kubectl /usr/local/bin/
- name: Delete Kind Cluster
run: |
kind delete cluster --name test-cluster-2
- name: Debug All
run: |
docker ps -a
@ -26,7 +30,16 @@ jobs:
- name: Create kind cluster
run: |
kind create cluster --name test-cluster-2
tail -f cluster.yml << 'EOF'
# three node (two workers) cluster config
kind: Cluster
apiVersion: kind.x-k8s.io/v1alpha4
nodes:
- role: control-plane
- role: worker
- role: worker
EOF
kind create cluster --name test-cluster-2 --config cluster.yml
- name: Attach kind control-plane to job network and wait
run: |
@ -62,6 +75,17 @@ jobs:
kubectl get nodes
kubectl get pods -A
- name: Debug All
if: always()
run: |
docker ps -a
docker network ls
docker volume ls
- name: Delete Kind Cluster
run: |
kind delete cluster --name test-cluster-2
- name: Debug All
if: always()
run: |