From a2d7a2802c5c51fe5763c1524af29ed8b16fa9ee Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=C3=89ric=20Gaspar?= <46165813+ericgaspar@users.noreply.github.com> Date: Fri, 10 Mar 2023 16:50:28 +0100 Subject: [PATCH] cleaning --- check_process | 23 ----------------------- conf/nginx.conf | 2 +- scripts/install | 1 - tests.toml | 8 +++++--- 4 files changed, 6 insertions(+), 28 deletions(-) delete mode 100644 check_process diff --git a/check_process b/check_process deleted file mode 100644 index a9304d2..0000000 --- a/check_process +++ /dev/null @@ -1,23 +0,0 @@ -;; Test complet - ; Manifest - domain="domain.tld" - path="/path" - is_public=1 - admin="john" - ; Checks - pkg_linter=1 - setup_sub_dir=1 - setup_root=1 - setup_nourl=0 - setup_private=1 - setup_public=1 - upgrade=1 - # 1.2.22~ynh2 - upgrade=1 from_commit=781f62a9e41ee6b4fbdad7383cb31f8ae4432c66 - backup_restore=1 - multi_instance=1 - change_url=1 -;;; Upgrade options - ; commit=b667e4d5fd9cc860f706ad7e4e41208cf1d04f2a - name=Merge pull request #133 from YunoHost-Apps/testing - manifest_arg=domain=DOMAIN&path=PATH&admin=USER&is_public=Yes& diff --git a/conf/nginx.conf b/conf/nginx.conf index 9bfc567..3dc91b0 100644 --- a/conf/nginx.conf +++ b/conf/nginx.conf @@ -17,7 +17,7 @@ location __PATH__/ { # Deny access to the directory data location __PATH__/data { deny all; - } + } try_files $uri $uri/ __PATH__/index.php; location ~ [^/]\.php(/|$) { diff --git a/scripts/install b/scripts/install index 300f02c..887af16 100644 --- a/scripts/install +++ b/scripts/install @@ -21,7 +21,6 @@ fpm_usage="low" #================================================= # STORE SETTINGS FROM MANIFEST #================================================= -ynh_script_progression --message="Storing installation settings..." --weight=1 ynh_app_setting_set --app=$app --key=fpm_footprint --value=$fpm_footprint ynh_app_setting_set --app=$app --key=fpm_free_footprint --value=$fpm_free_footprint diff --git a/tests.toml b/tests.toml index 91daf17..cbb6f3f 100644 --- a/tests.toml +++ b/tests.toml @@ -2,6 +2,8 @@ test_format = 1.0 [default] - # ------------ - # Tests to run - # ------------ \ No newline at end of file + # ------------------------------- + # Commits to test upgrade from + # ------------------------------- + + test_upgrade_from.781f62a9.name = "Upgrade from 1.2.22"