ci: improve collect-log script

I was debugging helm tests, I noticed, the operator namespace
content is empty and operator is created in same namespace as
other pods. Also, let's collect the 'kube-system' namespace logs
in multus test only as that is the only test where we need to debug
cluster networking and require kube-system logs.

Signed-off-by: subhamkrai <srai@redhat.com>
This commit is contained in:
subhamkrai
2023-12-19 21:08:06 +05:30
parent ea4a3871ed
commit 2d3e561a00
2 changed files with 5 additions and 2 deletions
@@ -58,7 +58,6 @@ jobs:
run: |
export LOG_DIR="/home/runner/work/rook/rook/tests/integration/_output/tests/"
export CLUSTER_NAMESPACE="helm-ns"
export OPERATOR_NAMESPACE="helm-ns-system"
tests/scripts/collect-logs.sh
- name: Artifact