2021-03-19 21:04:58 +01:00
|
|
|
;; Test complet
|
|
|
|
; Manifest
|
|
|
|
domain="domain.tld" (DOMAIN)
|
|
|
|
path="/path" (PATH)
|
|
|
|
admin="john" (USER)
|
|
|
|
language="fr"
|
|
|
|
is_public=1 (PUBLIC|public=1|private=0)
|
|
|
|
password="pass"
|
|
|
|
port="666" (PORT)
|
|
|
|
; Checks
|
|
|
|
pkg_linter=1
|
|
|
|
setup_sub_dir=1
|
|
|
|
setup_root=1
|
|
|
|
setup_nourl=0
|
|
|
|
setup_private=1
|
|
|
|
setup_public=1
|
|
|
|
upgrade=1
|
|
|
|
upgrade=1 from_commit=CommitHash
|
|
|
|
backup_restore=1
|
|
|
|
multi_instance=1
|
|
|
|
port_already_use=0
|
|
|
|
change_url=1
|
|
|
|
;;; Options
|
|
|
|
Email=
|
|
|
|
Notification=none
|
|
|
|
;;; Upgrade options
|
|
|
|
; commit=CommitHash
|
|
|
|
name=Name and date of the commit.
|
|
|
|
manifest_arg=domain=DOMAIN&path=PATH&admin=USER&language=fr&is_public=1&password=pass&port=666&
|
|
|
|
|
|
|
|
;; Default test serie
|
|
|
|
# Comment ignored
|
|
|
|
; pre-install
|
2021-04-13 09:26:56 +02:00
|
|
|
sudo yunohost app install my_webapp -a domain="domain.tld"&path="/site"&admin="john"&language=fr&is_public=1&password=pass&port=666
|
2021-03-19 21:04:58 +01:00
|
|
|
; Manifest
|
|
|
|
# You need to provide default values for installation parameters ...
|
|
|
|
# EXCEPT for special args: domain, path, admin, and is_public
|
|
|
|
# which will be filled automatically during tests
|
|
|
|
language="en"
|
|
|
|
password=""
|
|
|
|
port="666"
|
|
|
|
; Actions
|
|
|
|
action_argument=arg1|arg2
|
|
|
|
is_public=1|0
|
|
|
|
; Config_panel
|
|
|
|
main.categorie.config_example=arg1|arg2
|
|
|
|
main.overwrite_files.overwrite_phpfpm=1|0
|
|
|
|
main.php_fpm_config.footprint=low|medium|high|specific
|
|
|
|
main.php_fpm_config.free_footprint=20
|
|
|
|
main.php_fpm_config.usage=low|medium|high
|
|
|
|
; Checks
|
|
|
|
pkg_linter=1
|
|
|
|
setup_sub_dir=1
|
|
|
|
setup_root=1
|
|
|
|
setup_nourl=0
|
|
|
|
setup_private=1
|
|
|
|
upgrade=1
|
|
|
|
upgrade=1 from_commit=65c382d138596fcb32b4c97c39398815a1dcd4e8
|
|
|
|
backup_restore=1
|
|
|
|
multi_instance=1
|
|
|
|
port_already_use=1 (66)
|
|
|
|
change_url=0
|
|
|
|
actions=0
|
|
|
|
config_panel=0
|
|
|
|
;;; Upgrade options
|
|
|
|
; commit=65c382d138596fcb32b4c97c39398815a1dcd4e8
|
|
|
|
name=Name of this previous version
|
|
|
|
manifest_arg=domain=DOMAIN&path=PATH&admin=USER&password=pass&is_public=1&
|