From 2fd79d73cff73da2f4972eef50eecbbc5babd88d Mon Sep 17 00:00:00 2001 From: MichalKalke Date: Tue, 15 Oct 2024 13:02:04 +0200 Subject: [PATCH] Install kyma in PATH env --- .github/actions/setup-kyma/action.yaml | 2 +- .github/workflows/_integration-tests.yaml | 2 +- test/btp/hack/Makefile | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/actions/setup-kyma/action.yaml b/.github/actions/setup-kyma/action.yaml index d70ceca8..373eca3e 100644 --- a/.github/actions/setup-kyma/action.yaml +++ b/.github/actions/setup-kyma/action.yaml @@ -5,7 +5,7 @@ inputs: path: description: 'path where kyma should be installed' required: false - default: "../bin" + default: "/usr/local/bin" runs: using: 'composite' diff --git a/.github/workflows/_integration-tests.yaml b/.github/workflows/_integration-tests.yaml index c8517ce9..62801d0c 100644 --- a/.github/workflows/_integration-tests.yaml +++ b/.github/workflows/_integration-tests.yaml @@ -34,7 +34,7 @@ jobs: - uses: actions/checkout@v4 - uses: ./.github/actions/setup-kyma with: - path: "tests/btp/bin" + path: "/usr/local/bin" - uses: ./.github/actions/setup-terraform - name: Create btp account with kyma enabled run: | diff --git a/test/btp/hack/Makefile b/test/btp/hack/Makefile index 46c0e8ce..13d45827 100644 --- a/test/btp/hack/Makefile +++ b/test/btp/hack/Makefile @@ -1,7 +1,7 @@ .PHONY: service-account-kubeconfig service-account-kubeconfig: @echo "Generating expiring service-account based kubeconfig..." - ../bin/kyma alpha access --clusterrole ${CLUSTERROLE} --kubeconfig ../tf/kubeconfig.yaml --name ci-workflow-sa --time 1h --output /tmp/sa-kubeconfig.yaml + kyma alpha access --clusterrole ${CLUSTERROLE} --kubeconfig ../tf/kubeconfig.yaml --name ci-workflow-sa --time 1h --output /tmp/sa-kubeconfig.yaml @echo "Service-account based kubeconfig generated" .PHONY cleanup-tf-force: