Skip to content

Commit 5844493

Browse files
committed
fix(ci): add notifyPush test - WIP by setup ingress
1 parent fb46a71 commit 5844493

File tree

2 files changed

+10
-1
lines changed

2 files changed

+10
-1
lines changed

.github/workflows/lint-test.yaml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -101,6 +101,7 @@ jobs:
101101
helm_args: |
102102
--namespace nextcloud --skip-clean-up --helm-extra-set-args "--create-namespace --values charts/nextcloud/test-values/notify_push.yaml"
103103
testNotifyPush: true
104+
ingress: true
104105

105106
steps:
106107
- name: Checkout
@@ -148,6 +149,11 @@ jobs:
148149
--values .github/tests/minio_test_values.yaml \
149150
minio/minio
150151
152+
- name: Install Ingress
153+
if: matrix.test_cases.ingress
154+
run: |
155+
kubectl apply -f https://kind.sigs.k8s.io/examples/ingress/deploy-ingress-nginx.yaml
156+
151157
- name: Run chart-testing (install ${{ matrix.test_cases.name }})
152158
id: install
153159
if: steps.list-changed.outputs.changed == 'true'

charts/nextcloud/test-values/notify_push.yaml

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

33
nextcloud:
4-
host: "nextcloud-notify-push.nextcloud.svc.cluster.local"
4+
host: "ingress-nginx-controller.ingress-nginx.svc"
5+
6+
ingress:
7+
enabled: true
58

69
redis:
710
enabled: true

0 commit comments

Comments
 (0)