mirror of
https://github.com/dolthub/dolt.git
synced 2026-01-06 16:19:49 -06:00
/.github/scripts/{import-benchmarking,sql-correctness}: add format to jobname
This commit is contained in:
@@ -28,7 +28,7 @@ if [ -z "$MODE" ]; then
|
||||
fi
|
||||
|
||||
nomsFormat="ldnbf"
|
||||
if [ "$NOMS_BIN_FORMAT" == "__DOLT__"]; then
|
||||
if [ "$NOMS_BIN_FORMAT" == "__DOLT__" ]; then
|
||||
nomsFormat="doltnbf"
|
||||
fi
|
||||
|
||||
|
||||
@@ -38,6 +38,11 @@ if [ -z "$MODE" ]; then
|
||||
exit 1
|
||||
fi
|
||||
|
||||
nomsFormat="ldnbf"
|
||||
if [ "$NOMS_BIN_FORMAT" == "__DOLT__" ]; then
|
||||
nomsFormat="doltnbf"
|
||||
fi
|
||||
|
||||
# use first 8 characters of TO_VERSION to differentiate
|
||||
# jobs
|
||||
short=${TO_VERSION:0:8}
|
||||
@@ -49,7 +54,7 @@ sleep 0.$[ ( $RANDOM % 10 ) + 1 ]s
|
||||
|
||||
timesuffix=`date +%s%N`
|
||||
|
||||
jobname="$actorShort-$timesuffix"
|
||||
jobname="$actorShort-$nomsFormat-$timesuffix"
|
||||
|
||||
timeprefix=$(date +%Y/%m/%d)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user