1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/domoticz_ynh.git synced 2024-09-03 18:26:17 +02:00
domoticz_ynh/tests.toml

43 lines
1.3 KiB
TOML
Raw Normal View History

2023-02-27 23:24:05 +01:00
test_format = 1.0
2023-06-01 23:28:00 +02:00
#without Mosquitto
2023-02-27 23:24:05 +01:00
[default]
args.mqtt_domain="sub.domain.tld"
test_upgrade_from.27311ad.name = "2022.2"
2023-05-26 23:23:50 +02:00
test_upgrade_from.27311ad.args.mqtt_domain="sub.domain.tld"
2023-06-01 23:28:00 +02:00
# exclude = ["package_linter", "install.root", "install.subdir", "install.private", "install.multi", "backup_restore", "upgrade", "upgrade.27311ad", "change_url"]
#
2023-05-27 18:13:49 +02:00
[With_Mosquitto_upgrade_with_mosquitto]
preinstall = """
set -euxo pipefail
yunohost domain add mqtt.domain.tld
"""
2023-06-01 23:28:00 +02:00
2023-05-27 18:13:49 +02:00
args.mqtt_domain="mqtt.domain.tld"
exclude = ["package_linter"]
test_upgrade_from.27311ad.name = "2022.2 with mosquitto"
test_upgrade_from.27311ad.args.mqtt_domain="mqtt.domain.tld"
2023-06-01 23:28:00 +02:00
[Without_Mosquitto_upgrade_with_mosquitto]
2023-05-27 18:13:49 +02:00
preinstall = """
set -euxo pipefail
yunohost domain add mqtt.domain.tld
"""
preupgrade = """
set -euxo pipefail
yunohost app setting domoticz mqtt_domain -v mqtt.domain.tld
"""
2023-06-01 23:28:00 +02:00
args.mqtt_domain="sub.domain.tld"
only = ["upgrade","upgrade.27311ad", "change_url"]
# exclude = ["package_linter", "install.root", "install.subdir", "install.private", "install.multi", "backup_restore", "change_url"]
2023-05-27 18:13:49 +02:00
test_upgrade_from.27311ad.name = "2022.2 without mosquitto"
test_upgrade_from.27311ad.args.mqtt_domain="sub.domain.tld"