mirror of
https://github.com/YunoHost-Apps/domoticz_ynh.git
synced 2024-09-03 18:26:17 +02:00
check w/ & w/o mosquitto
This commit is contained in:
parent
67b73a88a3
commit
a83dc6273c
1 changed files with 9 additions and 9 deletions
16
tests.toml
16
tests.toml
|
@ -1,21 +1,19 @@
|
||||||
test_format = 1.0
|
test_format = 1.0
|
||||||
|
|
||||||
|
#without Mosquitto
|
||||||
[default]
|
[default]
|
||||||
|
|
||||||
args.mqtt_domain="sub.domain.tld"
|
args.mqtt_domain="sub.domain.tld"
|
||||||
test_upgrade_from.27311ad.name = "2022.2"
|
test_upgrade_from.27311ad.name = "2022.2"
|
||||||
test_upgrade_from.27311ad.args.mqtt_domain="sub.domain.tld"
|
test_upgrade_from.27311ad.args.mqtt_domain="sub.domain.tld"
|
||||||
|
|
||||||
|
# exclude = ["package_linter", "install.root", "install.subdir", "install.private", "install.multi", "backup_restore", "upgrade", "upgrade.27311ad", "change_url"]
|
||||||
|
#
|
||||||
[With_Mosquitto_upgrade_with_mosquitto]
|
[With_Mosquitto_upgrade_with_mosquitto]
|
||||||
preinstall = """
|
preinstall = """
|
||||||
set -euxo pipefail
|
set -euxo pipefail
|
||||||
yunohost domain add mqtt.domain.tld
|
yunohost domain add mqtt.domain.tld
|
||||||
"""
|
"""
|
||||||
preupgrade = """
|
|
||||||
set -euxo pipefail
|
|
||||||
yunohost app setting domoticz mqtt_domain -v mqtt.domain.tld
|
|
||||||
"""
|
|
||||||
|
|
||||||
args.mqtt_domain="mqtt.domain.tld"
|
args.mqtt_domain="mqtt.domain.tld"
|
||||||
|
|
||||||
|
@ -25,7 +23,7 @@ test_format = 1.0
|
||||||
test_upgrade_from.27311ad.args.mqtt_domain="mqtt.domain.tld"
|
test_upgrade_from.27311ad.args.mqtt_domain="mqtt.domain.tld"
|
||||||
|
|
||||||
|
|
||||||
[With_Mosquitto_upgrade_without_mosquitto]
|
[Without_Mosquitto_upgrade_with_mosquitto]
|
||||||
preinstall = """
|
preinstall = """
|
||||||
set -euxo pipefail
|
set -euxo pipefail
|
||||||
yunohost domain add mqtt.domain.tld
|
yunohost domain add mqtt.domain.tld
|
||||||
|
@ -35,9 +33,11 @@ test_format = 1.0
|
||||||
set -euxo pipefail
|
set -euxo pipefail
|
||||||
yunohost app setting domoticz mqtt_domain -v mqtt.domain.tld
|
yunohost app setting domoticz mqtt_domain -v mqtt.domain.tld
|
||||||
"""
|
"""
|
||||||
args.mqtt_domain="mqtt.domain.tld"
|
|
||||||
|
|
||||||
exclude = ["package_linter", "install.private", "install.multi", "backup_restore", "change_url"]
|
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"]
|
||||||
|
|
||||||
test_upgrade_from.27311ad.name = "2022.2 without mosquitto"
|
test_upgrade_from.27311ad.name = "2022.2 without mosquitto"
|
||||||
test_upgrade_from.27311ad.args.mqtt_domain="sub.domain.tld"
|
test_upgrade_from.27311ad.args.mqtt_domain="sub.domain.tld"
|
Loading…
Add table
Reference in a new issue