1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/monitorix_ynh.git synced 2024-09-03 19:46:06 +02:00

Add tests.toml, fix deb no extract

This commit is contained in:
Salamandar 2023-12-09 10:11:29 +01:00 committed by Salamandar
parent 9204e196c2
commit 2f2e780a41
3 changed files with 12 additions and 29 deletions

View file

@ -1,28 +0,0 @@
;; General
auto_remove=1
# Commentaire ignoré
; Manifest
domain="domain.tld" (DOMAIN)
path="/path" (PATH)
; Checks
pkg_linter=1
setup_sub_dir=1
setup_root=1
setup_nourl=0
setup_private=0
setup_public=0
upgrade=1
upgrade=1 from_commit=c09953008a913b5e1d46be561a10a746eab6d23e
backup_restore=1
multi_instance=0
wrong_user=0
wrong_path=1
incorrect_path=1
corrupt_source=1
fail_download_source=1
port_already_use=1 (8080)
final_path_already_use=1
change_url=1
;;; Upgrade options
; commit=c09953008a913b5e1d46be561a10a746eab6d23e
name=Version 3.12

View file

@ -43,8 +43,9 @@ ram.runtime = "50M"
[resources.sources.main]
url = "https://www.monitorix.org/monitorix_3.15.0-izzy1_all.deb"
sha256 = "0d960b9433ecbaba38d9befe27163644886fb5a466d44f5380576ca975b9d8e4"
format = "whatever"
rename = "monitorix.deb"
format = "whatever"
extract = false
[resources.system_user]

10
tests.toml Normal file
View file

@ -0,0 +1,10 @@
#:schema https://raw.githubusercontent.com/YunoHost/apps/master/schemas/tests.v1.schema.json
test_format = 1.0
[default]
exclude = []
[default.test_upgrade_from.c09953008a913b5e1d46be561a10a746eab6d23e]
name = "v3.12"