From 9cea0d2b32d67dc9a402f9e18a6e3fec5e4aa659 Mon Sep 17 00:00:00 2001 From: soharab-ic <156293296+soharab-ic@users.noreply.github.com> Date: Wed, 15 May 2024 13:21:46 +0530 Subject: [PATCH] Upgrade kind version to v0.23.0 (#2937) * Upgrade kind version to v0.23.0 ``` Upgraded kind version to github workflow push_pr.yaml Upgraded kind version to github workflow release.yaml Upgraded kind version to github workflow upgrade_test.yaml ``` * Minor change to trigger CI * Upgrade kind node image to v1.25.16 --------- Signed-off-by: Md Soharab Ansari --- .github/workflows/push_pr.yaml | 8 ++++---- .github/workflows/release.yaml | 6 +++--- .github/workflows/upgrade_test.yaml | 6 +++--- pkg/fission-cli/cmd/check/check.go | 2 +- 4 files changed, 11 insertions(+), 11 deletions(-) diff --git a/.github/workflows/push_pr.yaml b/.github/workflows/push_pr.yaml index d57b9efd..de4da968 100644 --- a/.github/workflows/push_pr.yaml +++ b/.github/workflows/push_pr.yaml @@ -23,7 +23,7 @@ on: env: HELM_VERSION: v3.13.0 - KIND_VERSION: v0.20.0 + KIND_VERSION: v0.23.0 KIND_CLUSTER_NAME: kind jobs: @@ -34,7 +34,7 @@ jobs: strategy: fail-fast: false matrix: - kindversion: ["v1.23.17", "v1.25.11", "v1.27.3"] + kindversion: ["v1.25.16", "v1.27.13", "v1.30.0"] os: [ubuntu-latest] steps: - name: Checkout sources @@ -58,7 +58,7 @@ jobs: version: ${{ env.HELM_VERSION }} - name: Kind Cluster - uses: helm/kind-action@dda0770415bac9fc20092cacbc54aa298604d140 # v1.8.0 + uses: helm/kind-action@0025e74a8c7512023d06dc019c617aa3cf561fde # v1.10.0 with: node_image: kindest/node:${{ matrix.kindversion }} version: ${{ env.KIND_VERSION }} @@ -200,7 +200,7 @@ jobs: version: ${{ env.HELM_VERSION }} - name: Kind Cluster - uses: helm/kind-action@dda0770415bac9fc20092cacbc54aa298604d140 # v1.8.0 + uses: helm/kind-action@0025e74a8c7512023d06dc019c617aa3cf561fde # v1.10.0 with: node_image: kindest/node:${{ matrix.kindversion }} version: ${{ env.KIND_VERSION }} diff --git a/.github/workflows/release.yaml b/.github/workflows/release.yaml index 686824fd..49827267 100644 --- a/.github/workflows/release.yaml +++ b/.github/workflows/release.yaml @@ -6,8 +6,8 @@ on: - v2.** env: - KIND_VERSION: v0.20.0 - KIND_NODE_IMAGE_TAG: v1.23.17 + KIND_VERSION: v0.23.0 + KIND_NODE_IMAGE_TAG: v1.25.16 KIND_CLUSTER_NAME: kind jobs: @@ -35,7 +35,7 @@ jobs: install-only: true - name: Kind Clutser - uses: helm/kind-action@dda0770415bac9fc20092cacbc54aa298604d140 # v1.8.0 + uses: helm/kind-action@0025e74a8c7512023d06dc019c617aa3cf561fde # v1.10.0 with: node_image: kindest/node:${{ env.KIND_NODE_IMAGE_TAG }} version: ${{ env.KIND_VERSION }} diff --git a/.github/workflows/upgrade_test.yaml b/.github/workflows/upgrade_test.yaml index 939aee4f..521a86bf 100644 --- a/.github/workflows/upgrade_test.yaml +++ b/.github/workflows/upgrade_test.yaml @@ -23,7 +23,7 @@ on: env: HELM_VERSION: v3.13.0 - KIND_VERSION: v0.20.0 + KIND_VERSION: v0.23.0 KIND_CLUSTER_NAME: kind jobs: @@ -33,7 +33,7 @@ jobs: strategy: fail-fast: false matrix: - kindimage: ["kindest/node:v1.23.17"] + kindimage: ["kindest/node:v1.25.16"] os: [ubuntu-latest] steps: - name: Checkout action sources @@ -51,7 +51,7 @@ jobs: version: ${{ env.HELM_VERSION }} - name: Setup Kind Clutser - uses: helm/kind-action@dda0770415bac9fc20092cacbc54aa298604d140 # v1.8.0 + uses: helm/kind-action@0025e74a8c7512023d06dc019c617aa3cf561fde # v1.10.0 with: node_image: ${{ matrix.kindimage }} version: ${{ env.KIND_VERSION }} diff --git a/pkg/fission-cli/cmd/check/check.go b/pkg/fission-cli/cmd/check/check.go index 0c5a0655..3b48757d 100644 --- a/pkg/fission-cli/cmd/check/check.go +++ b/pkg/fission-cli/cmd/check/check.go @@ -36,7 +36,7 @@ func (opts *CheckSubCommand) do(input cli.Input) error { userProvidedNS, _, err := opts.GetResourceNamespace(input, flagkey.Namespace) if err != nil { - return fmt.Errorf("error retrieving user provided namespace information: %w", err) + return fmt.Errorf("error retrieving user provided namespace: %w", err) } if input.IsSet(flagkey.PreCheckOnly) {