Commit graph

692 commits

Author SHA1 Message Date
Alexandre Aubin
94abddf58d yolo: attempt to preinstall apt dependencies in the initial lxc snapshot 2024-01-10 21:13:08 +01:00
Alexandre Aubin
e7b47542c8 People keep writing name = 'Upgrade from x.y.z' but then it's also added by the test code which ends up in 'Upgrade from Upgrade from x.y.z' 2024-01-08 19:37:01 +01:00
Alexandre Aubin
3b76e5159a
Merge pull request #148 from Salamandar/patch-1
Fix get_default_values
2024-01-06 17:09:10 +01:00
Salamandar
472e316a97
Fix get_default_values
For choices, default value is the first of either list or dict.
2024-01-06 17:06:39 +01:00
Alexandre Aubin
27c4baa97b Revert "..."
This reverts commit 6953d958e6.
2024-01-02 18:04:37 +01:00
Alexandre Aubin
6953d958e6 ... 2024-01-02 02:37:02 +01:00
Alexandre Aubin
fa38485328 Revert "More stupid debugging because i can't even"
This reverts commit 81ffd3b7bf.
2024-01-01 23:49:49 +01:00
Alexandre Aubin
1edcae1153 Revert "Add some debug because something funky seems to be happening with the value of check_path ..."
This reverts commit 3e1708969e.
2024-01-01 23:49:48 +01:00
Alexandre Aubin
81ffd3b7bf More stupid debugging because i can't even 2024-01-01 23:20:49 +01:00
Alexandre Aubin
3e1708969e Add some debug because something funky seems to be happening with the value of check_path ... 2024-01-01 22:39:02 +01:00
Alexandre Aubin
b8606ecc5e Fix a stupid issue in which a custom arg ending with _path would get its value replaced instead of the actual path é_è 2023-12-31 18:08:18 +01:00
Alexandre Aubin
fee310b0b2 yolo: drop test for 'private' install on bookworm ... 2023-11-23 21:11:34 +01:00
Alexandre Aubin
bea9c77046
Merge pull request #143 from YunoHost/Tagadda-patch-1
Don't remove the app when install fails
2023-09-26 17:59:39 +02:00
Tagada
22dacd70fd
Don't remove the app when install fails 2023-09-26 16:14:14 +02:00
Alexandre Aubin
06107167bf
Merge pull request #142 from orhtej2/patch-1
Don't create safety backup when testing upgrade.
2023-09-25 13:13:58 +02:00
orhtej2
62b7e02f12
Don't create safety backup when testing upgrade. 2023-09-25 12:59:20 +02:00
Alexandre Aubin
b8f23983d6 Previous commit was the other way around ... the real key used by bash script is install_args, the one from toml is 'args' 2023-07-21 02:58:55 +02:00
Alexandre Aubin
1ba05dda6d Add --dry-run option to debug what tests are going to be ran exactly 2023-07-21 02:56:43 +02:00
Alexandre Aubin
0b71d81f91 Fix args in test_upgrade_from not being taken into account because of confusion betweenaargs and install_args 2023-07-21 00:09:02 +02:00
Alexandre Aubin
3529409001 Fix config panel test ? 2023-07-09 19:03:45 +02:00
Alexandre Aubin
d02957319a Yolo-add transversal test that config panel does work after install/upgrade/restore 2023-07-09 16:03:44 +02:00
Alexandre Aubin
7831c5fa1c And also ignore witness DB >_> 2023-06-14 10:22:59 +02:00
Alexandre Aubin
a40df5d732 Don't check witness file for php anymore because it's a mess for bookworm, and anyway those witness tests are kind of not really useful ... 2023-06-14 08:23:35 +02:00
Alexandre Aubin
d00a1ce9ea
Merge pull request #141 from YunoHost/check-the-ssowat-conf
Check ssowat conf instead of turbo parsing manifest.json or manifest.toml
2023-03-03 11:28:12 +01:00
Kay0u
300053fe12
Check ssowat conf instead of turbo parsing manifest.json or manifest.toml 2023-03-03 01:15:18 +01:00
Kay0u
9af4091505
stop using skipped_uris to force access of an app 2023-03-03 00:35:48 +01:00
Alexandre Aubin
06a1f367a7 metrics_stop messing with $? ... 2023-02-24 17:39:39 +01:00
Alexandre Aubin
7f45bf64ac Add default value for password-type args 2023-02-24 16:25:28 +01:00
Alexandre Aubin
1961b21f33
Forget about level 9 2023-02-24 01:25:59 +01:00
Alexandre Aubin
f514824235 metrics: move the metric start/stop around the install/upgrade/restore command, because we want to avoid being polluted by snapshot create/restore ... 2023-02-21 17:01:21 +01:00
Alexandre Aubin
fe56eb2de7 Lower the warning count complaining threshold now that postgresql warnings are hidden 2023-02-21 16:51:12 +01:00
Alexandre Aubin
f35f74ae2e metrics: fix echo flooding the logs + improve messaging + report diff between start and end, not just peak 2023-02-21 16:32:32 +01:00
Alexandre Aubin
7ca73f80b4
Merge pull request #136 from Salamandar/metrics
Add metrics measurements to tests runs
2023-02-21 15:37:38 +01:00
Alexandre Aubin
e0c4766168 Complain about 'config file manually modified' thing in summary.png and for level 7 2023-02-14 18:11:23 +01:00
Alexandre Aubin
efc9313f87 tests.toml: fix upgrade name thingy 2023-02-14 17:08:29 +01:00
Alexandre Aubin
1cc96b9533 During test upgrade from another commit, fail immediately if that commit couldnt be checkedout 2023-02-14 13:40:55 +01:00
Alexandre Aubin
caaf968b0d Zblefg apparently that ls-remote test doesnt work 2023-02-13 21:01:54 +01:00
Alexandre Aubin
a4013e414d Annnd typo 2023-02-13 20:59:38 +01:00
Alexandre Aubin
d95027ef22 More sanity checks 2023-02-13 20:55:33 +01:00
Alexandre Aubin
03cdffca88 Aaannd typo 2023-02-13 20:51:33 +01:00
Alexandre Aubin
fc08a7e515 More sanity checks 2023-02-13 20:49:41 +01:00
Alexandre Aubin
19b401cd23 Add sanity checks the the LXC exists + initial snapshot exist instead of failing miserably later 2023-02-13 20:45:26 +01:00
Alexandre Aubin
90147c25c9 Try to add stupid sleep to mitigate issue where 'lxc exec' is stuck for no reason -_- 2023-02-10 18:03:51 +01:00
Alexandre Aubin
8144a1fac0 Actually ... ci-apps is still using lxd 4.10 which has empty status when the LXC is stopped 2023-02-10 04:22:59 +01:00
Alexandre Aubin
0e62de7b6b Don't complain so much about LXC failing to stop until we are at retry=3 2023-02-10 04:12:34 +01:00
Alexandre Aubin
2ae3626050 Try to fix the witness shit blocking everything for some reason 2023-02-08 20:51:52 +01:00
Alexandre Aubin
38549cd336 More boring tricks about commands getting stuck forever.. 2023-02-08 19:51:32 +01:00
Alexandre Aubin
777cf44727 Add moar timeout because ffs a simple 'test -e' is getting stuck forever again 2023-02-08 17:32:40 +01:00
Alexandre Aubin
caafd56fed Moar damn commands getting stuck forever for no reason... 2023-02-07 12:50:04 +01:00
Alexandre Aubin
865bb6223b Apparently that stupid 'In use' bug is a glitch and can be temporarily solved by restarting the LXD daemon :| 2023-02-07 02:27:14 +01:00