2023-12-30 19:24:43 +01:00
|
|
|
test_format = 1.0
|
|
|
|
|
|
|
|
[default]
|
|
|
|
|
2024-01-15 08:53:32 +01:00
|
|
|
# ------------
|
|
|
|
# Tests to run
|
|
|
|
# ------------
|
2023-12-30 19:24:43 +01:00
|
|
|
|
2024-01-15 08:53:32 +01:00
|
|
|
# For special usecases, sometimes you need to setup other things on the machine
|
|
|
|
# prior to installing the app (such as installing another app)
|
|
|
|
# (Remove this key entirely if not needed)
|
|
|
|
preinstall = """
|
|
|
|
sudo yunohost tools update apps
|
|
|
|
sudo yunohost app install https://github.com/YunoHost-Apps/synapse_ynh/ -a "domain=$domain&server_name=$server_name&is_free_registration=$is_free_registration&jitsi_server=$jitsi_server" --force
|
|
|
|
"""
|
2023-12-30 19:24:43 +01:00
|
|
|
|
2024-01-15 08:53:32 +01:00
|
|
|
# -------------------------------
|
|
|
|
# Default args to use for install
|
|
|
|
# -------------------------------
|
2023-12-30 19:24:43 +01:00
|
|
|
|
2024-01-15 08:53:32 +01:00
|
|
|
# By default, the CI will automagically fill the 'standard' args
|
|
|
|
# such as domain, path, admin, is_public and password with relevant values
|
|
|
|
# and also install args with a "default" provided in the manifest..
|
|
|
|
# It should only make sense to declare custom args here for args with no default values
|
2023-12-30 19:24:43 +01:00
|
|
|
|
2024-01-15 08:53:32 +01:00
|
|
|
args.botadmin = "@johndoe:server.name"
|
|
|
|
args.botusers = "server.name"
|
2023-12-30 19:24:43 +01:00
|
|
|
|
2024-01-15 08:53:32 +01:00
|
|
|
# -------------------------------
|
|
|
|
# Commits to test upgrade from
|
|
|
|
# -------------------------------
|
2023-12-30 19:24:43 +01:00
|
|
|
|
2024-01-15 08:53:32 +01:00
|
|
|
# This is an additional test suite
|
|
|
|
[multiple_botusers]
|
2023-12-30 19:24:43 +01:00
|
|
|
|
2024-01-15 08:53:32 +01:00
|
|
|
preinstall = """
|
|
|
|
sudo yunohost tools update apps
|
|
|
|
sudo yunohost app install https://github.com/YunoHost-Apps/synapse_ynh/ -a "domain=$domain&server_name=$server_name&is_free_registration=$is_free_registration&jitsi_server=$jitsi_server" --force
|
|
|
|
"""
|
2023-12-30 19:24:43 +01:00
|
|
|
|
2024-01-15 08:53:32 +01:00
|
|
|
# On additional tests suites, you can decide to run only specific tests
|
2023-12-30 19:24:43 +01:00
|
|
|
|
2024-01-15 08:53:32 +01:00
|
|
|
only = ["install.subdir"]
|
2023-12-30 19:24:43 +01:00
|
|
|
|
2024-01-15 08:53:32 +01:00
|
|
|
args.botadmin = "@johndoe:server.name"
|
|
|
|
args.botusers = "@john:server.name,@jdoe:server.name,@janedoe:server.name"
|