test_format = 1.0 #without Mosquitto [default] #Adding domain even if not used : snapshot are reused and may require domain to work preinstall = """ set -euxo pipefail yunohost domain add mqtt.domain.tld """ preupgrade = """ set -euxo pipefail yunohost app setting domoticz mqtt_domain -v sub.domain.tld """ args.mqtt_domain="sub.domain.tld" test_upgrade_from.a96510c.name = "2024.2" test_upgrade_from.a96510c.args.mqtt_domain="sub.domain.tld" test_upgrade_from.a96510c.args.domain="sub.domain.tld" test_upgrade_from.a96510c.args.path="/domoticz" # exclude = ["package_linter", "install.root", "install.subdir", "install.private", "install.multi", "backup_restore", "upgrade", "upgrade.a96510c", "change_url"] [With_Mosquitto_upgrade_with_mosquitto] preinstall = """ set -euxo pipefail yunohost domain add mqtt.domain.tld """ args.mqtt_domain="mqtt.domain.tld" exclude = ["package_linter"] test_upgrade_from.a96510c.name = "2024.2 with mosquitto" test_upgrade_from.a96510c.args.mqtt_domain="mqtt.domain.tld" test_upgrade_from.a96510c.args.domain="sub.domain.tld" test_upgrade_from.a96510c.args.path="/domoticz" [Without_Mosquitto_upgrade_with_mosquitto] preinstall = """ set -euxo pipefail yunohost domain add mqtt.domain.tld """ preupgrade = """ set -euxo pipefail yunohost app setting domoticz mqtt_domain -v mqtt.domain.tld """ args.mqtt_domain="sub.domain.tld" only = ["upgrade","upgrade.a96510c"] # exclude = ["package_linter", "install.root", "install.subdir", "install.private", "install.multi", "backup_restore", "change_url"] test_upgrade_from.a96510c.name = "2024.2 without mosquitto" test_upgrade_from.a96510c.args.mqtt_domain="sub.domain.tld" test_upgrade_from.a96510c.args.domain="sub.domain.tld" test_upgrade_from.a96510c.args.path="/domoticz"