From f729039d95038fe54f8d56c678848105fa81e5fb Mon Sep 17 00:00:00 2001 From: Omer Tuchfeld Date: Thu, 21 May 2026 02:16:19 +0200 Subject: [PATCH] sno gather avoid draining stdin with ssh/scp commands yet another attempt to fix this gather script somehow ending abruptly --- .../baremetalds/sno/gather/baremetalds-sno-gather-commands.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ci-operator/step-registry/baremetalds/sno/gather/baremetalds-sno-gather-commands.sh b/ci-operator/step-registry/baremetalds/sno/gather/baremetalds-sno-gather-commands.sh index bc3c0c83c0fe0..c77bc7ed339e9 100644 --- a/ci-operator/step-registry/baremetalds/sno/gather/baremetalds-sno-gather-commands.sh +++ b/ci-operator/step-registry/baremetalds/sno/gather/baremetalds-sno-gather-commands.sh @@ -24,7 +24,7 @@ function getlogs() { trap getlogs EXIT echo "### Gathering logs..." -timeout -s 9 1h ssh "${SSHOPTS[@]}" "root@${IP}" bash - << "EOF" |& sed -e 's/.*auths.*/*** PULL_SECRET ***/g' +timeout -s 9 1h ssh "${SSHOPTS[@]}" "root@${IP}" 'script=$(cat); bash -c "$script"' << "EOF" |& sed -e 's/.*auths.*/*** PULL_SECRET ***/g' set -xeo pipefail source /root/config