From 42df3f079f5acc3e4e1cf73d546f79e601144846 Mon Sep 17 00:00:00 2001 From: coffeegoddd Date: Wed, 10 Jan 2024 10:08:51 -0800 Subject: [PATCH] /.github/scripts/sql-correctness/get-dolt-correctness-job-json.sh: configure job to run on dedicated host --- .../get-dolt-correctness-job-json.sh | 13 ++++++++++++- 1 file changed, 12 insertions(+), 1 deletion(-) diff --git a/.github/scripts/sql-correctness/get-dolt-correctness-job-json.sh b/.github/scripts/sql-correctness/get-dolt-correctness-job-json.sh index a24620091d4..0e8f7110da0 100755 --- a/.github/scripts/sql-correctness/get-dolt-correctness-job-json.sh +++ b/.github/scripts/sql-correctness/get-dolt-correctness-job-json.sh @@ -72,7 +72,18 @@ echo ' ] } ], - "restartPolicy": "Never" + "restartPolicy": "Never", + "nodeSelector": { + "sql-correctness-worker": "true" + }, + "tolerations": [ + { + "effect": "NoSchedule", + "key": "dedicated", + "operator": "Equal", + "value": "sql-correctness-worker" + } + ] } } }