mautrix_telegram_ynh/check_process
Benedikt Tissot 7f38927683 add test for upgrading from 0.10.1~ynh3
since newer versions introduce a new option it makes sense to test the
legacy upgrade path
2021-09-17 17:55:34 +02:00

30 lines
890 B
Text

;; Default test serie
; pre-install
sudo yunohost tools update
sudo yunohost app list | grep synapse || sudo yunohost app install https://github.com/YunoHost-Apps/synapse_ynh/ -a "domain=$domain&server_name=$server_name&is_public=$is_public&jitsi_server=$jitsi_server" --force
; Manifest
port="29317"
synapsenumber="1"
botname="telegrambot"
encryption=false
botadmin="@johndoe:synapsedomain.tld"
botusers="@johndoe:synapsedomain.tld"
apiid="1234567"
apihash="tjyd5yge35lbodl1jwzw2jstp90k55qz"
bottoken="disabled"
; Checks
pkg_linter=1
setup_sub_dir=0
setup_root=0
setup_nourl=1
setup_private=0
setup_public=0
upgrade=1
upgrade=1 from_commit=78e25377746ff6a488614c6ea00b8ce7c7e6d88a
backup_restore=1
multi_instance=1
port_already_use=1
change_url=0
;;; Upgrade options
; commit=78e25377746ff6a488614c6ea00b8ce7c7e6d88a
name=0.10.1~ynh3