mirror of
https://github.com/kubenetworks/kubevpn.git
synced 2025-12-24 11:51:13 +08:00
feat: sync mode modify api server & add ut for mode run and mode sync (#704)
* feat: mode sync modify kubeconfig apiserver to in cluster apiserver * feat: add ut for sync mode and run mode * fix: bugs
This commit is contained in:
2
.github/workflows/coverage.yml
vendored
2
.github/workflows/coverage.yml
vendored
@@ -58,7 +58,7 @@ jobs:
|
||||
|
||||
- name: Wait for pods reviews to be ready
|
||||
run: |
|
||||
kubectl wait --for=condition=Ready pods --all --timeout=3600s
|
||||
while ! kubectl wait --for=condition=Ready pods --all --timeout=3600s; do sleep 2; done
|
||||
kubectl get svc -A -o wide
|
||||
kubectl get pod -A -o wide
|
||||
kubectl get all -o wide
|
||||
|
||||
7
.github/workflows/test.yml
vendored
7
.github/workflows/test.yml
vendored
@@ -74,7 +74,7 @@ jobs:
|
||||
|
||||
- name: Wait for pods reviews to be ready
|
||||
run: |
|
||||
kubectl wait --for=condition=Ready pods --all --timeout=3600s
|
||||
while ! kubectl wait --for=condition=Ready pods --all --timeout=3600s; do sleep 2; done
|
||||
kubectl get svc -A -o wide
|
||||
kubectl get pod -A -o wide
|
||||
kubectl get all -o wide
|
||||
@@ -146,7 +146,7 @@ jobs:
|
||||
|
||||
- name: Wait for pods reviews to be ready
|
||||
run: |
|
||||
kubectl wait --for=condition=Ready pods --all --timeout=3600s
|
||||
while ! kubectl wait --for=condition=Ready pods --all --timeout=3600s; do sleep 2; done
|
||||
kubectl get svc -A -o wide || true
|
||||
kubectl get pod -A -o wide || true
|
||||
kubectl get all -o wide || true
|
||||
@@ -155,6 +155,9 @@ jobs:
|
||||
netstat -anr
|
||||
|
||||
- name: Test
|
||||
# for docker mount
|
||||
env:
|
||||
TMPDIR: /tmp
|
||||
run: make ut
|
||||
|
||||
windows:
|
||||
|
||||
Reference in New Issue
Block a user