fixing kubernetes tests
This commit is contained in:
1 parent
cc5d2088bd
commit
de1ecdf5bd
1 file changed
+4
-2
@@ -88,10 +88,12 @@ jobs:
|
|||||||
shell: bash
|
shell: bash
|
||||||
run: |
|
run: |
|
||||||
if [ -f kubeconfig.yaml ]; then
|
if [ -f kubeconfig.yaml ]; then
|
||||||
kubectl --kubeconfig=kubeconfig.yaml delete namespace pipeline-actions-test --ignore-not-found=true --timeout=30s
|
kubectl --kubeconfig=kubeconfig.yaml delete deployment pipeline-actions-test -n pipeline-actions-test --grace-period=0 --force --ignore-not-found=true
|
||||||
|
kubectl --kubeconfig=kubeconfig.yaml delete namespace pipeline-actions-test --ignore-not-found=true --wait=false
|
||||||
else
|
else
|
||||||
printf '%s' "${{ secrets.KUBE_CONFIG }}" | tr -d '\r' > kubeconfig.yaml
|
printf '%s' "${{ secrets.KUBE_CONFIG }}" | tr -d '\r' > kubeconfig.yaml
|
||||||
kubectl --kubeconfig=kubeconfig.yaml delete namespace pipeline-actions-test --ignore-not-found=true --timeout=30s
|
kubectl --kubeconfig=kubeconfig.yaml delete deployment pipeline-actions-test -n pipeline-actions-test --grace-period=0 --force --ignore-not-found=true
|
||||||
|
kubectl --kubeconfig=kubeconfig.yaml delete namespace pipeline-actions-test --ignore-not-found=true --wait=false
|
||||||
fi
|
fi
|
||||||
|
|
||||||
test-ssh:
|
test-ssh:
|
||||||
|
|||||||
Reference in new issue
Block a user