From 6751741d68e571b1acad5cda99519f0bbe9fd81c Mon Sep 17 00:00:00 2001 From: Martti Tamm Date: Wed, 11 Sep 2024 11:15:00 +0300 Subject: [PATCH] Debug: print funnel version --- .github/workflows/tests.yaml | 1 + tests/funnel_utils.go | 3 ++- tests/slurm.config.yml | 2 -- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/tests.yaml b/.github/workflows/tests.yaml index 8f4a578e..ea281afe 100644 --- a/.github/workflows/tests.yaml +++ b/.github/workflows/tests.yaml @@ -97,6 +97,7 @@ jobs: - name: Slurm Test run: | chmod +x funnel + ./funnel version make test-slurm s3Test: diff --git a/tests/funnel_utils.go b/tests/funnel_utils.go index 23d8d26b..983367aa 100644 --- a/tests/funnel_utils.go +++ b/tests/funnel_utils.go @@ -374,7 +374,8 @@ func (f *Funnel) StartServerInDocker(containerName, imageName string, extraArgs "-v", fmt.Sprintf("%s:/opt/funnel_config.yml", configPath), } args = append(args, extraArgs...) - args = append(args, imageName, "funnel", "server", "run", "--config", "/opt/funnel_config.yml") + // args = append(args, imageName, "funnel", "server", "run", "--config", "/opt/funnel_config.yml") + args = append(args, imageName, "funnel", "version") fmt.Println("DOCKER args:", strings.Join(args, " ")) diff --git a/tests/slurm.config.yml b/tests/slurm.config.yml index 393e0254..f3c807da 100644 --- a/tests/slurm.config.yml +++ b/tests/slurm.config.yml @@ -17,6 +17,4 @@ Slurm: {{printf "#SBATCH --tmp %.0fGB" .DiskGb}} {{- end}} - which funnel - funnel version funnel worker run --config /opt/funnel_config.yml --taskID {{.TaskId}}