From a53f5f2334c08b95383a3be788bbe84975b6cdfb Mon Sep 17 00:00:00 2001 From: Manuel Ruck Date: Thu, 13 Jun 2024 07:36:23 +0200 Subject: [PATCH] ci(test): upgrade garden pipeline Signed-off-by: Manuel Ruck --- .github/workflows/test-integration.yaml | 39 ++++++++++++++++++------- 1 file changed, 29 insertions(+), 10 deletions(-) diff --git a/.github/workflows/test-integration.yaml b/.github/workflows/test-integration.yaml index c1bc994..64a730b 100644 --- a/.github/workflows/test-integration.yaml +++ b/.github/workflows/test-integration.yaml @@ -1,6 +1,5 @@ name: 🧑‍🌾 Integration-Test on: - push: pull_request: workflow_dispatch: @@ -8,16 +7,36 @@ jobs: Test-on-cluster: runs-on: ubuntu-latest steps: - - name: 🚀 Testing on a k8s Kind Cluster + - name: 🚀 Install Kind Cluster uses: helm/kind-action@v1.10.0 + with: + install_only: true + - name: 🐳 Create cluster with ingress + run: | + cat <> $GITHUB_ENV - name: 📥 Checkout code - uses: actions/checkout@v3.0.2 - - run: | - cat $HOME/.kube/config - - name: 🌱 Deploy preview env with Garden - uses: garden-io/garden-action@v1.2 + uses: actions/checkout@v4 + - name: 🌱 Run integration test with garden.io + uses: garden-io/garden-action@v2 with: command: test - kubeconfig-location: $HOME/.kube/config - - run: | - cat $HOME/.kube/config