Skip to content

Commit

Permalink
fix tests by disabling use of tmp volumes and read-only file system
Browse files Browse the repository at this point in the history
this is only a problem because kind volumes are world writable which is not typical in production
  • Loading branch information
machisuji committed Feb 19, 2025
1 parent bdf058a commit 149cdf6
Showing 1 changed file with 10 additions and 1 deletion.
11 changes: 10 additions & 1 deletion .github/workflows/lint-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -48,4 +48,13 @@ jobs:
if: steps.list-changed.outputs.changed == 'true'

- name: Run chart-testing (install)
run: ct install --target-branch ${{ github.event.repository.default_branch }} --chart-repos bitnami=https://charts.bitnami.com/bitnami --helm-extra-set-args "--set environment.OPENPROJECT_HTTPS=false --set persistence.accessModes=[ReadWriteOnce]" --helm-extra-args "--timeout 600s"
run: |
ct install \
--target-branch ${{ github.event.repository.default_branch }} \
--chart-repos bitnami=https://charts.bitnami.com/bitnami \
--helm-extra-set-args "\
--set environment.OPENPROJECT_HTTPS=false \
--set persistence.accessModes=[ReadWriteOnce] \
--set use_tmp_volumes=false
" \
--helm-extra-args "--timeout 600s"

0 comments on commit 149cdf6

Please sign in to comment.