Skip to content

Commit dc4094b

Browse files
committed
fix(ci): add notifyPush test - WIP by setup ingress
Signed-off-by: WrenIX <dev.github@wrenix.eu>
1 parent 8ab29bb commit dc4094b

File tree

2 files changed

+11
-1
lines changed

2 files changed

+11
-1
lines changed

.github/workflows/lint-test.yaml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -109,6 +109,7 @@ jobs:
109109
helm_args: |
110110
--namespace nextcloud --skip-clean-up --helm-extra-set-args "--create-namespace --values charts/nextcloud/test-values/notify_push.yaml"
111111
testNotifyPush: true
112+
ingress: true
112113

113114
steps:
114115
- name: Checkout
@@ -156,6 +157,11 @@ jobs:
156157
--values .github/tests/minio_test_values.yaml \
157158
minio/minio
158159
160+
- name: Install Ingress
161+
if: matrix.test_cases.ingress
162+
run: |
163+
kubectl apply -f https://kind.sigs.k8s.io/examples/ingress/deploy-ingress-nginx.yaml
164+
159165
- name: Run chart-testing (install ${{ matrix.test_cases.name }})
160166
id: install
161167
if: steps.list-changed.outputs.changed == 'true'

charts/nextcloud/test-values/notify_push.yaml

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,15 @@
11
fullnameOverride: nextcloud
22

33
nextcloud:
4-
host: "nextcloud.nextcloud.svc.cluster.local"
4+
host: "ingress-nginx-controller.ingress-nginx.svc"
55
trustedDomains:
66
- 'nextcloud.nextcloud.svc.cluster.local'
7+
- 'ingress-nginx-controller.ingress-nginx.svc'
78
- 'nextcloud'
89

10+
ingress:
11+
enabled: true
12+
913
redis:
1014
enabled: true
1115

0 commit comments

Comments
 (0)