Commit graph

182 commits

Author SHA1 Message Date
Alexandre Aubin
9fcc476cf3 Fix issue with curl hanging forever 2023-02-03 02:01:20 +01:00
Alexandre Aubin
67a628ad6e Force the use of most recent base LXC T.T 2023-02-03 01:42:00 +01:00
98f806b9ec Use text instead of integers for stop_timer argument 2023-01-20 13:46:36 +01:00
Alexandre Aubin
d2529fee7e Tweak preinstall/preupgrade syntax + document new tests.toml syntax 2023-01-20 00:26:40 +01:00
Alexandre Aubin
6a0f807b35 We probably want to install python's toml lib automatically 2023-01-20 00:06:15 +01:00
Alexandre Aubin
8cd12dab76 Fixes from the battlefield 2023-01-17 02:03:35 +01:00
Alexandre Aubin
1a204c6593 Typo >_> 2023-01-17 01:40:35 +01:00
Alexandre Aubin
4aee9832db Split the horendous check_process parsing in legacy.sh 2023-01-16 22:18:33 +01:00
Alexandre Aubin
1c0cda8d08 Parse tests.toml if it exists 2023-01-16 22:15:55 +01:00
Alexandre Aubin
fe2e0048ad Introduce a parse_tests_toml.py to interface with a modern replacement for horrendous check_process files 2023-01-16 20:38:56 +01:00
Alexandre Aubin
5e821aee23 Fixes /o\ 2023-01-11 09:55:39 +01:00
Alexandre Aubin
395bab657a Yoloimplement support for appsv2 2023-01-11 08:21:26 +01:00
Alexandre Aubin
03f9f66db0
Merge pull request #134 from selfhoster1312/no-pager
Don't let systemctl open a pager to list units...
2023-01-11 01:22:41 +01:00
selfhoster1312
932585fcf0 Don't let systemctl open a pager to list units, or it will hang in interactive terminal 2023-01-10 19:09:49 +01:00
Alexandre Aubin
63d32001ea Drop old code that tested the old configpanel/actions mechanism 2022-12-19 19:17:06 +01:00
Alexandre Aubin
711cfe5141
Merge pull request #119 from Tagadda/master
enh: Pause on errors
2022-11-27 01:04:40 +01:00
yalh76
6ace177bfb Let configure default php version 2022-10-07 20:45:15 +02:00
Alexandre Aubin
e26ce8e7c8
Merge pull request #125 from YunoHost/all-tests
Make all tests
2022-10-06 18:45:41 +02:00
yalh76
343c424db1 Retrieve only one IP address 2022-09-16 00:12:11 +02:00
yalh76
e8530aa4d8 Update tests_coordination.sh 2022-09-13 01:31:09 +02:00
ericgaspar
9eb0643d65 Update lxc.sh 2022-08-13 12:26:44 +02:00
ericgaspar
d218bbf61d Fix caps 2022-08-13 12:24:49 +02:00
ericgaspar
5405556ee5 Update to bullseye 2022-08-13 12:14:27 +02:00
Kay0u
236546ca51
remove swap only if the container exists 2022-08-10 18:51:37 +02:00
yalh76
d90ec3e0c9 Make all tests 2022-07-25 01:53:56 +02:00
Kay0u
98c00ed402
[fix] get the current storage of a container instead of using "default" 2022-07-05 14:22:29 +02:00
yalh76
d9890bc602
Typo 2022-05-24 00:39:23 +02:00
yalh76
668e146cd3 Force swap removal 2022-04-20 20:31:34 +02:00
Tagadda
6e20576c5c enh: interactive on errors 2022-03-21 12:09:35 +00: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