We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d047151 commit f32140bCopy full SHA for f32140b
.meta/mast/launch.sh
@@ -34,10 +34,10 @@ fi
34
35
CONFIG_FILE="$1"
36
37
-# Generate a unique job name
38
-USER=$(whoami)
+# Generate a unique job name based on the config file name
+BASENAME=$(basename "$CONFIG_FILE" .yaml)
39
RANDOM_SUFFIX=$(cat /dev/urandom | tr -dc 'a-z0-9' | fold -w 6 | head -n 1)
40
-JOB_NAME="${USER}-forge-${RANDOM_SUFFIX}"
+JOB_NAME="${BASENAME}-${RANDOM_SUFFIX}"
41
log_info "Generated job name: $JOB_NAME"
42
43
# Get the directory where this script is located
0 commit comments