Skip to content

Commit 225c066

Browse files
nickvergessenoleksandr-nc
authored andcommitted
chore(CI): Adjust testing matrix for Nextcloud 34 on stable34
Signed-off-by: Joas Schilling <coding@schilljs.com>
1 parent 2c1a379 commit 225c066

17 files changed

Lines changed: 172 additions & 67 deletions

.github/workflows/phpunit.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ name: PHPUnit
55
on:
66
pull_request:
77
push:
8-
branches: [main]
8+
branches: [stable34]
99
workflow_dispatch:
1010

1111
permissions:
@@ -23,7 +23,7 @@ jobs:
2323
fail-fast: false
2424
matrix:
2525
php-version: ['8.2', '8.3']
26-
server-version: ['master']
26+
server-version: ['stable34']
2727

2828
steps:
2929
- name: Set app env

.github/workflows/tests-deploy-k8s-clusterip.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -12,9 +12,9 @@ name: Tests - K8s Deploy (ClusterIP)
1212

1313
on:
1414
pull_request:
15-
branches: [main]
15+
branches: [stable34]
1616
push:
17-
branches: [main]
17+
branches: [stable34]
1818
workflow_dispatch:
1919

2020
permissions:
@@ -53,7 +53,7 @@ jobs:
5353
persist-credentials: false
5454
submodules: true
5555
repository: nextcloud/server
56-
ref: master
56+
ref: stable34
5757

5858
- name: Checkout AppAPI
5959
uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2

.github/workflows/tests-deploy-k8s-loadbalancer.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -11,9 +11,9 @@ name: Tests - K8s Deploy (LoadBalancer)
1111

1212
on:
1313
pull_request:
14-
branches: [main]
14+
branches: [stable34]
1515
push:
16-
branches: [main]
16+
branches: [stable34]
1717
workflow_dispatch:
1818

1919
permissions:
@@ -52,7 +52,7 @@ jobs:
5252
persist-credentials: false
5353
submodules: true
5454
repository: nextcloud/server
55-
ref: master
55+
ref: stable34
5656

5757
- name: Checkout AppAPI
5858
uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2

.github/workflows/tests-deploy-k8s-manual.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -11,9 +11,9 @@ name: Tests - K8s Deploy (Manual)
1111

1212
on:
1313
pull_request:
14-
branches: [main]
14+
branches: [stable34]
1515
push:
16-
branches: [main]
16+
branches: [stable34]
1717
workflow_dispatch:
1818

1919
permissions:
@@ -53,7 +53,7 @@ jobs:
5353
persist-credentials: false
5454
submodules: true
5555
repository: nextcloud/server
56-
ref: master
56+
ref: stable34
5757

5858
- name: Checkout AppAPI
5959
uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2

.github/workflows/tests-deploy-k8s.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -4,9 +4,9 @@ name: Tests - K8s Deploy (NodePort)
44

55
on:
66
pull_request:
7-
branches: [main]
7+
branches: [stable34]
88
push:
9-
branches: [main]
9+
branches: [stable34]
1010
workflow_dispatch:
1111

1212
permissions:
@@ -45,7 +45,7 @@ jobs:
4545
persist-credentials: false
4646
submodules: true
4747
repository: nextcloud/server
48-
ref: master
48+
ref: stable34
4949

5050
- name: Checkout AppAPI
5151
uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
@@ -243,7 +243,7 @@ jobs:
243243
persist-credentials: false
244244
submodules: true
245245
repository: nextcloud/server
246-
ref: master
246+
ref: stable34
247247

248248
- name: Checkout AppAPI
249249
uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2

.github/workflows/tests-deploy.yml

Lines changed: 15 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -4,9 +4,9 @@ name: Tests - Deploy
44

55
on:
66
pull_request:
7-
branches: [main]
7+
branches: [stable34]
88
push:
9-
branches: [main]
9+
branches: [stable34]
1010
workflow_dispatch:
1111

1212
permissions:
@@ -42,7 +42,7 @@ jobs:
4242
persist-credentials: false
4343
submodules: true
4444
repository: nextcloud/server
45-
ref: master
45+
ref: stable34
4646

