/.github/scripts/{import-benchmarking,sql-correctness}: add format to jobname

This commit is contained in:
coffeegoddd
2022-10-26 14:26:24 -07:00
parent 66894cb29d
commit 78dec60428
2 changed files with 7 additions and 2 deletions

View File

@@ -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

View File

@@ -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)