From 191ec51f6245a1a475c15312d354efaf07ff64de Mon Sep 17 00:00:00 2001 From: stevenhorsman Date: Thu, 10 Oct 2024 18:37:41 +0100 Subject: [PATCH] workflow: Fix kustomize permissions issues Add sudo to install and ensure it has execute permission --- .github/workflows/e2e_libvirt.yaml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.github/workflows/e2e_libvirt.yaml b/.github/workflows/e2e_libvirt.yaml index e4052d23a..5086c9b41 100644 --- a/.github/workflows/e2e_libvirt.yaml +++ b/.github/workflows/e2e_libvirt.yaml @@ -103,8 +103,9 @@ jobs: - name: Install kustomize run: | command -v kustomize >/dev/null || \ - curl -s "https://raw.githubusercontent.com/kubernetes-sigs/kustomize/master/hack/install_kustomize.sh" | \ + sudo curl -s "https://raw.githubusercontent.com/kubernetes-sigs/kustomize/master/hack/install_kustomize.sh" | \ bash -s /usr/local/bin + sudo chmod a+x /usr/local/bin/kustomize - name: Checkout KBS Repository run: |