4747
- name: Checkout AppAPI
4848
uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
@@ -150,7 +150,7 @@ jobs:
150150
- name: Create container
151151
run: |
152152
docker network create master_bridge
153-
docker run --net master_bridge --name nextcloud --rm -d -v /var/run/docker.sock:/var/run/docker.sock ${{ env.docker-image }}
153+
docker run --net master_bridge --name nextcloud -e SERVER_BRANCH=stable34 --rm -d -v /var/run/docker.sock:/var/run/docker.sock ${{ env.docker-image }}
154154
sudo chmod 766 /var/run/docker.sock
155155
156156
- name: Wait for Nextcloud bootstrap
@@ -251,7 +251,7 @@ jobs:
251251
-e NC_HAPROXY_PASSWORD="some_secure_password" \
252252
--net master_bridge --name nextcloud-appapi-dsp -h nextcloud-appapi-dsp \
253253
--privileged -d ghcr.io/nextcloud/nextcloud-appapi-dsp:latest
254-
docker run --net master_bridge --name nextcloud --rm -d ${{ env.docker-image }}
254+
docker run --net master_bridge --name nextcloud -e SERVER_BRANCH=stable34 --rm -d ${{ env.docker-image }}
255255
256256
- name: Wait for Nextcloud bootstrap
257257
run: |
@@ -361,7 +361,7 @@ jobs:
361361
-e EX_APPS_NET="ipv4@localhost" \
362362
--net host --name nextcloud-appapi-dsp -h nextcloud-appapi-dsp \
363363
--privileged -d ghcr.io/nextcloud/nextcloud-appapi-dsp:latest
364-
docker run --net master_bridge --name nextcloud --rm -d ${{ env.docker-image }}
364+
docker run --net master_bridge --name nextcloud -e SERVER_BRANCH=stable34 --rm -d ${{ env.docker-image }}
365365
366366
- name: Wait for Nextcloud bootstrap
367367
run: |
@@ -501,7 +501,7 @@ jobs:
501501
-e EX_APPS_NET="ipv4@localhost" \
502502
--net host --name nextcloud-appapi-dsp -h nextcloud-appapi-dsp \
503503
--privileged -d ghcr.io/nextcloud/nextcloud-appapi-dsp:latest
504-
docker run --net=bridge --name=nextcloud -p 8080:80 --rm -d ${{ env.docker-image }}
504+
docker run --net=bridge --name=nextcloud -p 8080:80 -e SERVER_BRANCH=stable34 --rm -d ${{ env.docker-image }}
505505
506506
- name: Wait for Nextcloud bootstrap
507507
run: |
@@ -645,7 +645,7 @@ jobs:
645645
persist-credentials: false
646646
submodules: true
647647
repository: nextcloud/server
648-
ref: master
648+
ref: stable34
649649

650650
- name: Checkout AppAPI
651651
uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
@@ -787,7 +787,7 @@ jobs:
787787
persist-credentials: false
788788
submodules: true
789789
repository: nextcloud/server
790-
ref: master
790+
ref: stable34
791791

792792
- name: Checkout AppAPI
793793
uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
@@ -942,7 +942,7 @@ jobs:
942942
persist-credentials: false
943943
submodules: true
944944
repository: nextcloud/server
945-
ref: master
945+
ref: stable34
946946

947947
- name: Checkout AppAPI
948948
uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
@@ -1065,7 +1065,7 @@ jobs:
10651065
--net master_bridge --name appapi-harp -h appapi-harp \
10661066
--restart unless-stopped \
10671067
-d ghcr.io/nextcloud/nextcloud-appapi-harp:latest
1068-
docker run --net master_bridge --name nextcloud-docker --rm -d ${{ env.docker-image }}
1068+
docker run --net master_bridge --name nextcloud-docker -e SERVER_BRANCH=stable34 --rm -d ${{ env.docker-image }}
10691069
10701070
sed -i 's/127\.0\.0\.1:8080/nextcloud-docker/' tests/simple-nginx-NOT-FOR-PRODUCTION.conf
10711071
sed -i 's/127\.0\.0\.1:8780/appapi-harp:8780/' tests/simple-nginx-NOT-FOR-PRODUCTION.conf
@@ -1170,7 +1170,7 @@ jobs:
11701170
--net master_bridge --name appapi-harp -h appapi-harp \
11711171
--restart unless-stopped \
11721172
-d ghcr.io/nextcloud/nextcloud-appapi-harp:latest
1173-
docker run --net master_bridge --name nextcloud-docker --rm -d ${{ env.docker-image }}
1173+
docker run --net master_bridge --name nextcloud-docker -e SERVER_BRANCH=stable34 --rm -d ${{ env.docker-image }}
11741174
11751175
sed -i 's/127\.0\.0\.1:8080/nextcloud-docker/' tests/simple-nginx-NOT-FOR-PRODUCTION.conf
11761176
sed -i 's/127\.0\.0\.1:8780/appapi-harp:8780/' tests/simple-nginx-NOT-FOR-PRODUCTION.conf
@@ -1271,7 +1271,7 @@ jobs:
12711271
persist-credentials: false
12721272
submodules: true
12731273
repository: nextcloud/server
1274-
ref: master
1274+
ref: stable34
12751275

