/.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

View File

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

View File

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

View File

@@ -37,7 +37,6 @@ jobs:
env:
CONFIG: ${{ secrets.CORP_KUBECONFIG }}
- name: Run correctness
id: run-correctness
run: ./.github/scripts/sql-correctness/run-correctness.sh
env:
TO_VERSION: ${{ github.event.client_payload.to_version }}