From 98659bd41e166455da5350531353c56be00b8d2d Mon Sep 17 00:00:00 2001 From: Pierre de La Morinerie Date: Tue, 17 Oct 2017 11:40:30 +0530 Subject: [PATCH 1/3] package_check: test more cases --- check_process | 20 +++++++++----------- test.sh | 3 ++- 2 files changed, 11 insertions(+), 12 deletions(-) diff --git a/check_process b/check_process index 720bc08..9d57308 100644 --- a/check_process +++ b/check_process @@ -8,17 +8,15 @@ password="alpine" (PASSWORD) ; Checks pkg_linter=1 - setup_root=0 - setup_public=0 - upgrade=0 - wrong_path=0 + setup_root=1 + setup_private=0 + setup_public=1 + upgrade=1 + backup_restore=1 + multi_instance=0 + port_already_use=0 (XXXX) + change_url=0 + # Tests not applicable setup_sub_dir=0 setup_nourl=0 - setup_private=0 - backup_restore=0 - multi_instance=0 incorrect_path=0 - corrupt_source=0 - fail_download_source=0 - port_already_use=0 (XXXX) - final_path_already_use=0 diff --git a/test.sh b/test.sh index f4ce63e..689e452 100755 --- a/test.sh +++ b/test.sh @@ -151,7 +151,8 @@ function teardown() { _parse_args $* setup -test_package_check +# Package_check is disabled until LXC containers work properly inside the Vagrant VM +#test_package_check test_simple_install test_simple_upgrade test_simple_backup From eb7191628a768d4939cd2f6cfa0f1bdc0fa2ae42 Mon Sep 17 00:00:00 2001 From: Pierre de La Morinerie Date: Wed, 18 Oct 2017 10:38:24 +0530 Subject: [PATCH 2/3] package_check: upgrade file to latest version of the template --- check_process | 12 +++++++++++- 1 file changed, 11 insertions(+), 1 deletion(-) diff --git a/check_process b/check_process index 9d57308..a079bbb 100644 --- a/check_process +++ b/check_process @@ -1,5 +1,4 @@ ;; Mattermost - auto_remove=1 ; Manifest domain="ynh-tests.local" (DOMAIN) path="" (PATH) @@ -20,3 +19,14 @@ setup_sub_dir=0 setup_nourl=0 incorrect_path=0 +;;; Levels + Level 1=auto + Level 2=auto + Level 3=auto + Level 4=0 + Level 5=auto + Level 6=auto + Level 7=auto + Level 8=0 + Level 9=0 + Level 10=0 From 052bcf47fd28d7fe7deb8c54f05c497c2ebb4e4e Mon Sep 17 00:00:00 2001 From: Pierre de La Morinerie Date: Wed, 18 Oct 2017 10:38:38 +0530 Subject: [PATCH 3/3] package_check: enable CI notifications --- check_process | 3 +++ 1 file changed, 3 insertions(+) diff --git a/check_process b/check_process index a079bbb..5b21f75 100644 --- a/check_process +++ b/check_process @@ -30,3 +30,6 @@ Level 8=0 Level 9=0 Level 10=0 +;;; Options +Email=kemenaran@gmail.com +Notification=change