mirror of
https://github.com/YunoHost-Apps/mautrix_telegram_ynh.git
synced 2024-09-03 19:45:55 +02:00
7f38927683
since newer versions introduce a new option it makes sense to test the legacy upgrade path
30 lines
890 B
Text
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
|