mirror of
https://github.com/Azure/setup-helm.git
synced 2025-11-07 21:16:57 +00:00
Helm 3.7.2 test
This commit is contained in:
parent
36eb99c1d1
commit
64dc736255
1 changed files with 18 additions and 5 deletions
23
.github/workflows/integration-tests.yml
vendored
23
.github/workflows/integration-tests.yml
vendored
|
|
@ -9,9 +9,9 @@ jobs:
|
||||||
name: Trigger Integration tests
|
name: Trigger Integration tests
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
env:
|
env:
|
||||||
HELM_3_8_0: 'v3.8.0'
|
HELM_3_8_0: "v3.8.0"
|
||||||
HELM_3_7_2: 'v3.7.2'
|
HELM_3_7_2: "v3.7.2"
|
||||||
HELM_3_5_0: 'v3.5.0'
|
HELM_3_5_0: "v3.5.0"
|
||||||
PR_BASE_REF: ${{ github.event.pull_request.base.ref }}
|
PR_BASE_REF: ${{ github.event.pull_request.base.ref }}
|
||||||
steps:
|
steps:
|
||||||
- name: Check out repository
|
- name: Check out repository
|
||||||
|
|
@ -27,13 +27,26 @@ jobs:
|
||||||
- name: Setup kubectl
|
- name: Setup kubectl
|
||||||
uses: ./
|
uses: ./
|
||||||
with:
|
with:
|
||||||
version: 'v3.8.0'
|
version: $HELM_3_8_0
|
||||||
- name: Validate 3.8.0
|
- name: Validate 3.8.0
|
||||||
run: |
|
run: |
|
||||||
if [[ $(helm version) != *"v3.8.0"* ]]; then
|
if [[ $(helm version) != *$HELM_3_8_0* ]]; then
|
||||||
echo "HELM VERSION INCORRECT: HELM VERSION DOES NOT CONTAIN v3.8.0"
|
echo "HELM VERSION INCORRECT: HELM VERSION DOES NOT CONTAIN v3.8.0"
|
||||||
echo "HELM VERSION OUTPUT: $(helm version)"
|
echo "HELM VERSION OUTPUT: $(helm version)"
|
||||||
exit 1
|
exit 1
|
||||||
else
|
else
|
||||||
echo "HELM VERSION $HELM_3_8_0 INSTALLED SUCCESSFULLY"
|
echo "HELM VERSION $HELM_3_8_0 INSTALLED SUCCESSFULLY"
|
||||||
|
fi
|
||||||
|
- name: Setup kubectl 3.7.2
|
||||||
|
uses: ./
|
||||||
|
with:
|
||||||
|
version: $HELM_3_7_2
|
||||||
|
- name: Validate 3.7.2
|
||||||
|
run: |
|
||||||
|
if [[ $(helm version) != *$HELM_3_7_2* ]]; then
|
||||||
|
echo "HELM VERSION INCORRECT: HELM VERSION DOES NOT CONTAIN v3.7.2"
|
||||||
|
echo "HELM VERSION OUTPUT: $(helm version)"
|
||||||
|
exit 1
|
||||||
|
else
|
||||||
|
echo "HELM VERSION $HELM_3_7_2 INSTALLED SUCCESSFULLY"
|
||||||
fi
|
fi
|
||||||
Loading…
Reference in a new issue