1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/redirect_ynh.git synced 2024-09-03 20:16:10 +02:00

Add toml schemas urls, tests.toml reformatting

This commit is contained in:
Félix Piédallu 2023-12-12 17:06:16 +01:00 committed by Alexandre Aubin
parent 1fcd6721ca
commit b7a72ef229
2 changed files with 14 additions and 8 deletions

View file

@ -1,3 +1,5 @@
#:schema https://raw.githubusercontent.com/YunoHost/apps/master/schemas/manifest.v2.schema.json
packaging_format = 2
id = "redirect"

View file

@ -1,3 +1,5 @@
#:schema https://raw.githubusercontent.com/YunoHost/apps/master/schemas/tests.v1.schema.json
test_format = 1.0
[default]
@ -5,10 +7,11 @@ test_format = 1.0
args.redirect_type = "redirect"
args.target = "http://127.0.0.1"
test_upgrade_from.09cf1c6b.name = "v1 era"
test_upgrade_from.09cf1c6b.args.domain = "domain.tld"
test_upgrade_from.09cf1c6b.args.redirect_type = "visible_302"
test_upgrade_from.09cf1c6b.args.redirect_path = "http://127.0.0.1"
[default.test_upgrade_from.09cf1c6b]
name = "v1 era"
args.domain = "domain.tld"
args.redirect_type = "visible_302"
args.redirect_path = "http://127.0.0.1"
[reverseproxy]
@ -18,7 +21,8 @@ test_format = 1.0
exclude = ["install.private", "install.multi", "backup_restore"]
test_upgrade_from.09cf1c6b.name = "v1 era"
test_upgrade_from.09cf1c6b.args.domain = "domain.tld"
test_upgrade_from.09cf1c6b.args.redirect_type = "proxy"
test_upgrade_from.09cf1c6b.args.redirect_path = "http://127.0.0.1"
[reverseproxy.test_upgrade_from.09cf1c6b]
name = "v1 era"
args.domain = "domain.tld"
args.redirect_type = "proxy"
args.redirect_path = "http://127.0.0.1"