-
Notifications
You must be signed in to change notification settings - Fork 8
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
2 changed files
with
4 additions
and
3 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 |
---|---|---|
|
@@ -33,7 +33,7 @@ jobs: | |
cpus: 'max' | ||
memory: '4gb' | ||
- uses: azure/[email protected] | ||
- name: check installing the chart with various `values` yamls (`helm install --dry-run=server`) | ||
- name: check installing the chart with various `values` yamls | ||
run: ./test_values_files.sh | ||
- name: install the chart | ||
run: helm install mirrord-operator --set license.file.data."license\\.pem"=$MIRRORD_OPERATOR_LICENSE --set operator.disableTelemetries=true --set operator.podAnnotations."annotation\.metalbear\.co/name"="operator" --set operator.podAnnotations."annotation\.metalbear\.co/version"="latest" --set operator.podLabels."label\.metalbear\.co/name"="operator" --set operator.podLabels."label\.metalbear\.co/version"="latest" ./mirrord-operator --wait | ||
|
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 |
---|---|---|
@@ -1,8 +1,9 @@ | ||
#!/bin/sh | ||
|
||
# for each file in the test_values directory | ||
# run helm install --dry-run=server | ||
# run helm install && helm uninstall | ||
for file in test_values/*.yaml; do | ||
echo "Running test for $file" | ||
helm install --dry-run=server --debug -f $file mirrord-operator ./mirrord-operator | ||
helm install --atomic --debug -f $file mirrord-operator ./mirrord-operator --wait | ||
helm uninstall mirrord-operator --wait | ||
done |