Skip to content

Commit df07453

Browse files
committed
chore(run-integration-test): Print kubectl and helm version
1 parent 7e80b10 commit df07453

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

run-integration-test/action.yaml

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -112,9 +112,13 @@ runs:
112112
113113
ARCH=$("$GITHUB_ACTION_PATH/../.scripts/actions/get_architecture.sh")
114114
115+
echo "::group::Install kubectl"
115116
curl -fsSL -o /tmp/kubectl "https://dl.k8s.io/release/${KUBECTL_VERSION}/bin/linux/${ARCH}/kubectl"
116117
sudo install -m 755 -t /usr/local/bin /tmp/kubectl
117118
119+
kubectl version
120+
echo "::endgroup::"
121+
118122
- name: Install Helm
119123
env:
120124
HELM_VERSION: ${{ inputs.helm-version }}
@@ -129,6 +133,7 @@ runs:
129133
130134
FILENAME="helm-${HELM_VERSION}-${PLATFORM}-${ARCH}.tar.gz"
131135
136+
echo "::group::Install helm"
132137
mkdir /tmp/helm
133138
curl -fsSL -o /tmp/helm/helm.tar.gz "https://get.helm.sh/${FILENAME}"
134139
curl -fsSL -o /tmp/helm/helm.tar.gz.asc "https://github.com/helm/helm/releases/download/${HELM_VERSION}/${FILENAME}.asc"
@@ -139,6 +144,9 @@ runs:
139144
tar --directory="/tmp/helm" --strip-components=1 -zxvf /tmp/helm/helm.tar.gz "${PLATFORM}-${ARCH}"
140145
sudo install -m 755 -t /usr/local/bin /tmp/helm/helm
141146
147+
helm version
148+
echo "::endgroup::"
149+
142150
- name: Install kubectl-kuttl
143151
env:
144152
KUTTL_VERSION: ${{ inputs.kuttl-version }}

0 commit comments

Comments
 (0)