From 06033a2b28b26cd79a3cfc2578666314f2bed34d Mon Sep 17 00:00:00 2001 From: absolutelightning Date: Wed, 6 Sep 2023 14:44:28 +0530 Subject: [PATCH 1/2] fix windows image for enterprise --- .github/scripts/get_runner_classes_windows.sh | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/.github/scripts/get_runner_classes_windows.sh b/.github/scripts/get_runner_classes_windows.sh index a29ea5debf7..3fb637fc143 100755 --- a/.github/scripts/get_runner_classes_windows.sh +++ b/.github/scripts/get_runner_classes_windows.sh @@ -10,11 +10,11 @@ set -euo pipefail case "$GITHUB_REPOSITORY" in *-enterprise) # shellcheck disable=SC2129 - echo "compute-small=['self-hosted', 'windows', 'small']" >>"$GITHUB_OUTPUT" - echo "compute-medium=['self-hosted', 'windows', 'medium']" >>"$GITHUB_OUTPUT" - echo "compute-large=['self-hosted', 'windows', 'large']" >>"$GITHUB_OUTPUT" + echo "compute-small=[self-hosted, ondemand, os=windows-2019]" >>"$GITHUB_OUTPUT" + echo "compute-medium=[self-hosted, ondemand, os=windows-2019]" >>"$GITHUB_OUTPUT" + echo "compute-large=[self-hosted, ondemand, os=windows-2019]" >>"$GITHUB_OUTPUT" # m5d.8xlarge is equivalent to our xl custom runner in CE - echo "compute-xl=['self-hosted', 'ondemand', 'windows', 'type=m6a.2xlarge']" >>"$GITHUB_OUTPUT" + echo "compute-xl=[self-hosted, ondemand, os=windows-2019]" >>"$GITHUB_OUTPUT" ;; *) # shellcheck disable=SC2129 From bca40e7aff17789b28f0654d3aaf5f3c8a626302 Mon Sep 17 00:00:00 2001 From: absolutelightning Date: Wed, 6 Sep 2023 14:47:15 +0530 Subject: [PATCH 2/2] added quotesT --- .github/scripts/get_runner_classes_windows.sh | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/.github/scripts/get_runner_classes_windows.sh b/.github/scripts/get_runner_classes_windows.sh index 3fb637fc143..a64c3a8c284 100755 --- a/.github/scripts/get_runner_classes_windows.sh +++ b/.github/scripts/get_runner_classes_windows.sh @@ -10,11 +10,11 @@ set -euo pipefail case "$GITHUB_REPOSITORY" in *-enterprise) # shellcheck disable=SC2129 - echo "compute-small=[self-hosted, ondemand, os=windows-2019]" >>"$GITHUB_OUTPUT" - echo "compute-medium=[self-hosted, ondemand, os=windows-2019]" >>"$GITHUB_OUTPUT" - echo "compute-large=[self-hosted, ondemand, os=windows-2019]" >>"$GITHUB_OUTPUT" + echo "compute-small=['self-hosted', 'ondemand', 'os=windows-2019']" >>"$GITHUB_OUTPUT" + echo "compute-medium=['self-hosted', 'ondemand', 'os=windows-2019']" >>"$GITHUB_OUTPUT" + echo "compute-large=['self-hosted', 'ondemand', 'os=windows-2019']" >>"$GITHUB_OUTPUT" # m5d.8xlarge is equivalent to our xl custom runner in CE - echo "compute-xl=[self-hosted, ondemand, os=windows-2019]" >>"$GITHUB_OUTPUT" + echo "compute-xl=['self-hosted', 'ondemand', 'os=windows-2019']" >>"$GITHUB_OUTPUT" ;; *) # shellcheck disable=SC2129