From 4440535aeda570c18a38eb11ed628e831372e30f Mon Sep 17 00:00:00 2001 From: GeorgianaElena Date: Wed, 4 May 2022 19:59:42 +0300 Subject: [PATCH 1/3] CI: pin kubectl version --- .github/actions/setup-deploy/action.yaml | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/.github/actions/setup-deploy/action.yaml b/.github/actions/setup-deploy/action.yaml index 9d1b30af8e..3aaa4f2fa1 100644 --- a/.github/actions/setup-deploy/action.yaml +++ b/.github/actions/setup-deploy/action.yaml @@ -76,6 +76,13 @@ runs: # behalf. version: v3.8.2 + # Pin kubectl version to 1.23 otherwise interactions with k8s clusters versioned <=1.21 won't work. + # See https://github.com/2i2c-org/infrastructure/issues/1271. + - uses: azure/setup-kubectl@v2.0 + with: + version: '1.23' + id: install + # This step could be cached, but we only do it for a few jobs in the # workflow where this action is used - name: Install kops From c629aeaa4c548fb5fa1841273b15d3c71a8d83e2 Mon Sep 17 00:00:00 2001 From: "pre-commit-ci[bot]" <66853113+pre-commit-ci[bot]@users.noreply.github.com> Date: Wed, 4 May 2022 17:00:30 +0000 Subject: [PATCH 2/3] [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci --- .github/actions/setup-deploy/action.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/actions/setup-deploy/action.yaml b/.github/actions/setup-deploy/action.yaml index 3aaa4f2fa1..50ecb8dea3 100644 --- a/.github/actions/setup-deploy/action.yaml +++ b/.github/actions/setup-deploy/action.yaml @@ -80,7 +80,7 @@ runs: # See https://github.com/2i2c-org/infrastructure/issues/1271. - uses: azure/setup-kubectl@v2.0 with: - version: '1.23' + version: "1.23" id: install # This step could be cached, but we only do it for a few jobs in the From ffbac00a2324edf78bab86348d6c91035933093e Mon Sep 17 00:00:00 2001 From: Georgiana Elena Date: Wed, 4 May 2022 20:05:15 +0300 Subject: [PATCH 3/3] Update .github/actions/setup-deploy/action.yaml Co-authored-by: Erik Sundell --- .github/actions/setup-deploy/action.yaml | 1 - 1 file changed, 1 deletion(-) diff --git a/.github/actions/setup-deploy/action.yaml b/.github/actions/setup-deploy/action.yaml index 50ecb8dea3..b776e6393b 100644 --- a/.github/actions/setup-deploy/action.yaml +++ b/.github/actions/setup-deploy/action.yaml @@ -81,7 +81,6 @@ runs: - uses: azure/setup-kubectl@v2.0 with: version: "1.23" - id: install # This step could be cached, but we only do it for a few jobs in the # workflow where this action is used