Commit graph

763 commits

Author SHA1 Message Date
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
Alexandre Aubin
0cee21e5de Fix logger calls typo lost in refactoring or something 2024-08-25 09:43:41 +02:00
Alexandre Aubin
0739f61fed Fix noslash test 2024-08-24 20:07:19 +02:00
Alexandre Aubin
988ec3cf39 Rework test that app can be accessed ... add a new syntax in tests.toml to declare what URL to test, with/without being logged in, and what code/title/content to expect 2024-08-24 19:37:31 +02:00
Alexandre Aubin
f9d42bf379 We shou;dn't need guess_test_configuration anymore because tests.toml is mandatory 2024-08-22 13:42:00 +02:00
Alexandre Aubin
cef5c96090 Revert part of the changes in previous commit because we still need to be able to test upgrades from packaging v1 2024-08-22 13:40:10 +02:00
Alexandre Aubin
b3fe86ea96 Trash legacy packaging v1 stuff 2024-08-16 15:38:13 +02:00
Salamandar
127ffc18f3
Merge pull request #162 from YunoHost/storage_dir 2024-07-15 11:05:35 +02:00
297b895470 Also allow YNH_PACKAGE_CHECK_STORAGE_DIR to be passed as an environment variable 2024-07-15 10:50:18 +02:00
f0f75fc398 Add --storage-dir argument to prevent creating huge files in the system partition or ramfs /tmp 2024-07-15 10:45:31 +02:00
Alexandre Aubin
d9f60a9c7d Adapt 'is_webapp' check to also cover helpers 2.1 2024-06-25 14:27:24 +02:00
Alexandre Aubin
0794d5967f
Merge pull request #161 from YunoHost/fix-bookworm-Yunohost-Portal-detection
fix Yunohost Portal detection on bookworm
2024-06-24 17:18:27 +02:00
Kayou
dd92428819
Update lib/tests.sh
Co-authored-by: Alexandre Aubin <4533074+alexAubin@users.noreply.github.com>
2024-06-24 17:17:08 +02:00
Kayou
a3f9ccd4ec
fix Yunohost Portal detection on bookworm 2024-06-24 17:11:16 +02:00
Alexandre Aubin
99e670fbb4
Merge pull request #160 from YunoHost/fix-install-args
add key=value args if not present in install_app script
2024-06-24 15:34:17 +02:00
Kayou
8b4c2133cc
add key=value args if not present in install_app script 2024-06-24 15:32:52 +02:00
Salamandar
77b3b4e9d5
Merge pull request #158 from YunoHost/main_branch
support main branch for app to test as git repository
2024-05-20 20:59:11 +02:00
b97296eb77 Run resource metrics inside container.
This will provide a real RAM metric of the container, and not of the full system.

For disk usage that won't change anything.
2024-05-20 20:08:55 +02:00
Alexandre Aubin
aaca713790 Fix stupid edge case where people add comment after [install.foobar] when parsing the manifest arg list 2024-05-19 14:06:50 +02:00
211ec2aefd support main branch for app to test as git repository 2024-03-23 19:01:26 +01:00
Salamandar
b9640a3ffb
Merge pull request #156 from YunoHost/incus
Allow the use of incus instead of LXD.
2024-03-15 19:45:20 +01:00
fc79adbed4 Support different syntaxes for lxc incus snapshot create / restore 2024-03-15 16:00:13 +01:00
0998271a98 Allow the use of incus instead of LXD. In the future, we could remove LXD support, making the README way shorter (no snap, etc) 2024-03-10 00:47:09 +01:00