Skip to content

Commit

Permalink
chore: try print env [debug ci]
Browse files Browse the repository at this point in the history
  • Loading branch information
ludamad committed Sep 19, 2023
1 parent 0080dd1 commit a52cfd1
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion build-system/scripts/cond_spot_run_test
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
#!/bin/bash
env
[ -n "${BUILD_SYSTEM_DEBUG:-}" ] && set -x # conditionally trace
set -euo pipefail

Expand All @@ -13,4 +14,5 @@ SCRIPT=$(query_manifest relativeProjectDir $REPOSITORY)/$SCRIPT

# Specify a TAG_POSTFIX as the JOB_NAME
mkdir -p /tmp/test-logs
TAG_POSTFIX=$JOB_NAME cond_spot_run_script $REPOSITORY $CPUS $SCRIPT $@ | tee "/tmp/test-logs/$JOB_NAME.log"
export TAG_POSTFIX=$JOB_NAME
cond_spot_run_script $REPOSITORY $CPUS $SCRIPT $@ | tee "/tmp/test-logs/$JOB_NAME.log"

0 comments on commit a52cfd1

Please sign in to comment.