Skip to content

Commit

Permalink
fix tests
Browse files Browse the repository at this point in the history
Signed-off-by: odubajDT <[email protected]>
  • Loading branch information
odubajDT committed Oct 2, 2023
1 parent 5e7122a commit 5ff6201
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
3 changes: 2 additions & 1 deletion .github/scripts/helm-test.sh
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,8 @@ echo "running Helm tests"
for test in $tests
do
echo "Testing $test"
helm template --namespace helmtests -f $test/values.yaml ./helm/chart > $test/helm_tests_output.yaml
## TODO: test also other helm charts (metrics-operator, certificate-operator)
helm template --namespace helmtests -f $test/values.yaml ./lifecycle-operator/chart > $test/helm_tests_output.yaml
if [ $? -ne 0 ]
then
echo "Error: helm template failed for test in $test"
Expand Down
3 changes: 2 additions & 1 deletion .github/workflows/validate-helm-chart.yml
Original file line number Diff line number Diff line change
Expand Up @@ -33,8 +33,9 @@ jobs:
cd ..
- name: Check if Helm doc is up to date
## TODO: test also other helm docs (metrics-operator, certificate-operator)
run: |
cd ./helm/chart/
cd ./lifecycle-operator/chart/
cp ./README.md ./README-old.md
cat ./values.yaml ./doc.yaml > ./rendered.yaml
readme-generator --values=./rendered.yaml --readme=./README.md
Expand Down

0 comments on commit 5ff6201

Please sign in to comment.