From 76aa362aefc5a82616c29132b7a43243ce3b9f6d Mon Sep 17 00:00:00 2001 From: jnjerin Date: Fri, 3 Nov 2023 13:34:13 +0300 Subject: [PATCH] updated test file Signed-off-by: jnjerin --- .github/workflows/test-kubectl-plugin.yml | 37 +++++++++++------------ 1 file changed, 18 insertions(+), 19 deletions(-) diff --git a/.github/workflows/test-kubectl-plugin.yml b/.github/workflows/test-kubectl-plugin.yml index 356746c2..fef65d89 100644 --- a/.github/workflows/test-kubectl-plugin.yml +++ b/.github/workflows/test-kubectl-plugin.yml @@ -30,25 +30,24 @@ jobs: - name: Install kubectl plugin run: | - helm version - curl -LO "https://dl.k8s.io/release/$(curl -L -s https://dl.k8s.io/release/stable.txt)/bin/linux/amd64/kubectl" - chmod +x kubectl - sudo mv ./kubectl /usr/local/bin/kubectl - set -x; cd "$(mktemp -d)" - OS="$(uname | tr '[:upper:]' '[:lower:]')" - ARCH="$(uname -m | sed -e 's/x86_64/amd64/' -e 's/\(arm\)\(64\)\?.*/\1\2/' -e 's/aarch64$/arm64/')" - KREW="krew-${OS}_${ARCH}" - curl -fsSLO "https://github.com/kubernetes-sigs/krew/releases/latest/download/${KREW}.tar.gz" - tar zxvf "${KREW}.tar.gz" - ./"${KREW}" install krew - ls -lh - ls -lh ./"$KREW" - ls -lh ./"$KREW/$KREW" - export PATH="$PWD/$KREW/$KREW/bin:$PATH" - kubectl krew install hlf - helm repo add kfs "https://kfsoftware.github.io/hlf-helm-charts" --force-update - helm install hlf-operator --version=1.9.2 kfs/hlf-operator - kubectl hlf + helm version + curl -LO "https://dl.k8s.io/release/$(curl -L -s https://dl.k8s.io/release/stable.txt)/bin/linux/amd64/kubectl" + chmod +x kubectl + sudo mv ./kubectl /usr/local/bin/kubectl + set -x; cd "$(mktemp -d)" + OS="$(uname | tr '[:upper:]' '[:lower:]')" + ARCH="$(uname -m | sed -e 's/x86_64/amd64/' -e 's/\(arm\)\(64\)\?.*/\1\2/' -e 's/aarch64$/arm64/')" + KREW="krew-${OS}_${ARCH}" + curl -fsSLO "https://github.com/kubernetes-sigs/krew/releases/latest/download/${KREW}.tar.gz" + tar zxvf "${KREW}.tar.gz" + ./"${KREW}" install krew + ls -lh + ls -lh ./"$KREW/" + export PATH="$PWD/$KREW/bin:$PATH" + kubectl krew install hlf + helm repo add kfs "https://kfsoftware.github.io/hlf-helm-charts" --force-update + helm install hlf-operator --version=1.9.2 kfs/hlf-operator + kubectl hlf - name: Install Istio run: |