1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/element_ynh.git synced 2024-09-03 18:36:08 +02:00
This commit is contained in:
Éric Gaspar 2023-02-03 09:39:39 +01:00
parent 01d0582b67
commit 1fffe6052e
4 changed files with 19 additions and 31 deletions

View file

@ -1,24 +0,0 @@
;; Test complet
; Manifest
domain="domain.tld"
path="/path"
default_home_server="matrix.org"
is_public=1
; 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=34d457d13e526997fddb8348650674a7db2247be
backup_restore=1
multi_instance=1
change_url=1
;;; Upgrade options
; commit=Sep 13, 2021
name=34d457d13e526997fddb8348650674a7db2247be
manifest_arg=domain=DOMAIN&path=PATH&admin=USER&language=fr&is_public=1&password=pass&port=666&

View file

@ -26,8 +26,8 @@ ynh_script_progression --message="Restoring the app main directory..." --weight=
ynh_restore_file --origin_path="$install_dir"
chmod -R o-rwx "$install_dir"
chown -R $app:www-data "$install_dir"
#chmod -R o-rwx "$install_dir"
#chown -R $app:www-data "$install_dir"
#=================================================
# GENERIC FINALIZATION

View file

@ -58,8 +58,8 @@ ynh_script_progression --message="Adding a configuration file..." --weight=1
ynh_add_config --template="../conf/config.json" --destination="$install_dir/config.json"
chmod -R o-rwx "$install_dir"
chown -R $app:www-data "$install_dir"
#chmod -R o-rwx "$install_dir"
#chown -R $app:www-data "$install_dir"
#=================================================
# NGINX CONFIGURATION

View file

@ -2,8 +2,20 @@ test_format = 1.0
[default]
exclude = [
"install.nourl"
]
# ------------
# Tests to run
# ------------
exclude ="install.nourl"
# -------------------------------
# Default args to use for install
# -------------------------------
default_home_server="matrix.org"
# -------------------------------
# Commits to test upgrade from
# -------------------------------
test_upgrade_from.d653976.name = "Upgrade from 23.01"