forked from eclipse-tractusx/managed-identity-wallet
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
1 changed file
with
14 additions
and
4 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -16,16 +16,19 @@ jobs: | |
fetch-depth: 0 | ||
|
||
- name: Set up Helm | ||
uses: azure/setup-helm@v1 | ||
uses: azure/setup-helm@v3 | ||
with: | ||
version: v3.9.3 | ||
version: v3.11.3 | ||
|
||
- name: Add Helm repos | ||
- name: Update Helm dependencies | ||
run: | | ||
cd charts/managed-identity-wallet | ||
helm repo add bitnami https://charts.bitnami.com/bitnami | ||
helm dependency update | ||
- name: Install Helm unittest plugin | ||
run: | | ||
helm plugin install https://github.com/helm-unittest/helm-unittest.git | ||
# Setup python as a prerequisite for chart linting | ||
- uses: actions/setup-python@v2 | ||
with: | ||
|
@@ -34,17 +37,24 @@ jobs: | |
- name: Set up chart-testing | ||
uses: helm/[email protected] | ||
|
||
- name: Install Task | ||
uses: arduino/setup-task@v1 | ||
|
||
- name: Run chart-testing (list-changed) | ||
id: list-changed | ||
run: | | ||
changed=$(ct list-changed --target-branch ${{ github.event.repository.default_branch }}) | ||
if [[ -n "$changed" ]]; then | ||
echo "::set-output name=changed::true" | ||
fi | ||
# run chart linting | ||
- name: Run chart-testing (lint) | ||
run: ct lint --target-branch ${{ github.event.repository.default_branch }} --config charts/chart-testing-config.yaml | ||
|
||
- name: Run Helm unittests | ||
run: task helm:unittest | ||
|
||
# Preparing a kind cluster to install and test charts on | ||
- name: Create kind cluster | ||
uses: helm/[email protected] | ||
|