From d0a7a9fc55691c233c95a986e1e4bd3a7adfb283 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?E=CC=81ric=20Gaspar?= <46165813+ericgaspar@users.noreply.github.com> Date: Wed, 12 Apr 2023 23:21:04 +0200 Subject: [PATCH] fix --- check_process | 26 -------------------------- manifest.json | 43 ------------------------------------------- manifest.toml | 1 - tests.toml | 14 ++++++++++++++ 4 files changed, 14 insertions(+), 70 deletions(-) delete mode 100644 check_process delete mode 100644 manifest.json create mode 100644 tests.toml diff --git a/check_process b/check_process deleted file mode 100644 index c9a9129..0000000 --- a/check_process +++ /dev/null @@ -1,26 +0,0 @@ -;; Test complet - ; Manifest - domain="domain.tld" - path="/" - is_public=1 - instance_country=France - instance_provider=OVH - ; Checks - pkg_linter=1 - setup_sub_dir=0 - setup_root=1 - setup_nourl=0 - setup_private=1 - setup_public=1 - upgrade=1 - #upgrade=1 from_commit=CommitHash - backup_restore=1 - multi_instance=1 - change_url=1 -;;; Options -Email= -Notification=none -;;; Upgrade options - ; commit=CommitHash - name=Name and date of the commit. - manifest_arg=domain=DOMAIN&path=PATH&is_public=1&language=fr&admin=USER&password=pass&port=666& diff --git a/manifest.json b/manifest.json deleted file mode 100644 index 2cf6c0b..0000000 --- a/manifest.json +++ /dev/null @@ -1,43 +0,0 @@ -{ - "name": "Librarian", - "id": "librarian", - "packaging_format": 1, - "description": { - "en": "Alternative frontend for LBRY/Odysee", - "fr": "Interface alternative pour LBRY/Odysee" - }, - "version": "2022.05.14~ynh1", - "url": "https://lbry.bcow.xyz/", - "upstream": { - "license": "AGPL-3.0-only", - "website": "https://lbry.bcow.xyz/", - "demo": "https://lbry.bcow.xyz/@RetroMusic:d/1987-Rick-Astley-Never-Gonna-Give-You-Up-1920x1080:f", - "admindoc": "https://codeberg.org/librarian/librarian/wiki", - "code": "https://codeberg.org/librarian/librarian" - }, - "license": "AGPL-3.0-only", - "maintainer": { - "name": "eric_G", - "email": "" - }, - "requirements": { - "yunohost": ">= 11.0.9" - }, - "multi_instance": true, - "services": [ - "nginx" - ], - "arguments": { - "install" : [ - { - "name": "domain", - "type": "domain" - }, - { - "name": "is_public", - "type": "boolean", - "default": true - } - ] - } -} diff --git a/manifest.toml b/manifest.toml index 9d5cd64..2076a39 100644 --- a/manifest.toml +++ b/manifest.toml @@ -56,4 +56,3 @@ ram.runtime = "50M" api.allowed="visitors" api.show_tile = false api.protected = true - diff --git a/tests.toml b/tests.toml new file mode 100644 index 0000000..34db3b4 --- /dev/null +++ b/tests.toml @@ -0,0 +1,14 @@ +test_format = 1.0 + +[default] + + # ------------------------------- + # Default args to use for install + # ------------------------------- + + args.instance_country = "France" + args.instance_provider = "OVH" + + # ------------------------------- + # Commits to test upgrade from + # -------------------------------