Skip to content

Commit

Permalink
Install for real
Browse files Browse the repository at this point in the history
  • Loading branch information
Razz4780 committed Dec 18, 2024
1 parent 68427d1 commit 3dd6987
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
5 changes: 3 additions & 2 deletions test_values_files.sh
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

0 comments on commit 3dd6987

Please sign in to comment.