diff --git a/check_process b/check_process deleted file mode 100644 index f3b1686..0000000 --- a/check_process +++ /dev/null @@ -1,24 +0,0 @@ -;; Test complet - ; Manifest - domain="domain.tld" - path="/" - is_public=1 - ; 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=f883227999b72a9107acf7d353ccb90d2cd791f3 - backup_restore=1 - multi_instance=1 - change_url=1 -;;; Options -Email= -Notification=none -;;; Upgrade options - ; commit=f883227999b72a9107acf7d353ccb90d2cd791f3 - name=Merge pull request #1 from YunoHost-Apps/testing - 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 2feb6ec..0000000 --- a/manifest.json +++ /dev/null @@ -1,48 +0,0 @@ -{ - "name": "2FAuth", - "id": "2fauth", - "packaging_format": 1, - "description": { - "en": "self-hosted alternative to One Time Passcode", - "fr": "Alternative auto-hébergée a One Time Passcode" - }, - "version": "3.4.2~ynh1", - "url": "https://github.com/Bubka/2FAuth", - "upstream": { - "license": "AGPL-3.0", - "demo": "https://demo.2fauth.app/login", - "admindoc": "https://docs.2fauth.app/", - "code": "https://github.com/Bubka/2FAuth" - }, - "license": "AGPL-3.0", - "maintainer": { - "name": "eric_G", - "email": "" - }, - "requirements": { - "yunohost": ">= 11.0.9" - }, - "multi_instance": true, - "services": [ - "nginx", - "php8.1-fpm", - "mysql" - ], - "arguments": { - "install": [ - { - "name": "domain", - "type": "domain" - }, - { - "name": "admin", - "type": "user" - }, - { - "name": "is_public", - "type": "boolean", - "default": true - } - ] - } -} diff --git a/manifest.toml b/manifest.toml index 5302f2d..25da443 100644 --- a/manifest.toml +++ b/manifest.toml @@ -20,8 +20,8 @@ website = "https://github.com/Bubka/2FAuth" yunohost = ">= 11.1.7" architectures = "all" multi_instance = true -ldap = "?" -sso = "?" +ldap = false +sso = false disk = "50M" ram.build = "50M" ram.runtime = "50M" @@ -46,5 +46,8 @@ ram.runtime = "50M" [resources.permissions] main.url = "/" + [resources.apt] + packages = "php8.1-bcmath php8.1-xml php8.1-mbstring php8.1-gd php8.1-mysql" + [resources.database] type = "mysql" diff --git a/scripts/_common.sh b/scripts/_common.sh index 6d63fae..1ee136b 100644 --- a/scripts/_common.sh +++ b/scripts/_common.sh @@ -9,8 +9,6 @@ YNH_PHP_VERSION="8.1" # Composer version YNH_COMPOSER_VERSION="2.4.4" -#REMOVEME? pkg_dependencies="php${YNH_PHP_VERSION}-bcmath php${YNH_PHP_VERSION}-xml php${YNH_PHP_VERSION}-mbstring php${YNH_PHP_VERSION}-gd php${YNH_PHP_VERSION}-mysql" - #================================================= # PERSONAL HELPERS #================================================= diff --git a/tests.toml b/tests.toml index e69de29..8ee63e2 100644 --- a/tests.toml +++ b/tests.toml @@ -0,0 +1,9 @@ +test_format = 1.0 + +[default] + + # ------------------------------- + # Commits to test upgrade from + # ------------------------------- + + test_upgrade_from.f8832279.name = "Upgrade from #1"