File tree Expand file tree Collapse file tree 2 files changed +104
-0
lines changed
charts/pixelfed/test-values Expand file tree Collapse file tree 2 files changed +104
-0
lines changed Original file line number Diff line number Diff line change 8484 ct install \
8585 --target-branch ${{ github.event.repository.default_branch }} \
8686 --helm-extra-set-args "--values ./charts/pixelfed/test-values/postgresql-plain.yaml"
87+
88+ test_plain_minio :
89+ name : Test chart plain with minio subchart
90+ runs-on : ubuntu-latest
91+ needs : lint
92+ steps :
93+ - name : Checkout
94+ uses : actions/checkout@v4
95+ with :
96+ fetch-depth : " 0"
97+ ref : ${{ github.event.pull_request.head.ref }}
98+ repository : ${{ github.event.pull_request.head.repo.full_name }}
99+
100+ - name : Install Helm
101+ uses : azure/setup-helm@v4
102+
103+ - name : Add dependency chart repos
104+ run : |
105+ helm repo add bitnami https://charts.bitnami.com/bitnami
106+
107+ - name : Set up chart-testing
108+ uses : helm/chart-testing-action@v2.7.0
109+
110+ - name : Run chart-testing (list-changed)
111+ id : list-changed
112+ run : |
113+ changed=$(ct list-changed --target-branch ${{ github.event.repository.default_branch }})
114+ if [[ -n "$changed" ]]; then
115+ echo "changed=true" >> "$GITHUB_OUTPUT"
116+ fi
117+
118+ - name : Create kind cluster
119+ uses : helm/kind-action@v1.12.0
120+ if : steps.list-changed.outputs.changed == 'true'
121+
122+ - name : Run chart-testing (install)
123+ id : install
124+ if : steps.list-changed.outputs.changed == 'true'
125+ run : |
126+ ct install \
127+ --target-branch ${{ github.event.repository.default_branch }} \
128+ --helm-extra-set-args "--values ./charts/pixelfed/test-values/minio-plain.yaml"
Original file line number Diff line number Diff line change 1+ # This file is strictly for testing a base functionality of this chart
2+ # it uses postgresql and valkey and provides credentials for them as well as mail
3+
4+ pixelfed :
5+ app :
6+ domain : " example.com"
7+ mail :
8+ username : test
9+ password : testing1234567
10+ horizon :
11+ separate_deployment : false
12+ pf :
13+ enable_cloud : true
14+
15+ valkey :
16+ auth :
17+ enabled : true
18+ password : testing1234567
19+ primary :
20+ replicaCount : 2
21+ disableCommands :
22+ - FLUSHALL
23+ persistence :
24+ enabled : false
25+ replica :
26+ replicaCount : 0
27+ persistence :
28+ enabled : false
29+
30+ postgresql :
31+ auth :
32+ password : testing1234567
33+ postgresPassword : testing1234567
34+ username : pixelfed
35+ database : pixelfed
36+
37+ minio :
38+ enabled : true
39+ provisioning :
40+ enabled : true
41+ persistence :
42+ enabled : false
43+
44+ livenessProbe :
45+ initialDelaySeconds : 10
46+ periodSeconds : 10
47+ timeoutSeconds : 5
48+ failureThreshold : 3
49+ successThreshold : 1
50+ httpGet :
51+ path : /api/service/health-check
52+ port : http
53+
54+ readinessProbe :
55+ initialDelaySeconds : 10
56+ periodSeconds : 10
57+ timeoutSeconds : 5
58+ failureThreshold : 3
59+ successThreshold : 1
60+ httpGet :
61+ path : /api/service/health-check
62+ port : http
You can’t perform that action at this time.
0 commit comments