/.github/scripts/{fuzzer, import-benchmarking, performance-benchmarking}: add nbf to job name

This commit is contained in:
coffeegoddd
2022-10-19 12:09:31 -07:00
parent c89b2b91f3
commit 24bfc6b35e
3 changed files with 16 additions and 3 deletions

View File

@@ -24,11 +24,16 @@ if [ -z "$ACTOR" ]; 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=${VERSION:0:8}
lowered=$(echo "$ACTOR" | tr '[:upper:]' '[:lower:]')
actorShort="$lowered-$short"
actorShort="$lowered-$nomsFormat-$short"
jobname="$actorShort"

View File

@@ -27,11 +27,16 @@ 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}
lowered=$(echo "$ACTOR" | tr '[:upper:]' '[:lower:]')
actorShort="$lowered-$short"
actorShort="$lowered-$nomsFormat-$short"
# random sleep
sleep 0.$[ ( $RANDOM % 10 ) + 1 ]s

View File

@@ -32,8 +32,11 @@ if [ -z "$MODE" ]; then
exit 1
fi
nomsFormat="ldnbf"
if [ "$NOMS_BIN_FORMAT" = "__DOLT__" ]; then
INIT_BIG_REPO="false"
nomsFormat="doltnbf"
fi
echo "Setting from $FROM_SERVER: $FROM_VERSION"
@@ -43,7 +46,7 @@ echo "Setting to $TO_SERVER: $TO_VERSION"
# jobs
short=${TO_VERSION:0:8}
lowered=$(echo "$ACTOR" | tr '[:upper:]' '[:lower:]')
actorShort="$lowered-$short"
actorShort="$lowered-$nomsFormat-$short"
# random sleep
sleep 0.$[ ( $RANDOM % 10 ) + 1 ]s