@@ -26,23 +26,22 @@ build-push:
2626 docker login ghcr.io
2727 docker buildx build --push --platform linux/arm64/v8,linux/amd64 --tag ghcr.io/cloud-py-api/upscaler_example:1.3.0 --tag ghcr.io/cloud-py-api/upscaler_example:latest .
2828
29- .PHONY : deploy
30- deploy :
31- docker exec master-nextcloud-1 sudo -u www-data php occ app_api:app:unregister upscaler_example --silent || true
32- docker exec master-nextcloud-1 sudo -u www-data php occ app_api:app:deploy upscaler_example docker_dev \
33- --info-xml https://raw.githubusercontent.com/cloud-py-api/upscaler_example/main/appinfo/info.xml
34-
3529.PHONY : deploy27
3630deploy27 :
3731 docker exec master-stable27-1 sudo -u www-data php occ app_api:app:unregister upscaler_example --silent || true
3832 docker exec master-stable27-1 sudo -u www-data php occ app_api:app:deploy upscaler_example docker_dev \
3933 --info-xml https://raw.githubusercontent.com/cloud-py-api/upscaler_example/main/appinfo/info.xml
4034
41- .PHONY : run
42- run :
35+ .PHONY : deploy28
36+ deploy28 :
37+ docker exec master-stable28-1 sudo -u www-data php occ app_api:app:unregister upscaler_example --silent || true
38+ docker exec master-stable28-1 sudo -u www-data php occ app_api:app:deploy upscaler_example docker_dev \
39+ --info-xml https://raw.githubusercontent.com/cloud-py-api/upscaler_example/main/appinfo/info.xml
40+
41+ .PHONY : deploy
42+ deploy :
4343 docker exec master-nextcloud-1 sudo -u www-data php occ app_api:app:unregister upscaler_example --silent || true
44- docker exec master-nextcloud-1 sudo -u www-data php occ app_api:app:register upscaler_example docker_dev \
45- --force-scopes \
44+ docker exec master-nextcloud-1 sudo -u www-data php occ app_api:app:deploy upscaler_example docker_dev \
4645 --info-xml https://raw.githubusercontent.com/cloud-py-api/upscaler_example/main/appinfo/info.xml
4746
4847.PHONY : run27
@@ -52,16 +51,37 @@ run27:
5251 --force-scopes \
5352 --info-xml https://raw.githubusercontent.com/cloud-py-api/upscaler_example/main/appinfo/info.xml
5453
55- .PHONY : register
56- register :
54+ .PHONY : run28
55+ run28 :
56+ docker exec master-stable28-1 sudo -u www-data php occ app_api:app:unregister upscaler_example --silent || true
57+ docker exec master-stable28-1 sudo -u www-data php occ app_api:app:register upscaler_example docker_dev \
58+ --force-scopes \
59+ --info-xml https://raw.githubusercontent.com/cloud-py-api/upscaler_example/main/appinfo/info.xml
60+
61+ .PHONY : run
62+ run :
5763 docker exec master-nextcloud-1 sudo -u www-data php occ app_api:app:unregister upscaler_example --silent || true
58- docker exec master-nextcloud-1 sudo -u www-data php occ app_api:app:register upscaler_example manual_install --json-info \
59- "{\"appid\" :\"upscaler_example\",\"name\":\"upscaler_example\",\"daemon_config_name\":\"manual_install\",\"version\":\"1.0.0\",\"secret\":\"12345\",\"host\":\"host.docker.internal\",\"port\":10050,\" scopes\":{\"required\":[\"FILES\", \"NOTIFICATIONS\"],\"optional\":[]},\"protocol\":\"http\",\"system_app\":0}" \
60- --force-scopes --wait-finish
64+ docker exec master-nextcloud-1 sudo -u www-data php occ app_api:app:register upscaler_example docker_dev \
65+ --force- scopes \
66+ --info-xml https://raw.githubusercontent.com/cloud-py-api/upscaler_example/main/appinfo/info.xml
6167
6268.PHONY : register27
6369register27 :
6470 docker exec master-stable27-1 sudo -u www-data php occ app_api:app:unregister upscaler_example --silent || true
6571 docker exec master-stable27-1 sudo -u www-data php occ app_api:app:register upscaler_example manual_install --json-info \
6672 "{\"appid\" :\"upscaler_example\",\"name\":\"upscaler_example\",\"daemon_config_name\":\"manual_install\",\"version\":\"1.0.0\",\"secret\":\"12345\",\"host\":\"host.docker.internal\",\"port\":10050,\"scopes\":{\"required\":[\"FILES\", \"NOTIFICATIONS\"],\"optional\":[]},\"protocol\":\"http\",\"system_app\":0}" \
6773 --force-scopes --wait-finish
74+
75+ .PHONY : register28
76+ register28 :
77+ docker exec master-stable28-1 sudo -u www-data php occ app_api:app:unregister upscaler_example --silent || true
78+ docker exec master-stable28-1 sudo -u www-data php occ app_api:app:register upscaler_example manual_install --json-info \
79+ "{\"appid\" :\"upscaler_example\",\"name\":\"upscaler_example\",\"daemon_config_name\":\"manual_install\",\"version\":\"1.0.0\",\"secret\":\"12345\",\"host\":\"host.docker.internal\",\"port\":10050,\"scopes\":{\"required\":[\"FILES\", \"NOTIFICATIONS\"],\"optional\":[]},\"protocol\":\"http\",\"system_app\":0}" \
80+ --force-scopes --wait-finish
81+
82+ .PHONY : register
83+ register :
84+ docker exec master-nextcloud-1 sudo -u www-data php occ app_api:app:unregister upscaler_example --silent || true
85+ docker exec master-nextcloud-1 sudo -u www-data php occ app_api:app:register upscaler_example manual_install --json-info \
86+ "{\"appid\" :\"upscaler_example\",\"name\":\"upscaler_example\",\"daemon_config_name\":\"manual_install\",\"version\":\"1.0.0\",\"secret\":\"12345\",\"host\":\"host.docker.internal\",\"port\":10050,\"scopes\":{\"required\":[\"FILES\", \"NOTIFICATIONS\"],\"optional\":[]},\"protocol\":\"http\",\"system_app\":0}" \
87+ --force-scopes --wait-finish
0 commit comments