From d76d06273ec26d4b586ca24bc54910f1e73cff7d Mon Sep 17 00:00:00 2001 From: Navin Chandra Date: Mon, 19 Aug 2024 07:50:55 +0000 Subject: [PATCH] debug crio runs for coverage Signed-off-by: Navin Chandra --- .github/workflows/ci-test-ginkgo.yml | 12 +++++++----- 1 file changed, 7 insertions(+), 5 deletions(-) diff --git a/.github/workflows/ci-test-ginkgo.yml b/.github/workflows/ci-test-ginkgo.yml index 8392628a95..64e4c80694 100644 --- a/.github/workflows/ci-test-ginkgo.yml +++ b/.github/workflows/ci-test-ginkgo.yml @@ -2,7 +2,7 @@ name: ci-test-ginkgo on: push: - branches: [main] + branches: [main, fix-coverage-crio] paths: - "KubeArmor/**" - "tests/**" @@ -121,12 +121,14 @@ jobs: kubectl apply -f pkg/KubeArmorOperator/config/samples/kubearmor-coverage.yaml fi - kubectl wait -n kubearmor --timeout=5m --for=jsonpath='{.status.phase}'=Running kubearmorconfigs/kubearmorconfig-test - kubectl wait --timeout=7m --for=condition=ready pod -l kubearmor-app,kubearmor-app!=kubearmor-snitch,kubearmor-app!=kubearmor-controller -n kubearmor - kubectl wait --timeout=1m --for=condition=ready pod -l kubearmor-app=kubearmor-controller -n kubearmor kubectl get pods -A - sleep 10 + # kubectl wait -n kubearmor --timeout=5m --for=jsonpath='{.status.phase}'=Running kubearmorconfigs/kubearmorconfig-test + # kubectl wait --timeout=7m --for=condition=ready pod -l kubearmor-app,kubearmor-app!=kubearmor-snitch,kubearmor-app!=kubearmor-controller -n kubearmor + # kubectl wait --timeout=1m --for=condition=ready pod -l kubearmor-app=kubearmor-controller -n kubearmor + sleep 60 + kubectl get pods -A + DAEMONSET_NAME=$(kubectl get daemonset -n kubearmor -o jsonpath='{.items[0].metadata.name}') echo "DaemonSet: $DAEMONSET_NAME"