Merge pull request #7453 from sprt/fix-ci-node-debugger

tests: Fix `k8s-job` test
This commit is contained in:
Fabiano Fidêncio
2023-07-26 22:27:21 +02:00
committed by GitHub
2 changed files with 2 additions and 0 deletions

View File

@@ -56,6 +56,7 @@ jobs:
AZ_TENANT_ID: ${{ secrets.AZ_TENANT_ID }}
- name: Create AKS cluster
timeout-minutes: 10
run: bash tests/integration/kubernetes/gha-run.sh create-cluster
- name: Install `bats`

View File

@@ -180,6 +180,7 @@ function get_nodes_and_pods_info() {
echo "::endgroup::"
fi
kubectl debug $(kubectl get nodes -o name) -it --image=quay.io/kata-containers/kata-debug:latest
kubectl get pods -o name | grep node-debugger | xargs kubectl delete
}
function main() {