Commit graph

182 commits

Author SHA1 Message Date
yalh76
afe55f2b33 implement ynh_lxc_run_inside 2022-10-24 00:37:14 +02:00
yalh76
3b085d60de Implement ynh_lxc_pc_exec 2022-10-24 00:26:04 +02:00
yalh76
be8035b442 RUN_INSIDE_LXC to ynh_lxc_run_inside 2022-10-24 00:21:50 +02:00
yalh76
52e814db28 CLEAN_SWAPFILES to ynh_lxc_swapfiles_clean 2022-10-24 00:19:46 +02:00
yalh76
17a2403c9d _LXC_START_AND_WAIT to _ynh_lxc_start_and_wait 2022-10-24 00:18:41 +02:00
yalh76
b134ed4f86 LXC_RESET to ynh_lxc_reset 2022-10-24 00:17:19 +02:00
yalh76
01a6a7572f LXC_STOP to ynh_lxc_stop 2022-10-24 00:16:04 +02:00
yalh76
0a0ef64ed6 LOAD_LXC_SNAPSHOT to ynh_lxc_snapshot_load 2022-10-24 00:14:29 +02:00
yalh76
efb7367e2e LXC_SNAPSHOT_EXISTS to ynh_lxc_snapshot_exists 2022-10-24 00:13:06 +02:00
yalh76
9f5cf5bdb6 CREATE_LXC_SNAPSHOT to ynh_lxc_pc_snapshot_create 2022-10-24 00:09:39 +02:00
yalh76
f0ce0e572e LXC_CREATE to ynh_lxc_pc_create 2022-10-24 00:08:12 +02:00
yalh76
7c8e2c7c29 check_witness_files to ynh_lxc_pc_witness_files_check 2022-10-24 00:05:41 +02:00
yalh76
cdcd0b6765 create_witness_file to ynh_lxc_pc_witness_file_create 2022-10-24 00:01:24 +02:00
yalh76
053f07b9e9 set_witness_files to ynh_lxc_pc_witness_files_set 2022-10-23 23:59:18 +02:00
yalh76
984e4c2720 LXC_EXEC to ynh_lxc_pc_exec 2022-10-23 23:56:52 +02:00
yalh76
26530dd3de Spaces to tabs 2022-10-23 23:54:40 +02:00
yalh76
775d3540e1 Reorder helper files 2022-10-23 23:51:39 +02: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
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