Commit graph

785 commits

Author SHA1 Message Date
Alexandre Aubin
0ccab26a7d JSON use double quote and not simple quote, JSus.christ 2024-09-01 18:11:49 +02:00
Alexandre Aubin
eff66e2aac Uhoh 2024-09-01 18:06:09 +02:00
Alexandre Aubin
7981067193 Hm i meant exit? 2024-09-01 17:55:59 +02:00
Alexandre Aubin
22d703cb48 bash syntax check: gotta return 0 for the job to be flagged as failure 2024-09-01 17:55:26 +02:00
Alexandre Aubin
f3518f7dc6
Merge pull request #171 from selfhoster1312/readme-btrfs
Recommend btrfs storage driver for better perf (default on Incus)
2024-09-01 17:39:56 +02:00
selfhoster1312
0b03fc31fe Recommend btrfs storage driver for better perf (default on Incus) 2024-09-01 17:25:03 +02:00
Alexandre Aubin
45485f499a shfmt 2024-09-01 17:13:17 +02:00
Alexandre Aubin
a98ec7d470 Tweak basic bash syntax check to return level 0 such that yunorunner flags the job as 'failure' instead of 'technical error' 2024-09-01 17:05:12 +02:00
Alexandre Aubin
cf51d37285 curl tests: tail hanging forever to stdin ~_~ 2024-09-01 04:29:18 +02:00
Alexandre Aubin
553d7c6a76 curl test: missing f for f-string 2024-09-01 03:38:59 +02:00
Alexandre Aubin
32611255a4 curl tests: aaaaand some assets url start with // 2024-09-01 03:27:12 +02:00
Alexandre Aubin
5b64c232c5 curl tests: Again tweaking the debugging tails upon error code ? 2024-09-01 03:20:50 +02:00
Alexandre Aubin
2b2fd1f9f4 curl tests: zzz app such as hextris includes http:// (no s..) to google fonts ... 2024-09-01 03:18:56 +02:00
Alexandre Aubin
2fb7af995c Fix bash syntax check not properly reporting issues 2024-09-01 03:15:35 +02:00
Alexandre Aubin
6e48040cbc curl tests: handle edge case where .find('body') returns None 2024-08-31 18:47:58 +02:00
Alexandre Aubin
53998f051d curl tests: more debug UX tweaks² 2024-08-31 17:13:24 +02:00
Alexandre Aubin
d3c49d3948 curl tests: More debug UX tweaks 2024-08-31 17:09:27 +02:00
Alexandre Aubin
150c1e1f11 curl tests: better debugging UX for 50x errors 2024-08-31 14:54:08 +02:00
Alexandre Aubin
ab4472e734 Fix is_webapp detection for apps using helpers 2.1 ? 2024-08-31 14:40:33 +02:00
Alexandre Aubin
3574b59169 Ah yes oopsies? 2024-08-31 14:27:07 +02:00
Alexandre Aubin
3e15cb173d Hmm? 2024-08-31 14:25:14 +02:00
Alexandre Aubin
dc17670f62 Yoloadd a bash -n to check bash syntax near the very beginning of the test suite to crash early if there are obvious syntax errors 2024-08-31 14:22:46 +02:00
Alexandre Aubin
56ec8ec4f0 @_@ 2024-08-30 18:47:04 +02:00
Alexandre Aubin
136b7a0de6 curl tests: cosmetics 2024-08-30 18:09:27 +02:00
Alexandre Aubin
01377f761a curl tests: Skip assets hosted on a third party site ... though display a warning about it 2024-08-30 18:07:46 +02:00
Alexandre Aubin
aa2bd2d8b8 curl test: another meh tweak to avoid testing the portal assets 2024-08-30 18:01:21 +02:00
Alexandre Aubin
daa1e138cf
Merge pull request #170 from YunoHost/revert-165-reduce-fail-timeout
Revert "Fail startup/network timeout earlier. Exit whole test suite."
2024-08-30 17:56:15 +02:00
Alexandre Aubin
0dfeab6881
Revert "Fail startup/network timeout earlier. Exit whole test suite." 2024-08-30 17:55:54 +02:00
Alexandre Aubin
9841146ece
Merge pull request #165 from selfhoster1312/reduce-fail-timeout
Fail startup/network timeout earlier. Exit whole test suite.
2024-08-30 16:38:56 +02:00
Alexandre Aubin
7e893baef4
Misc wording / log helper usage 2024-08-30 16:38:47 +02:00
Alexandre Aubin
958433f283
Merge pull request #167 from selfhoster1312/readme-incus
Improve the README setup to mention incus
2024-08-30 16:21:02 +02:00
Alexandre Aubin
9cda3a8219 curl tests: misc fixes after tests on the battefield 2024-08-30 15:40:13 +02:00
Alexandre Aubin
6d96c6ad0e curl tests: unintended variable redefinition 2024-08-29 18:26:36 +02:00
Alexandre Aubin
675c6297e5 Black all the things! 2024-08-29 18:18:49 +02:00
Alexandre Aubin
f030296f96
Merge pull request #169 from YunoHost/curl-tests
Add ability to define "curl tests" in tests.toml
2024-08-29 18:07:32 +02:00
Alexandre Aubin
d34349ec93 curl tests: implement support for logged_on_sso on bullseye instead of just bookworm 2024-08-29 17:49:59 +02:00
Alexandre Aubin
83a4ef3f64 curl tests: ignore yunohost-injected css/js when testing app assets 2024-08-29 15:27:39 +02:00
Alexandre Aubin
6680eb56e6 curl tests: add magic to detect css/js in html page to also test those (hopefully should allow to find permission issues resulting in bugs such as blank pages) 2024-08-29 15:11:07 +02:00
selfhoster1312
2c6bb5d8fe Improve the README setup to mention incus 2024-08-26 10:12:03 +02:00
selfhoster1312
a97d0bdc01 Fail startup/network timeout earlier. Exit whole test suite. 2024-08-25 20:33:32 +02:00
Alexandre Aubin
7abb550982
Merge pull request #164 from selfhoster1312/detect-incus
Autodetect incus/lxd unless specific YNHDEV_BACKEND
2024-08-25 18:19:05 +02:00
Alexandre Aubin
1d5b0ac62c curl tests: more smarter logging 2024-08-25 15:12:40 +02:00
Alexandre Aubin
11aa602097 curl tests: fix tests during upgrade from older versions 2024-08-25 15:02:28 +02:00
Alexandre Aubin
28b83f5f95 curl tests: fix default tests and display 2024-08-25 13:04:27 +02:00
Alexandre Aubin
a5b35d218d curl tests: reduce verbosity 2024-08-25 12:12:29 +02:00
Alexandre Aubin
c705b6b171 curl tests: forgot to return the result code 2024-08-25 12:06:29 +02:00
selfhoster1312
2490e35731 Autodetect incus/lxd unless specific YNHDEV_BACKEND 2024-08-25 10:23:22 +02:00
Alexandre Aubin
8db653ea9e
Merge pull request #163 from selfhoster1312/update-gitignore
Add more entries to the .gitignore file
2024-08-25 10:13:52 +02:00
selfhoster1312
6bae4a09c7 Add more entries to the .gitignore file 2024-08-25 10:11:23 +02:00
Alexandre Aubin
831d869e64 curl tests: be able to use __DOMAIN__ in the base url 2024-08-25 10:06:23 +02:00