mirror of
https://github.com/Azure/setup-helm.git
synced 2025-12-21 06:45:44 +00:00
Bumps the actions group in /.github/workflows with 1 update: [actions/checkout](https://github.com/actions/checkout).
Updates `actions/checkout` from 5.0.0 to 6.0.0
- [Release notes](https://github.com/actions/checkout/releases)
- [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md)
- [Commits](08c6903cd8...1af3b93b68)
---
updated-dependencies:
- dependency-name: actions/checkout
dependency-version: 6.0.0
dependency-type: direct:production
update-type: version-update:semver-major
dependency-group: actions
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
91 lines
3.1 KiB
YAML
91 lines
3.1 KiB
YAML
name: 'Trigger Integration tests'
|
|
on:
|
|
pull_request:
|
|
branches:
|
|
- main
|
|
- 'releases/*'
|
|
jobs:
|
|
trigger-integration-tests:
|
|
name: Trigger Integration tests
|
|
strategy:
|
|
matrix:
|
|
os:
|
|
- ubuntu-latest
|
|
- ubuntu-24.04-arm
|
|
- macos-latest # arm
|
|
fail-fast: false
|
|
runs-on: ${{ matrix.os }}
|
|
env:
|
|
HELM_3_18_4: 'v3.18.4'
|
|
HELM_3_18_0: 'v3.18.0'
|
|
HELM_NO_V: '3.18.4'
|
|
PR_BASE_REF: ${{ github.event.pull_request.base.ref }}
|
|
steps:
|
|
- name: Check out repository
|
|
uses: actions/checkout@1af3b93b6815bc44a9784bd300feb67ff0d1eeb3 # v6.0.0
|
|
- name: npm install and build
|
|
id: action-npm-build
|
|
run: |
|
|
echo $PR_BASE_REF
|
|
if [[ $PR_BASE_REF != releases/* ]]; then
|
|
npm install
|
|
npm run build
|
|
fi
|
|
- name: Setup helm
|
|
uses: ./
|
|
with:
|
|
version: ${{ env.HELM_3_18_4 }}
|
|
- name: Validate helm 3.18.4
|
|
run: |
|
|
if [[ $(helm version) != *$HELM_3_18_4* ]]; then
|
|
echo "HELM VERSION INCORRECT: HELM VERSION DOES NOT CONTAIN v3.18.4"
|
|
echo "HELM VERSION OUTPUT: $(helm version)"
|
|
exit 1
|
|
else
|
|
echo "HELM VERSION $HELM_3_18_4 INSTALLED SUCCESSFULLY"
|
|
fi
|
|
- name: Setup helm 3.18.0
|
|
uses: ./
|
|
with:
|
|
version: ${{ env.HELM_3_18_0 }}
|
|
- name: Validate 3.18.0
|
|
run: |
|
|
if [[ $(helm version) != *$HELM_3_18_0* ]]; then
|
|
echo "HELM VERSION INCORRECT: HELM VERSION DOES NOT CONTAIN v3.18.0"
|
|
echo "HELM VERSION OUTPUT: $(helm version)"
|
|
exit 1
|
|
else
|
|
echo "HELM VERSION $HELM_3_18_0 INSTALLED SUCCESSFULLY"
|
|
fi
|
|
- name: Setup helm 3.18.4 with no v in version
|
|
uses: ./
|
|
with:
|
|
version: ${{ env.HELM_NO_V }}
|
|
- name: Validate 3.18.4 without v in version
|
|
run: |
|
|
if [[ $(helm version) != *$HELM_NO_V* ]]; then
|
|
echo "HELM VERSION INCORRECT: HELM VERSION DOES NOT CONTAIN 3.18.4"
|
|
echo "HELM VERSION OUTPUT: $(helm version)"
|
|
exit 1
|
|
else
|
|
echo "HELM VERSION $HELM_NO_V INSTALLED SUCCESSFULLY"
|
|
fi
|
|
- name: Setup helm latest version
|
|
uses: ./
|
|
with:
|
|
version: latest
|
|
token: ${{ secrets.GITHUB_TOKEN }}
|
|
- name: Validate latest
|
|
env:
|
|
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
|
run: |
|
|
HELM_LATEST=$(curl -s https://get.helm.sh/helm-latest-version)
|
|
|
|
if [[ $(helm version) != *$HELM_LATEST* ]]; then
|
|
echo "HELM VERSION INCORRECT: HELM VERSION DOES NOT CONTAIN $HELM_LATEST"
|
|
echo "HELM VERSION OUTPUT: $(helm version)"
|
|
exit 1
|
|
else
|
|
echo "HELM VERSION $HELM_LATEST INSTALLED SUCCESSFULLY"
|
|
fi
|