Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
15 changes: 12 additions & 3 deletions .github/workflows/analysis-coverage.yml
Original file line number Diff line number Diff line change
Expand Up @@ -134,8 +134,11 @@ jobs:
echo $! > /tmp/_install.pid
cd ..
sleep 5s
php occ app_ecosystem_v2:daemon:register docker-install Docker unix-socket 0 0 \
--net=host --host="127.0.0.1" --expose-to-host=true
php occ app_ecosystem_v2:app:register $app_name $app_version "NcPyApi" \
--host 127.0.0.1 --port 9002 \
--daemon-config-id 1 \
--port 9002 \
--secret $app_secret \
-e --force-scopes --system-app
kill -15 $(cat /tmp/_install.pid)
Expand Down Expand Up @@ -266,8 +269,11 @@ jobs:
echo $! > /tmp/_install.pid
cd ..
sleep 5s
php occ app_ecosystem_v2:daemon:register docker-install Docker unix-socket 0 0 \
--net=host --host="127.0.0.1" --expose-to-host=true
php occ app_ecosystem_v2:app:register $app_name $app_version "NcPyApi" \
--host 127.0.0.1 --port 9002 \
--daemon-config-id 1 \
--port 9002 \
--secret $app_secret \
-e --force-scopes --system-app
kill -15 $(cat /tmp/_install.pid)
Expand Down Expand Up @@ -392,8 +398,11 @@ jobs:
echo $! > /tmp/_install.pid
cd ..
sleep 5s
php occ app_ecosystem_v2:daemon:register docker-install Docker unix-socket 0 0 \
--net=host --host="127.0.0.1" --expose-to-host=true
php occ app_ecosystem_v2:app:register $app_name $app_version "NcPyApi" \
--host 127.0.0.1 --port 9002 \
--daemon-config-id 1 \
--port 9002 \
--secret $app_secret \
-e --force-scopes --system-app
kill -15 $(cat /tmp/_install.pid)
Expand Down
6 changes: 6 additions & 0 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,12 @@ start:
stop:
docker container stop to_gif

register_app:
nextcloud_url=http://nextcloud.local/index.php app_name=nc_py_api app_version=1.0.0 \
app_secret=tC6vkwPhcppjMykD1r0n9NlI95uJMBYjs5blpIcA1PAdoPDmc5qoAjaBAkyocZ6E\
X1T8Pi+T5papEolTLxz3fJSPS8ffC4204YmggxPsbJdCkXHWNPHKWS9B+vTj2SIV \
python3 tests/_install.py

remove:
docker rm to_gif

Expand Down