From 55b5f7f0aac425a5b68acb3f5bfe566d45c2502c Mon Sep 17 00:00:00 2001 From: chrislu Date: Sun, 23 Nov 2025 14:33:15 -0800 Subject: [PATCH] fix: replace heredoc with echo pipe to fix YAML syntax The heredoc syntax (<<'SHELL_EOF') in the workflow was breaking YAML parsing and preventing the workflow from running. Changed from: weed shell <<'SHELL_EOF' fs.ls /test-spark/employees/ exit SHELL_EOF To: echo -e 'fs.ls /test-spark/employees/\nexit' | weed shell This achieves the same result but is YAML-compatible. --- .github/workflows/spark-integration-tests.yml | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/.github/workflows/spark-integration-tests.yml b/.github/workflows/spark-integration-tests.yml index 55acaac69..434af66ca 100644 --- a/.github/workflows/spark-integration-tests.yml +++ b/.github/workflows/spark-integration-tests.yml @@ -228,10 +228,7 @@ jobs: echo "" echo "Trying: weed shell to list files..." - docker compose exec -T seaweedfs-master weed shell <<'SHELL_EOF' || echo "weed shell failed" -fs.ls /test-spark/employees/ -exit -SHELL_EOF + echo -e "fs.ls /test-spark/employees/\nexit" | docker compose exec -T seaweedfs-master weed shell || echo "weed shell failed" fi - name: Stop test services