Skip to content

Commit 9b7b050

Browse files
committed
install curl
Signed-off-by: Swikriti Tripathi <swikriti808@gmail.com>
1 parent 8484e15 commit 9b7b050

File tree

1 file changed

+8
-4
lines changed

1 file changed

+8
-4
lines changed

.github/workflows/ci.yml

Lines changed: 8 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -245,7 +245,7 @@ jobs:
245245
NEXTCLOUD_AUTOINSTALL: "YES"
246246
NEXTCLOUD_AUTOINSTALL_APPS: "viewer activity groupfolders integration_openproject"
247247
NEXTCLOUD_TRUSTED_DOMAINS: nextcloud
248-
VIRTUAL_HOST: "nextcloud"
248+
VIRTUAL_HOST: "nextcloud.local"
249249
WITH_REDIS: "YES"
250250
NEXTCLOUD_AUTOINSTALL_APPS_WAIT_TIME: 120
251251
volumes:
@@ -264,6 +264,10 @@ jobs:
264264
DHPARAM_GENERATION: "false"
265265
HTTPS_METHOD: "noredirect"
266266
HSTS: "off"
267+
networks:
268+
default:
269+
aliases:
270+
- nextcloud.local
267271

268272
# database-postgres:
269273
# image: postgres:14
@@ -303,7 +307,7 @@ jobs:
303307
mkdir -p data/ssl
304308
apt update -y
305309
apt install openssl -y
306-
apt install curl
310+
apt install curl -y
307311
openssl version
308312
openssl req -subj '/CN=nextcloud.local/C=NP/L=Pokhara' -x509 -sha256 -nodes -days 3650 -newkey rsa:2048 -keyout ./data/ssl/nextcloud.local.key -out ./data/ssl/nextcloud.local.crt
309313
ls ./data/ssl
@@ -344,10 +348,10 @@ jobs:
344348
# restore-keys: ${{ runner.os }}-composer-
345349
#
346350
- name: try Nextcloud 1
347-
run: curl http://nextcloud.local/status.php || true
351+
run: curl http://nextcloud.local/status.php -v
348352

349353
- name: try Nextcloud 2
350-
run: curl -k https://nextcloud.local/status.php || true
354+
run: curl -k https://nextcloud.local/status.php -v
351355

352356
# - name: API Tests
353357
# env:

0 commit comments

Comments
 (0)