/.github/{scripts,workflows}: fix run correctness args

This commit is contained in:
coffeegoddd
2022-07-22 16:30:08 -07:00
parent 8050cad057
commit c09e1ac75e
3 changed files with 9 additions and 10 deletions
@@ -2,7 +2,7 @@
set -e
if [ "$#" -ne 6 ]; then
if [ "$#" -lt 6 ]; then
echo "Usage: ./get-dolt-correctness-job-json.sh <jobname> <fromVersion> <toVersion> <timeprefix> <actorprefix> <format> <nomsBinFormat>"
exit 1
fi
@@ -61,14 +61,14 @@ if [[ "$MODE" = "release" || "$MODE" = "nightly" ]]; then
fi
source \
"$TEMPLATE_SCRIPT" \
"$jobname" \
"$FROM_VERSION" \
"$TO_VERSION" \
"$timeprefix" \
"$actorprefix" \
"$format" \
"$NOMS_BIN_FORMAT" > job.json
"$TEMPLATE_SCRIPT" \
"$jobname" \
"$FROM_VERSION" \
"$TO_VERSION" \
"$timeprefix" \
"$actorprefix" \
"$format" \
"$NOMS_BIN_FORMAT" > job.json
out=$(KUBECONFIG="$KUBECONFIG" kubectl apply -f job.json || true)