From f6322ec65b98537779abb144013ec4e286189ee6 Mon Sep 17 00:00:00 2001 From: Christoph Deppisch Date: Fri, 5 Apr 2024 11:05:45 +0200 Subject: [PATCH] chore: Update Kind version used in GH actions workflow Also use Camel K v2.2.0 in E2E tests --- .github/workflows/build.yml | 13 ++++++------- .github/workflows/nightly.yml | 2 +- .github/workflows/release.yml | 2 +- .github/workflows/snapshot.yml | 2 +- .github/workflows/validate.yml | 2 +- 5 files changed, 10 insertions(+), 11 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index c13e0c50..30ea7a64 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -48,7 +48,7 @@ jobs: with: go-version: 1.21.x - name: Checkout code - uses: actions/checkout@v3 + uses: actions/checkout@v4 - name: Cache Go modules uses: actions/cache@v3 with: @@ -84,7 +84,7 @@ jobs: with: go-version: 1.21.x - name: Checkout code - uses: actions/checkout@v3 + uses: actions/checkout@v4 - name: Cache Go modules uses: actions/cache@v3 with: @@ -100,10 +100,10 @@ jobs: restore-keys: | ${{ runner.os }}-m2- - name: Kind Cluster - uses: container-tools/kind-action@v2.0.1 + uses: container-tools/kind-action@v2.0.4 with: - version: v0.17.0 - node_image: kindest/node:v1.28.0@sha256:9f3ff58f19dcf1a0611d11e8ac989fdb30a28f40f236f59f0bea31fb956ccf5c + version: v0.22.0 + node_image: kindest/node:v1.29.2@sha256:51a1434a5397193442f0be2a297b488b6c919ce8a3931be0ce822606ea5ca245 - name: Info run: | kubectl version @@ -112,7 +112,7 @@ jobs: - name: Camel K Tools uses: container-tools/camel-k-action@v1.0.3 with: - version: v1.12.1 + version: v2.2.0 - name: Build run: | make IMAGE_NAME=$YAKS_IMAGE_NAME VERSION=$YAKS_IMAGE_VERSION set-version-file build images-no-test @@ -121,7 +121,6 @@ jobs: - name: Install Camel K run: | # Configure install options - export KAMEL_INSTALL_BUILD_PUBLISH_STRATEGY=Spectrum export KAMEL_INSTALL_REGISTRY=$KIND_REGISTRY export KAMEL_INSTALL_REGISTRY_INSECURE=true diff --git a/.github/workflows/nightly.yml b/.github/workflows/nightly.yml index 8b5193b8..8f97f739 100644 --- a/.github/workflows/nightly.yml +++ b/.github/workflows/nightly.yml @@ -37,7 +37,7 @@ jobs: with: go-version: 1.21.x - name: Checkout code - uses: actions/checkout@v3 + uses: actions/checkout@v4 - name: Cache Go modules uses: actions/cache@v3 with: diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 2b734144..33eecfd9 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -40,7 +40,7 @@ jobs: with: go-version: 1.21.x - name: Checkout code - uses: actions/checkout@v3 + uses: actions/checkout@v4 - name: Cache Go modules uses: actions/cache@v3 with: diff --git a/.github/workflows/snapshot.yml b/.github/workflows/snapshot.yml index b03ee2f7..4b128bbb 100644 --- a/.github/workflows/snapshot.yml +++ b/.github/workflows/snapshot.yml @@ -38,7 +38,7 @@ jobs: with: go-version: 1.21.x - name: Checkout code - uses: actions/checkout@v3 + uses: actions/checkout@v4 - name: Cache Go modules uses: actions/cache@v3 with: diff --git a/.github/workflows/validate.yml b/.github/workflows/validate.yml index 8a30cf03..c3fe8c27 100644 --- a/.github/workflows/validate.yml +++ b/.github/workflows/validate.yml @@ -43,7 +43,7 @@ jobs: runs-on: ubuntu-latest steps: - name: Check out code - uses: actions/checkout@v3 + uses: actions/checkout@v4 - name: Install Go uses: actions/setup-go@v4 with: