From 037ed6eab8edcd523ba5b7a090761049f9e9d615 Mon Sep 17 00:00:00 2001 From: Johannes Malsam Date: Tue, 14 Oct 2025 13:09:29 +0200 Subject: [PATCH 1/3] log gitops state --- .openshift-ci/tests/e2e.sh | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/.openshift-ci/tests/e2e.sh b/.openshift-ci/tests/e2e.sh index 329fdf8ed9..608b4ec754 100755 --- a/.openshift-ci/tests/e2e.sh +++ b/.openshift-ci/tests/e2e.sh @@ -149,6 +149,13 @@ if [[ "$DUMP_LOGS" == "true" ]]; then log "** END OPERATOR STATE **" log + log "** BEGIN GITOPS STATE **" + GITOPS_NS="openshift-gitops" + $KUBECTL -n $GITOPS_NS get pods || true + $KUBECTL -n $GITOPS_NS get apps || grue + $KUBECTL -n $GITOPS_NS get apps -o yaml + log "** END GITOPS STATE **" + if [[ "$SPAWN_LOGGER" == "true" ]]; then log "Logs are in ${LOG_DIR}" log From 28d6823153343df828e4536731658f9a28cdec73 Mon Sep 17 00:00:00 2001 From: Johannes Malsam Date: Tue, 14 Oct 2025 13:18:09 +0200 Subject: [PATCH 2/3] Update .openshift-ci/tests/e2e.sh Co-authored-by: Yury Kovalev <8366110+kovayur@users.noreply.github.com> --- .openshift-ci/tests/e2e.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.openshift-ci/tests/e2e.sh b/.openshift-ci/tests/e2e.sh index 608b4ec754..ccd44c7a2f 100755 --- a/.openshift-ci/tests/e2e.sh +++ b/.openshift-ci/tests/e2e.sh @@ -152,7 +152,7 @@ if [[ "$DUMP_LOGS" == "true" ]]; then log "** BEGIN GITOPS STATE **" GITOPS_NS="openshift-gitops" $KUBECTL -n $GITOPS_NS get pods || true - $KUBECTL -n $GITOPS_NS get apps || grue + $KUBECTL -n $GITOPS_NS get apps || true $KUBECTL -n $GITOPS_NS get apps -o yaml log "** END GITOPS STATE **" From 8380fcc479c1f969dcec2c6504e0393bbb3bd025 Mon Sep 17 00:00:00 2001 From: Johannes Malsam Date: Tue, 14 Oct 2025 13:18:15 +0200 Subject: [PATCH 3/3] Update .openshift-ci/tests/e2e.sh Co-authored-by: Yury Kovalev <8366110+kovayur@users.noreply.github.com> --- .openshift-ci/tests/e2e.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.openshift-ci/tests/e2e.sh b/.openshift-ci/tests/e2e.sh index ccd44c7a2f..9df223a83d 100755 --- a/.openshift-ci/tests/e2e.sh +++ b/.openshift-ci/tests/e2e.sh @@ -153,7 +153,7 @@ if [[ "$DUMP_LOGS" == "true" ]]; then GITOPS_NS="openshift-gitops" $KUBECTL -n $GITOPS_NS get pods || true $KUBECTL -n $GITOPS_NS get apps || true - $KUBECTL -n $GITOPS_NS get apps -o yaml + $KUBECTL -n $GITOPS_NS get apps -o yaml || true log "** END GITOPS STATE **" if [[ "$SPAWN_LOGGER" == "true" ]]; then