12761276
- name: Checkout AppAPI
12771277
uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
@@ -1392,7 +1392,7 @@ jobs:
13921392
persist-credentials: false
13931393
submodules: true
13941394
repository: nextcloud/server
1395-
ref: master
1395+
ref: stable34
13961396

13971397
- name: Checkout AppAPI
13981398
uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
@@ -1597,7 +1597,7 @@ jobs:
15971597
persist-credentials: false
15981598
submodules: true
15991599
repository: nextcloud/server
1600-
ref: master
1600+
ref: stable34
16011601

16021602
- name: Checkout AppAPI
16031603
uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2

.github/workflows/tests-exapp-integration.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,9 +4,9 @@ name: Tests - ExApp Integration
44

55
on:
66
pull_request:
7-
branches: [main]
7+
branches: [stable34]
88
push:
9-
branches: [main]
9+
branches: [stable34]
1010
workflow_dispatch:
1111

1212
permissions:
@@ -52,7 +52,7 @@ jobs:
5252
persist-credentials: false
5353
submodules: true
5454
repository: nextcloud/server
55-
ref: master
55+
ref: stable34
5656

5757
- name: Checkout AppAPI
5858
uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2

.github/workflows/tests-special.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,9 +4,9 @@ name: Tests Special
44

55
on:
66
pull_request:
7-
branches: [main]
7+
branches: [stable34]
88
push:
9-
branches: [main]
9+
branches: [stable34]
1010
workflow_dispatch:
1111

1212
permissions:
@@ -54,7 +54,7 @@ jobs:
5454
persist-credentials: false
5555
submodules: true
5656
repository: nextcloud/server
57-
ref: 'master'
57+
ref: 'stable34'
5858

5959
- name: Checkout AppAPI
6060
uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2

.github/workflows/tests.yml

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -4,9 +4,9 @@ name: Tests
44

55
on:
66
pull_request:
7-
branches: [main]
7+
branches: [stable34]
88
push:
9-
branches: [main]
9+
branches: [stable34]
1010
workflow_dispatch:
1111

1212
permissions:
@@ -56,14 +56,14 @@ jobs:
5656
persist-credentials: false
5757
submodules: true
5858
repository: nextcloud/server
59-
ref: master
59+
ref: stable34
6060

6161
- name: Checkout Notifications
6262
uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
6363
with:
6464
persist-credentials: false
6565
repository: nextcloud/notifications
66-
ref: master
66+
ref: stable34
6767
path: apps/notifications
6868

6969
- name: Checkout AppAPI
@@ -184,14 +184,14 @@ jobs:
184184
persist-credentials: false
185185
submodules: true
186186
repository: nextcloud/server
187-
ref: master
187+
ref: stable34
188188

189189
- name: Checkout Notifications
190190
uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
191191
with:
192192
persist-credentials: false
193193
repository: nextcloud/notifications
194-
ref: master
194+
ref: stable34
195195
path: apps/notifications
196196

197197
- name: Checkout AppAPI
@@ -306,14 +306,14 @@ jobs:
306306
persist-credentials: false
307307
submodules: true
308308
repository: nextcloud/server
309-
ref: master
309+
ref: stable34
310310

311311
- name: Checkout Notifications
312312
uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
313313
with:
314314
persist-credentials: false
315315
repository: nextcloud/notifications
316-
ref: master
316+
ref: stable34
317317
path: apps/notifications
318318

319319
- name: Checkout AppAPI
@@ -434,14 +434,14 @@ jobs:
434434
persist-credentials: false
435435
submodules: true
436436
repository: nextcloud/server
437-
ref: master
437+
ref: stable34
438438

439439
- name: Checkout Notifications
440440
uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
441441
with:
442442
persist-credentials: false
443443
repository: nextcloud/notifications
444-
ref: master
444+
ref: stable34
445445
path: apps/notifications
446446

447447
- name: Checkout AppAPI

appinfo/info.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ Two options are available:
3737
3838
See the [admin documentation](https://docs.nextcloud.com/server/latest/admin_manual/exapps_management/DeployConfigurations.html) for setup instructions.
3939
]]></description>
40-
<version>34.0.0-dev.0</version>
40+
<version>34.0.0</version>
4141
<licence>agpl</licence>
4242
<author mail="andrey18106x@gmail.com" homepage="https://github.com/andrey18106">Andrey Borysenko</author>
4343
<author mail="bigcat88@icloud.com" homepage="https://github.com/bigcat88">Alexander Piskun</author>

0 commit comments

Comments
 (0)