Skip to content

Commit 8988183

Browse files
committed
fixup! fixup! feat: Add setup checks and verify WOPI connectivity
1 parent 1ba0d97 commit 8988183

2 files changed

Lines changed: 6 additions & 4 deletions

File tree

.github/workflows/cypress-e2e.yml

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -127,12 +127,10 @@ jobs:
127127
php occ app:enable --force richdocuments
128128
php occ app:list
129129
php occ config:system:set trusted_domains 1 --value="172.17.0.1"
130-
php occ config:system:set overwrite.cli.url --value="http://localhost:8081"
130+
php occ config:system:set overwrite.cli.url --value="http://172.17.0.1:8081"
131131
132-
php occ config:app:set richdocuments wopi_url --value="http://localhost:9980"
133-
php occ config:app:set richdocuments public_wopi_url --value="http://localhost:9980"
134132
php occ config:system:set allow_local_remote_servers --value true --type bool
135-
php occ richdocuments:activate-config
133+
php occ richdocuments:activate-config --wopi-url="http://localhost:9980" --callback-url="http://172.17.0.1:8081"
136134
137135
curl http://admin:admin@localhost:8081/ocs/v1.php/cloud/capabilities\?format\=json -H 'OCS-APIRequest: true'
138136

.github/workflows/integration.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -108,6 +108,7 @@ jobs:
108108
mkdir data
109109
echo '<?php $CONFIG=["memcache.local"=>"\OC\Memcache\APCu","hashing_default_password"=>true];' > config/config.php
110110
./occ maintenance:install --verbose --database=${{ matrix.databases }} --database-name=nextcloud --database-host=127.0.0.1 --database-port=$DB_PORT --database-user=root --database-pass=rootpassword --admin-user admin --admin-pass password
111+
./occ config:system:set overwrite.cli.url --value="http://172.17.0.1:8081"
111112
./occ app:enable --force ${{ env.APP_NAME }}
112113
113114
- name: Run ${{ matrix.scenarios }} integration tests
@@ -187,6 +188,7 @@ jobs:
187188
mkdir data
188189
echo '<?php $CONFIG=["memcache.local"=>"\OC\Memcache\APCu","hashing_default_password"=>true];' > config/config.php
189190
./occ maintenance:install --verbose --database=${{ matrix.databases }} --database-name=nextcloud --database-host=127.0.0.1 --database-port=$DB_PORT --database-user=root --database-pass=rootpassword --admin-user admin --admin-pass password
191+
./occ config:system:set overwrite.cli.url --value="http://172.17.0.1:8081"
190192
./occ app:enable --force ${{ env.APP_NAME }}
191193
192194
- name: Run ${{ matrix.scenarios }} integration tests
@@ -268,6 +270,7 @@ jobs:
268270
mkdir data
269271
echo '<?php $CONFIG=["memcache.local"=>"\OC\Memcache\APCu","hashing_default_password"=>true];' > config/config.php
270272
./occ maintenance:install --verbose --database=${{ matrix.databases }} --database-name=nextcloud --database-host=127.0.0.1 --database-port=$DB_PORT --database-user=root --database-pass=rootpassword --admin-user admin --admin-pass password
273+
./occ config:system:set overwrite.cli.url --value="http://172.17.0.1:8081"
271274
./occ app:enable --force ${{ env.APP_NAME }}
272275
273276
- name: Run ${{ matrix.scenarios }} integration tests
@@ -358,6 +361,7 @@ jobs:
358361
echo '<?php $CONFIG=["memcache.local"=>"\OC\Memcache\APCu","hashing_default_password"=>true];' > config/config.php
359362
./occ maintenance:install --verbose --database=oci --database-name=XE --database-host=127.0.0.1 --database-port=1521 --database-user=autotest --database-pass=owncloud --admin-user admin --admin-pass password
360363
php -f index.php
364+
./occ config:system:set overwrite.cli.url --value="http://172.17.0.1:8081"
361365
./occ app:enable --force ${{ env.APP_NAME }}
362366
363367
- name: Run ${{ matrix.scenarios }} integration tests

0 commit comments

Comments
 (0)