Skip to content

Commit

Permalink
Merge pull request #91 from WyriHaximusNet/update-to-the-new-way-the-…
Browse files Browse the repository at this point in the history
…chart-tester-works

Update to the new way the char tester works
  • Loading branch information
WyriHaximus authored Jun 12, 2023
2 parents c81a90a + e10ec2d commit 57f3324
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 13 deletions.
21 changes: 12 additions & 9 deletions .github/workflows/helm-charts-test.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -11,12 +11,13 @@ jobs:

- name: Fetch history
run: git fetch --prune --unshallow
- name: Install Chart Tester
uses: helm/[email protected]
- name: Add WyriHaximusNet repo
run: helm repo add WyriHaximusNet https://helm.wyrihaximus.net/
- name: Lint charts
id: lint
uses: helm/[email protected]
with:
command: lint
config: ct.yaml
run: ct lint --all

test:
runs-on: ubuntu-latest
Expand Down Expand Up @@ -59,11 +60,13 @@ jobs:
sed -i '$ d' charts/commentoplusplus/ci/postgresql-values.yaml
echo -e " manual: \"${{ steps.postgresql.outputs.url }}\"\r\n" >> charts/commentoplusplus/ci/postgresql-values.yaml
sed -i 's/library/application/g' charts/commons/Chart.yaml
sed -i 's/library/application/g' charts/cron-jobs/Chart.yaml
sed -i 's/library/application/g' charts/horizontal-pod-autoscalers/Chart.yaml
rm -Rf charts/commento
rm -Rf charts/commentoplusplus
- name: Test charts
# sed -i 's/library/application/g' charts/cron-jobs/Chart.yaml
# sed -i 's/library/application/g' charts/horizontal-pod-autoscalers/Chart.yaml
- name: Add WyriHaximusNet repo
run: helm repo add WyriHaximusNet https://helm.wyrihaximus.net/
- name: Install Chart Tester
uses: helm/[email protected]
with:
command: install
- name: Test charts
run: ct install
5 changes: 1 addition & 4 deletions charts/commento/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4,12 +4,9 @@ description: Helm chart to install commento on a kubernetes cluster
home: https://commento.io/
icon: https://cdn.commento.io/images/logo.svg
name: commento
version: 0.2.1
version: 0.2.2
deprecated: true
kubeVersion: ^1.19
maintainers:
- name: WyriHaximus
email: [email protected]
dependencies:
- name: commons
version: ^0.1
Expand Down

0 comments on commit 57f3324

Please sign in to comment.