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]
|
2024-01-21 12:54:09 +01:00
|
|
|
#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
|
|
|
|
"""
|
2023-02-27 23:24:05 +01:00
|
|
|
|
2024-01-21 18:21:40 +01:00
|
|
|
preupgrade = """
|
|
|
|
set -euxo pipefail
|
|
|
|
yunohost app setting domoticz mqtt_domain -v sub.domain.tld
|
|
|
|
"""
|
|
|
|
|
2023-02-27 23:24:05 +01:00
|
|
|
args.mqtt_domain="sub.domain.tld"
|
2024-01-25 23:11:51 +01:00
|
|
|
|
2024-01-25 22:25:44 +01:00
|
|
|
test_upgrade_from.a96510c.name = "last packaging V1"
|
2024-01-20 17:48:29 +01:00
|
|
|
test_upgrade_from.a96510c.args.mqtt_domain="sub.domain.tld"
|
2024-01-21 11:19:52 +01:00
|
|
|
test_upgrade_from.a96510c.args.domain="sub.domain.tld"
|
|
|
|
test_upgrade_from.a96510c.args.path="/domoticz"
|
2024-01-25 22:25:44 +01:00
|
|
|
|
|
|
|
test_upgrade_from.f8dbadb.name = "2024.2 packagingv2"
|
|
|
|
test_upgrade_from.f8dbadb.args.mqtt_domain="sub.domain.tld"
|
|
|
|
test_upgrade_from.f8dbadb.args.domain="sub.domain.tld"
|
|
|
|
test_upgrade_from.f8dbadb.args.path="/domoticz"
|
2023-06-01 23:34:30 +02:00
|
|
|
|
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"]
|
2023-06-01 23:34:30 +02:00
|
|
|
|
2024-01-25 22:25:44 +01:00
|
|
|
test_upgrade_from.a96510c.name = "last packaging v1 with mosquitto"
|
2024-01-20 17:48:29 +01:00
|
|
|
test_upgrade_from.a96510c.args.mqtt_domain="mqtt.domain.tld"
|
2024-01-21 11:19:52 +01:00
|
|
|
test_upgrade_from.a96510c.args.domain="sub.domain.tld"
|
|
|
|
test_upgrade_from.a96510c.args.path="/domoticz"
|
2023-05-27 18:13:49 +02:00
|
|
|
|
2024-01-25 22:25:44 +01:00
|
|
|
test_upgrade_from.f8dbadb.name = "2024.2 packagingv2 with mosquitto"
|
|
|
|
test_upgrade_from.f8dbadb.args.mqtt_domain="mqtt.domain.tld"
|
|
|
|
test_upgrade_from.f8dbadb.args.domain="sub.domain.tld"
|
|
|
|
test_upgrade_from.f8dbadb.args.path="/domoticz"
|
|
|
|
|
2023-06-01 23:28:00 +02:00
|
|
|
[Without_Mosquitto_upgrade_with_mosquitto]
|
2024-01-21 11:19:52 +01:00
|
|
|
preinstall = """
|
2023-05-27 18:13:49 +02:00
|
|
|
set -euxo pipefail
|
2023-06-01 23:34:30 +02:00
|
|
|
yunohost domain add mqtt.domain.tld
|
2024-01-21 11:19:52 +01:00
|
|
|
"""
|
|
|
|
|
|
|
|
preupgrade = """
|
|
|
|
set -euxo pipefail
|
2023-05-27 18:13:49 +02:00
|
|
|
yunohost app setting domoticz mqtt_domain -v mqtt.domain.tld
|
|
|
|
"""
|
|
|
|
|
2023-06-01 23:28:00 +02:00
|
|
|
args.mqtt_domain="sub.domain.tld"
|
2024-01-20 21:08:33 +01:00
|
|
|
only = ["upgrade","upgrade.a96510c"]
|
2023-06-01 23:28:00 +02:00
|
|
|
|
2024-01-25 22:25:44 +01:00
|
|
|
test_upgrade_from.a96510c.name = "last packaging v1 without mosquitto"
|
2024-01-21 11:19:52 +01:00
|
|
|
test_upgrade_from.a96510c.args.mqtt_domain="sub.domain.tld"
|
|
|
|
test_upgrade_from.a96510c.args.domain="sub.domain.tld"
|
2024-01-25 22:25:44 +01:00
|
|
|
test_upgrade_from.a96510c.args.path="/domoticz"
|
|
|
|
|
|
|
|
test_upgrade_from.f8dbadb.name = "2024.2 packagingv2 without mosquitto"
|
|
|
|
test_upgrade_from.f8dbadb.args.mqtt_domain="sub.domain.tld"
|
|
|
|
test_upgrade_from.f8dbadb.args.domain="sub.domain.tld"
|
|
|
|
test_upgrade_from.f8dbadb.args.path="/domoticz"
|
|
|
|
|