mirror of
https://github.com/YunoHost-Apps/yunorunner_ynh.git
synced 2024-09-03 20:36:13 +02:00
commit
67797aa5fb
9 changed files with 25 additions and 25 deletions
|
@ -17,13 +17,13 @@ If you don't have YunoHost, please consult [the guide](https://yunohost.org/#/in
|
||||||
|
|
||||||
CI runner of YunoHost
|
CI runner of YunoHost
|
||||||
|
|
||||||
**Shipped version:** 2021-09-22~ynh2
|
**Shipped version:** 2021.09.22~ynh3
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
## Screenshots
|
## Screenshots
|
||||||
|
|
||||||
![](./doc/screenshots/screenshot1.png)
|
![](./doc/screenshots/screenshot.png)
|
||||||
|
|
||||||
## Disclaimers / important information
|
## Disclaimers / important information
|
||||||
|
|
||||||
|
|
|
@ -13,13 +13,13 @@ Si vous n'avez pas YunoHost, regardez [ici](https://yunohost.org/#/install) pour
|
||||||
|
|
||||||
Runner d'intégration continue de YunoHost
|
Runner d'intégration continue de YunoHost
|
||||||
|
|
||||||
**Version incluse :** 2021-09-22~ynh2
|
**Version incluse :** 2021.09.22~ynh3
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
## Captures d'écran
|
## Captures d'écran
|
||||||
|
|
||||||
![](./doc/screenshots/screenshot1.png)
|
![](./doc/screenshots/screenshot.png)
|
||||||
|
|
||||||
## Avertissements / informations importantes
|
## Avertissements / informations importantes
|
||||||
|
|
||||||
|
|
|
@ -12,10 +12,6 @@
|
||||||
setup_private=0
|
setup_private=0
|
||||||
setup_public=1
|
setup_public=1
|
||||||
upgrade=1
|
upgrade=1
|
||||||
# 03 Sep 2018
|
|
||||||
# upgrade=1 from_commit=04cb5f0ec18def9d50fa861c16d491275843b9e7
|
|
||||||
# 041120
|
|
||||||
# upgrade=1 from_commit=7b3acfc9b28b6ed33a1590ae16261d7dd3b5b06a
|
|
||||||
# 2021-03-05~ynh1
|
# 2021-03-05~ynh1
|
||||||
upgrade=1 from_commit=f0e9373aa2403bf04f84c67646ac5d34376b7959
|
upgrade=1 from_commit=f0e9373aa2403bf04f84c67646ac5d34376b7959
|
||||||
# 2021-09-22~ynh1
|
# 2021-09-22~ynh1
|
||||||
|
@ -28,11 +24,6 @@
|
||||||
Email=
|
Email=
|
||||||
Notification=down
|
Notification=down
|
||||||
;;; Upgrade options
|
;;; Upgrade options
|
||||||
; commit=04cb5f0ec18def9d50fa861c16d491275843b9e7
|
|
||||||
name=03 Sep 2018 04cb5f0ec18def9d50fa861c16d491275843b9e7
|
|
||||||
manifest_arg=domain=DOMAIN&path=PATH&
|
|
||||||
; commit=7b3acfc9b28b6ed33a1590ae16261d7dd3b5b06a
|
|
||||||
name=041120
|
|
||||||
; commit=f0e9373aa2403bf04f84c67646ac5d34376b7959
|
; commit=f0e9373aa2403bf04f84c67646ac5d34376b7959
|
||||||
name=2021-03-05~ynh1
|
name=2021-03-05~ynh1
|
||||||
; commit=fea498cd83a7da12a102efe2f47397dace3cddda
|
; commit=fea498cd83a7da12a102efe2f47397dace3cddda
|
||||||
|
|
|
@ -1,10 +1,6 @@
|
||||||
#sub_path_only rewrite ^__PATH__$ __PATH__/ permanent;
|
#sub_path_only rewrite ^__PATH__$ __PATH__/ permanent;
|
||||||
location __PATH__/ {
|
location __PATH__/ {
|
||||||
|
|
||||||
if ($scheme = http) {
|
|
||||||
rewrite ^ https://$server_name$request_uri? permanent;
|
|
||||||
}
|
|
||||||
|
|
||||||
proxy_pass http://127.0.0.1:__PORT__/;
|
proxy_pass http://127.0.0.1:__PORT__/;
|
||||||
|
|
||||||
proxy_http_version 1.1;
|
proxy_http_version 1.1;
|
||||||
|
|
|
@ -10,5 +10,22 @@ Group=__APP__
|
||||||
WorkingDirectory=__FINALPATH__/
|
WorkingDirectory=__FINALPATH__/
|
||||||
ExecStart=__FINALPATH__/venv/bin/python ./run.py
|
ExecStart=__FINALPATH__/venv/bin/python ./run.py
|
||||||
|
|
||||||
|
# Sandboxing options to harden security
|
||||||
|
# Details for these options: https://www.freedesktop.org/software/systemd/man/systemd.exec.html
|
||||||
|
DevicePolicy=closed
|
||||||
|
ProtectSystem=full
|
||||||
|
ProtectControlGroups=yes
|
||||||
|
|
||||||
|
# Denying access to capabilities that should not be relevant for webapps
|
||||||
|
# Doc: https://man7.org/linux/man-pages/man7/capabilities.7.html
|
||||||
|
CapabilityBoundingSet=~CAP_RAWIO CAP_MKNOD
|
||||||
|
CapabilityBoundingSet=~CAP_AUDIT_CONTROL CAP_AUDIT_READ CAP_AUDIT_WRITE
|
||||||
|
CapabilityBoundingSet=~CAP_SYS_BOOT CAP_SYS_TIME CAP_SYS_MODULE CAP_SYS_PACCT
|
||||||
|
CapabilityBoundingSet=~CAP_LEASE CAP_LINUX_IMMUTABLE CAP_IPC_LOCK
|
||||||
|
CapabilityBoundingSet=~CAP_BLOCK_SUSPEND CAP_WAKE_ALARM
|
||||||
|
CapabilityBoundingSet=~CAP_SYS_TTY_CONFIG
|
||||||
|
CapabilityBoundingSet=~CAP_MAC_ADMIN CAP_MAC_OVERRIDE
|
||||||
|
CapabilityBoundingSet=~CAP_SYS_ADMIN CAP_SYS_PTRACE CAP_SYSLOG
|
||||||
|
|
||||||
[Install]
|
[Install]
|
||||||
WantedBy=multi-user.target
|
WantedBy=multi-user.target
|
||||||
|
|
BIN
doc/screenshots/screenshot.png
Normal file
BIN
doc/screenshots/screenshot.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 154 KiB |
Binary file not shown.
Before Width: | Height: | Size: 7.9 KiB |
|
@ -6,7 +6,7 @@
|
||||||
"en": "CI runner of YunoHost",
|
"en": "CI runner of YunoHost",
|
||||||
"fr": "Runner d'intégration continue de YunoHost"
|
"fr": "Runner d'intégration continue de YunoHost"
|
||||||
},
|
},
|
||||||
"version": "2021-09-22~ynh2",
|
"version": "2021.09.22~ynh3",
|
||||||
"url": "https://github.com/YunoHost/yunorunner",
|
"url": "https://github.com/YunoHost/yunorunner",
|
||||||
"upstream": {
|
"upstream": {
|
||||||
"license": "GPL-3.0-or-later",
|
"license": "GPL-3.0-or-later",
|
||||||
|
@ -21,7 +21,7 @@
|
||||||
"email": "maniackc_dev@crudelis.fr"
|
"email": "maniackc_dev@crudelis.fr"
|
||||||
},
|
},
|
||||||
"requirements": {
|
"requirements": {
|
||||||
"yunohost": ">= 4.1.3"
|
"yunohost": ">= 4.3.0"
|
||||||
},
|
},
|
||||||
"multi_instance": true,
|
"multi_instance": true,
|
||||||
"services": [
|
"services": [
|
||||||
|
@ -31,8 +31,7 @@
|
||||||
"install" : [
|
"install" : [
|
||||||
{
|
{
|
||||||
"name": "domain",
|
"name": "domain",
|
||||||
"type": "domain",
|
"type": "domain"
|
||||||
"example": "example.com"
|
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"name": "path",
|
"name": "path",
|
||||||
|
|
|
@ -36,10 +36,7 @@ final_path=$(ynh_app_setting_get --app=$app --key=final_path)
|
||||||
#=================================================
|
#=================================================
|
||||||
ynh_script_progression --message="Validating restoration parameters..."
|
ynh_script_progression --message="Validating restoration parameters..."
|
||||||
|
|
||||||
ynh_webpath_available --domain=$domain --path_url=$path_url \
|
test ! -d $final_path || ynh_die --message="There is already a directory: $final_path "
|
||||||
|| ynh_die --message="Path not available: ${domain}${path_url}"
|
|
||||||
test ! -d $final_path \
|
|
||||||
|| ynh_die --message="There is already a directory: $final_path "
|
|
||||||
|
|
||||||
#=================================================
|
#=================================================
|
||||||
# ACTIVATE MAINTENANCE MODE
|
# ACTIVATE MAINTENANCE MODE
|
||||||
|
|
Loading…
Reference in a new issue