Alexandre Aubin
11aa602097
curl tests: fix tests during upgrade from older versions
2024-08-25 15:02:28 +02:00
Alexandre Aubin
c705b6b171
curl tests: forgot to return the result code
2024-08-25 12:06:29 +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
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
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
Kayou
8b4c2133cc
add key=value args if not present in install_app script
2024-06-24 15:32:52 +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
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
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
d1b7d4907f
When testing for app page access, reuse cookies between requests.
...
cURL --location will follow redirects, but by default won't reuse cookies.
Some apps, like Jackett, might add authentication cookies in a chain of redirections
Passing --cookie <useless file> to cURL tells it to keep cookies between 'sessions'.
2024-03-07 11:12:50 +01:00
Alexandre Aubin
7cdffc745c
Fix boring issue with preinstalling apt dependencies in the context of transmission/cockpit: ignore apt dependencies starting with the app's id
2024-01-22 16:00:29 +01:00
Alexandre Aubin
9627a8c0a3
Make sure to generate the psql password to prevent warnings
2024-01-10 22:06:18 +01:00
Alexandre Aubin
ac8108a352
Woopsies
2024-01-10 21:44:31 +01:00
Alexandre Aubin
8e267559a7
Restructure some stuff to improve UX, ideally don't want to wait for the apt deps to install before being able to know which yunohost version is running and package linter ...
2024-01-10 21:41:48 +01:00
Alexandre Aubin
1dda43eef4
Zgrompf
2024-01-10 21:22:35 +01:00
Alexandre Aubin
2def397a8a
Need those classic option for noninteractive apt etc..
2024-01-10 21:18:02 +01:00
Alexandre Aubin
94abddf58d
yolo: attempt to preinstall apt dependencies in the initial lxc snapshot
2024-01-10 21:13:08 +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
Tagada
22dacd70fd
Don't remove the app when install fails
2023-09-26 16:14:14 +02:00
orhtej2
62b7e02f12
Don't create safety backup when testing upgrade.
2023-09-25 12:59:20 +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
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
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
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
a65f16dd08
Moar refactoring
2023-01-27 22:47:53 +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
yalh76
d9890bc602
Typo
2022-05-24 00:39:23 +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
9f6cc8dceb
run curl in lxc
2021-10-13 14:56:26 +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
Alexandre Aubin
dd95b3dbeb
Linter test was always returning success..
2021-10-10 16:28:05 +02:00
Kay0u
a53496e8e3
add more tests for change_url
2021-09-15 17:00:59 +02:00
Alexandre Aubin
a9626afe6d
[yolo] Display additional checks results in the test summary
2021-08-07 18:38:50 +02:00