Skip to content

Commit a40e350

Browse files
authored
register-daemon(#14)
Adjustment to CI to today's App Ecosystem update
1 parent c2f1b64 commit a40e350

File tree

2 files changed

+18
-3
lines changed

2 files changed

+18
-3
lines changed

.github/workflows/analysis-coverage.yml

Lines changed: 12 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -134,8 +134,11 @@ jobs:
134134
echo $! > /tmp/_install.pid
135135
cd ..
136136
sleep 5s
137+
php occ app_ecosystem_v2:daemon:register docker-install Docker unix-socket 0 0 \
138+
--net=host --host="127.0.0.1" --expose-to-host=true
137139
php occ app_ecosystem_v2:app:register $app_name $app_version "NcPyApi" \
138-
--host 127.0.0.1 --port 9002 \
140+
--daemon-config-id 1 \
141+
--port 9002 \
139142
--secret $app_secret \
140143
-e --force-scopes --system-app
141144
kill -15 $(cat /tmp/_install.pid)
@@ -266,8 +269,11 @@ jobs:
266269
echo $! > /tmp/_install.pid
267270
cd ..
268271
sleep 5s
272+
php occ app_ecosystem_v2:daemon:register docker-install Docker unix-socket 0 0 \
273+
--net=host --host="127.0.0.1" --expose-to-host=true
269274
php occ app_ecosystem_v2:app:register $app_name $app_version "NcPyApi" \
270-
--host 127.0.0.1 --port 9002 \
275+
--daemon-config-id 1 \
276+
--port 9002 \
271277
--secret $app_secret \
272278
-e --force-scopes --system-app
273279
kill -15 $(cat /tmp/_install.pid)
@@ -392,8 +398,11 @@ jobs:
392398
echo $! > /tmp/_install.pid
393399
cd ..
394400
sleep 5s
401+
php occ app_ecosystem_v2:daemon:register docker-install Docker unix-socket 0 0 \
402+
--net=host --host="127.0.0.1" --expose-to-host=true
395403
php occ app_ecosystem_v2:app:register $app_name $app_version "NcPyApi" \
396-
--host 127.0.0.1 --port 9002 \
404+
--daemon-config-id 1 \
405+
--port 9002 \
397406
--secret $app_secret \
398407
-e --force-scopes --system-app
399408
kill -15 $(cat /tmp/_install.pid)

Makefile

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,12 @@ start:
77
stop:
88
docker container stop to_gif
99

10+
register_app:
11+
nextcloud_url=http://nextcloud.local/index.php app_name=nc_py_api app_version=1.0.0 \
12+
app_secret=tC6vkwPhcppjMykD1r0n9NlI95uJMBYjs5blpIcA1PAdoPDmc5qoAjaBAkyocZ6E\
13+
X1T8Pi+T5papEolTLxz3fJSPS8ffC4204YmggxPsbJdCkXHWNPHKWS9B+vTj2SIV \
14+
python3 tests/_install.py
15+
1016
remove:
1117
docker rm to_gif
1218

0 commit comments

Comments
 (0)