ci: add 'rook-ceph-seconday' ns to collect logs
In canary test `multi-cluster-mirroring` we also need to collect logs of `rook-ceph-secondary` namespace to debug the ci. Signed-off-by: subhamkrai <srai@redhat.com>
This commit is contained in:
1 parent
319376bae5
commit
cb602fe33c
2 files changed
+5
-1
No files matched your search
@@ -12,7 +12,7 @@ runs:
|
||||
- name: collect common logs
|
||||
shell: bash --noprofile --norc -eo pipefail -x {0}
|
||||
run: |
|
||||
tests/scripts/collect-logs.sh
|
||||
tests/scripts/collect-logs.sh ${{ inputs.name }}
|
||||
|
||||
- name: Upload canary test result
|
||||
uses: actions/upload-artifact@v2
|
||||
|
||||
@@ -23,6 +23,10 @@ if [[ "$OPERATOR_NAMESPACE" != "$CLUSTER_NAMESPACE" ]]; then
|
||||
NAMESPACES+=("$OPERATOR_NAMESPACE")
|
||||
fi
|
||||
|
||||
if [ "$1" == "multi-cluster-mirroring" ]; then
|
||||
NAMESPACES+=("rook-ceph-secondary")
|
||||
fi
|
||||
|
||||
for NAMESPACE in "${NAMESPACES[@]}"; do
|
||||
# each namespace is a sub-directory for easier debugging
|
||||
NS_DIR="${LOG_DIR}"/namespace-"${NAMESPACE}"
|
||||
|
||||
Reference in new issue
Block a user