Commit graph

155 commits

Author SHA1 Message Date
yalh76
d9890bc602
Typo 2022-05-24 00:39:23 +02:00
yalh76
668e146cd3 Force swap removal 2022-04-20 20:31:34 +02:00
Kay0u
e949d99c16
use LXC_STOP where we need to stop a container 2021-12-12 20:20:24 +01:00
Kay0u
ff0dcc2207
Force the output to be in lowercase 2021-12-12 20:06:41 +01:00
Alexandre Aubin
f1ede681b0 Fix linter error not properly being caught by level 5 definition 2021-12-02 15:25:16 +01:00
Alexandre Aubin
24aa67e1c5 lxc status changed from 'Running' to 'RUNNING' in lxc 4.20 2021-11-24 19:52:00 +01:00
Kayou
1a766eaa64
trying to fix the preupgrade script when we guess the test configuration 2021-10-21 12:28:01 +02:00
Alexandre Aubin
06745d3865
Merge pull request #114 from fflorent/pre-upgrade
Pre upgrade scripts
2021-10-20 21:41:18 +02:00
Kay0u
03b82bf1c8
displays the location to help debug if there is a problem when launching the container 2021-10-13 16:51:03 +02:00
Kay0u
9f6cc8dceb
run curl in lxc 2021-10-13 14:56:26 +02:00
Kay0u
5c42ae0774
change LXC_NAME to WORKER_ID for logs and results 2021-10-13 14:56:04 +02:00
Kay0u
ef2c602d4a
curl_print in TEST_CONTEXT folder 2021-10-13 13:26:57 +02:00
Florent
2e729ca7bb Introduce pre-upgrade 2021-10-13 10:51:23 +02:00
Kay0u
bf3ce384e5
handle multi worker 2021-10-12 18:09:08 +02:00
Kay0u
8e663a1142
do not use ls, but globs in for loop 2021-10-12 13:49:17 +02:00
Alexandre Aubin
dd95b3dbeb Linter test was always returning success.. 2021-10-10 16:28:05 +02:00
Alexandre Aubin
4d6f308f5c Add 'n possible improvements' corresponding to linter info in test summary 2021-10-10 13:54:09 +02:00
ericgaspar
bec7833e0b
Update lxc.sh 2021-10-06 23:12:38 +02:00
Alexandre Aubin
b883d516a1
yolo: When checking runtime warnings in level 7, ignore stuff happening during upgrades from previous versions 2021-10-03 21:50:49 +02:00
Alexandre Aubin
6f19f74328 Block level 7+ if unsafe permissions (or path traversal or missing witness) is detected 2021-10-01 04:28:40 +02:00
Alexandre Aubin
dea8dc5618 Typoz uhu 2021-09-23 18:45:46 +02:00
Alexandre Aubin
32d49d9bbf Aaaaannd i forgot the --quiet.. 2021-09-22 23:27:21 +02:00
Alexandre Aubin
da894f6f0f png ftw 2021-09-22 23:25:06 +02:00
Alexandre Aubin
9416d8833b Copy new summary.jpg to local folder, to be picked up by CI_package_check 2021-09-22 22:43:08 +02:00
Alexandre Aubin
88432ed1e2
Merge pull request #111 from YunoHost/export_summary_as_image
yolo: Export test summary as image
2021-09-22 22:38:25 +02:00
Alexandre Aubin
e1cbb22f49 Misc fixes /o\ 2021-09-22 22:36:21 +02:00
Kay0u
a53496e8e3
add more tests for change_url 2021-09-15 17:00:59 +02:00
Alexandre Aubin
a43463522d Improve imgkit export options 2021-09-10 23:13:29 +02:00
Alexandre Aubin
589a85bdb4 Magically install imgkit 2021-09-10 23:12:12 +02:00
Alexandre Aubin
f06040486b yolo: Export test summary as image 2021-09-10 23:07:04 +02:00
Alexandre Aubin
a9626afe6d [yolo] Display additional checks results in the test summary 2021-08-07 18:38:50 +02:00
ericgaspar
62cda68370 Update tests.sh 2021-07-29 23:11:20 +02:00
Éric Gaspar
19b98f468c
Update lib/tests.sh
Co-authored-by: yalh76 <yalh@yahoo.com>
2021-07-29 16:32:46 +02:00
ericgaspar
437093ee88
Fix typos 2021-07-25 19:40:19 +02:00
yalh76
0dc407274c
Typo 2021-07-01 13:25:20 +02:00
Alexandre Aubin
37f9eda50b [yolo] Handle different default php version for witness file 2021-05-29 17:21:05 +02:00
Alexandre Aubin
7f926a791c manifest_parsing.py: Support string type args with defaults 2021-05-13 19:50:58 +02:00
yalh76
7195edbe67 preinstall during upgrade 2021-04-23 19:35:54 +02:00
Alexandre Aubin
de4b5ee480
Debugging 50x errors: change strategy, display logs for files changes in last 3 minutes 2021-04-19 19:20:23 +02:00
Alexandre Aubin
f8f48a7e7f
Attempt to display error info for php apps when encountering 50x errors 2021-04-19 18:29:44 +02:00
Kay0u
6161d43650
remove the parentheses from the install args 2021-03-29 11:21:30 +02:00
Alexandre Aubin
cbe130a714
Fix service name parsing, there's a stupid ● hanging on the line 2021-03-26 15:57:57 +01:00
Alexandre Aubin
a84c5f760f
Revert 8bd0cdffa4 until we find a proper fix 2021-03-25 02:29:14 +01:00
Alexandre Aubin
474ada2bd9
Only handle shitload-of-warnings as an actual error if it's > 200 2021-03-23 23:37:22 +01:00
Alexandre Aubin
2474602713
Move the new shitload-of-warning test for level 7 definition 2021-03-23 23:33:56 +01:00
Kay0u
8bd0cdffa4
remove awk from install_args parse because it wuks without 2021-03-23 20:56:44 +01:00
Alexandre Aubin
8b6190a6ae
Merge pull request #104 from YunoHost/fix-lxc-exec
Fix lxc exec
2021-03-23 00:39:18 +01:00
Alexandre Aubin
af9fab5bfa
Revert the removal of awk/tr, needed because there are some stupid trailing (DOMAIN) and similar stuff ... Gotta see later how to handle properly args containing spaces 2021-03-23 00:37:30 +01:00
Alexandre Aubin
b70d9d362f Lower shitload-number-of-warning treshold to 50 2021-03-22 22:44:50 +01:00
Alexandre Aubin
24644664a1 Add --all to systemctl to also hopefully catch disabled services 2021-03-22 22:44:17 +01:00