Commit graph

  • 0ccab26a7d JSON use double quote and not simple quote, JSus.christ master Alexandre Aubin 2024-09-01 18:11:49 +02:00
  • eff66e2aac Uhoh Alexandre Aubin 2024-09-01 18:06:09 +02:00
  • 7981067193 Hm i meant exit? Alexandre Aubin 2024-09-01 17:55:59 +02:00
  • 22d703cb48 bash syntax check: gotta return 0 for the job to be flagged as failure Alexandre Aubin 2024-09-01 17:55:26 +02:00
  • f3518f7dc6
    Merge pull request #171 from selfhoster1312/readme-btrfs Alexandre Aubin 2024-09-01 17:39:56 +02:00
  • 0b03fc31fe Recommend btrfs storage driver for better perf (default on Incus) selfhoster1312 2024-09-01 17:20:19 +02:00
  • 45485f499a shfmt Alexandre Aubin 2024-09-01 17:13:17 +02:00
  • a98ec7d470 Tweak basic bash syntax check to return level 0 such that yunorunner flags the job as 'failure' instead of 'technical error' Alexandre Aubin 2024-09-01 17:05:12 +02:00
  • cf51d37285 curl tests: tail hanging forever to stdin ~_~ Alexandre Aubin 2024-09-01 04:29:18 +02:00
  • 553d7c6a76 curl test: missing f for f-string Alexandre Aubin 2024-09-01 03:38:59 +02:00
  • 32611255a4 curl tests: aaaaand some assets url start with // Alexandre Aubin 2024-09-01 03:27:12 +02:00
  • 5b64c232c5 curl tests: Again tweaking the debugging tails upon error code ? Alexandre Aubin 2024-09-01 03:20:50 +02:00
  • 2b2fd1f9f4 curl tests: zzz app such as hextris includes http:// (no s..) to google fonts ... Alexandre Aubin 2024-09-01 03:18:56 +02:00
  • 2fb7af995c Fix bash syntax check not properly reporting issues Alexandre Aubin 2024-09-01 03:15:35 +02:00
  • 6e48040cbc curl tests: handle edge case where .find('body') returns None Alexandre Aubin 2024-08-31 18:47:58 +02:00
  • 53998f051d curl tests: more debug UX tweaks² Alexandre Aubin 2024-08-31 17:13:24 +02:00
  • d3c49d3948 curl tests: More debug UX tweaks Alexandre Aubin 2024-08-31 17:09:22 +02:00
  • 150c1e1f11 curl tests: better debugging UX for 50x errors Alexandre Aubin 2024-08-31 14:54:08 +02:00
  • ab4472e734 Fix is_webapp detection for apps using helpers 2.1 ? Alexandre Aubin 2024-08-31 14:40:33 +02:00
  • 3574b59169 Ah yes oopsies? Alexandre Aubin 2024-08-31 14:27:07 +02:00
  • 3e15cb173d Hmm? Alexandre Aubin 2024-08-31 14:25:14 +02:00
  • 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 Alexandre Aubin 2024-08-31 14:22:46 +02:00
  • 56ec8ec4f0 @_@ Alexandre Aubin 2024-08-30 18:47:04 +02:00
  • 136b7a0de6 curl tests: cosmetics Alexandre Aubin 2024-08-30 18:09:27 +02:00
  • 01377f761a curl tests: Skip assets hosted on a third party site ... though display a warning about it Alexandre Aubin 2024-08-30 18:07:46 +02:00
  • aa2bd2d8b8 curl test: another meh tweak to avoid testing the portal assets Alexandre Aubin 2024-08-30 18:01:15 +02:00
  • daa1e138cf
    Merge pull request #170 from YunoHost/revert-165-reduce-fail-timeout Alexandre Aubin 2024-08-30 17:56:15 +02:00
  • 0dfeab6881
    Revert "Fail startup/network timeout earlier. Exit whole test suite." Alexandre Aubin 2024-08-30 17:55:54 +02:00
  • 9841146ece
    Merge pull request #165 from selfhoster1312/reduce-fail-timeout Alexandre Aubin 2024-08-30 16:38:56 +02:00
  • 7e893baef4
    Misc wording / log helper usage Alexandre Aubin 2024-08-30 16:38:47 +02:00
  • 958433f283
    Merge pull request #167 from selfhoster1312/readme-incus Alexandre Aubin 2024-08-30 16:21:02 +02:00
  • da4ee821cb
    Merge 39a115e1c9 into 9cda3a8219 selfhoster1312 2024-08-30 16:14:43 +02:00
  • 9cda3a8219 curl tests: misc fixes after tests on the battefield Alexandre Aubin 2024-08-30 15:40:13 +02:00
  • 6d96c6ad0e curl tests: unintended variable redefinition Alexandre Aubin 2024-08-29 18:26:36 +02:00
  • 675c6297e5 Black all the things! Alexandre Aubin 2024-08-29 18:18:49 +02:00
  • f030296f96
    Merge pull request #169 from YunoHost/curl-tests Alexandre Aubin 2024-08-29 18:07:32 +02:00
  • d34349ec93 curl tests: implement support for logged_on_sso on bullseye instead of just bookworm Alexandre Aubin 2024-08-29 17:49:59 +02:00
  • 83a4ef3f64 curl tests: ignore yunohost-injected css/js when testing app assets Alexandre Aubin 2024-08-29 15:22:31 +02:00
  • 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) Alexandre Aubin 2024-08-29 15:11:07 +02:00
  • 39a115e1c9 Add a lib/update_readme.py script to update the usage section selfhoster1312 2024-08-26 11:42:56 +02:00
  • 2c6bb5d8fe Improve the README setup to mention incus selfhoster1312 2024-08-26 10:07:52 +02:00
  • 4505d05976 Add a -v/--verbose flag to print debug output selfhoster1312 2024-08-25 21:28:23 +02:00
  • a97d0bdc01 Fail startup/network timeout earlier. Exit whole test suite. selfhoster1312 2024-08-25 18:30:32 +02:00
  • 7abb550982
    Merge pull request #164 from selfhoster1312/detect-incus Alexandre Aubin 2024-08-25 18:19:05 +02:00
  • 1d5b0ac62c curl tests: more smarter logging Alexandre Aubin 2024-08-25 15:12:40 +02:00
  • 11aa602097 curl tests: fix tests during upgrade from older versions Alexandre Aubin 2024-08-25 15:02:28 +02:00
  • 28b83f5f95 curl tests: fix default tests and display Alexandre Aubin 2024-08-25 13:04:27 +02:00
  • a5b35d218d curl tests: reduce verbosity Alexandre Aubin 2024-08-25 12:12:29 +02:00
  • c705b6b171 curl tests: forgot to return the result code Alexandre Aubin 2024-08-25 12:06:29 +02:00
  • 2490e35731 Autodetect incus/lxd unless specific YNHDEV_BACKEND selfhoster1312 2024-08-25 10:15:57 +02:00
  • 8db653ea9e
    Merge pull request #163 from selfhoster1312/update-gitignore Alexandre Aubin 2024-08-25 10:13:52 +02:00
  • 6bae4a09c7 Add more entries to the .gitignore file selfhoster1312 2024-08-25 10:11:23 +02:00
  • 831d869e64 curl tests: be able to use __DOMAIN__ in the base url Alexandre Aubin 2024-08-25 10:06:23 +02:00
  • 0cee21e5de Fix logger calls typo lost in refactoring or something Alexandre Aubin 2024-08-25 09:43:41 +02:00
  • 0739f61fed Fix noslash test Alexandre Aubin 2024-08-24 20:07:19 +02:00
  • 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 Alexandre Aubin 2024-08-24 19:34:40 +02:00
  • f9d42bf379 We shou;dn't need guess_test_configuration anymore because tests.toml is mandatory Alexandre Aubin 2024-08-22 13:42:00 +02:00
  • cef5c96090 Revert part of the changes in previous commit because we still need to be able to test upgrades from packaging v1 Alexandre Aubin 2024-08-22 13:40:10 +02:00
  • 31a946f29f
    Merge 97f9693d48 into b3fe86ea96 Tagada 2024-08-16 16:00:19 +02:00
  • b3fe86ea96 Trash legacy packaging v1 stuff Alexandre Aubin 2024-08-16 15:38:13 +02:00
  • 451cc9c248
    Merge a3f62cf101 into 127ffc18f3 Jens Diemer 2024-08-16 15:22:54 +02:00
  • 106caab293
    Merge 9584b9551b into 127ffc18f3 Jakub Pieńkowski 2024-08-16 15:22:54 +02:00
  • 127ffc18f3
    Merge pull request #162 from YunoHost/storage_dir Salamandar 2024-07-15 11:05:35 +02:00
  • 297b895470 Also allow YNH_PACKAGE_CHECK_STORAGE_DIR to be passed as an environment variable storage_dir Félix Piédallu 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 Félix Piédallu 2024-07-15 10:45:31 +02:00
  • d9f60a9c7d Adapt 'is_webapp' check to also cover helpers 2.1 Alexandre Aubin 2024-06-25 14:27:24 +02:00
  • 0794d5967f
    Merge pull request #161 from YunoHost/fix-bookworm-Yunohost-Portal-detection Alexandre Aubin 2024-06-24 17:18:27 +02:00
  • dd92428819
    Update lib/tests.sh Kayou 2024-06-24 17:17:08 +02:00
  • a3f9ccd4ec
    fix Yunohost Portal detection on bookworm Kayou 2024-06-24 17:11:16 +02:00
  • 99e670fbb4
    Merge pull request #160 from YunoHost/fix-install-args Alexandre Aubin 2024-06-24 15:34:17 +02:00
  • 8b4c2133cc
    add key=value args if not present in install_app script Kayou 2024-06-24 15:32:52 +02:00
  • 77b3b4e9d5
    Merge pull request #158 from YunoHost/main_branch Salamandar 2024-05-20 20:59:11 +02:00
  • b97296eb77 Run resource metrics inside container. Félix Piédallu 2024-05-20 19:13:55 +02:00
  • 08c7881557 Run resource metrics inside container. Félix Piédallu 2024-05-20 19:13:55 +02:00
  • aaca713790 Fix stupid edge case where people add comment after [install.foobar] when parsing the manifest arg list Alexandre Aubin 2024-05-19 14:06:38 +02:00
  • 97f9693d48 Naive attempt to use eatmydata eatmydata Tagada 2024-03-31 20:57:49 +02:00
  • 211ec2aefd support main branch for app to test as git repository Félix Piédallu 2024-03-23 19:01:26 +01:00
  • 2c5362c631 cleanup markdown, add instructions for a btrfs pool btrfs Félix Piédallu 2024-03-15 22:52:57 +01:00
  • b9640a3ffb
    Merge pull request #156 from YunoHost/incus incus Salamandar 2024-03-15 19:45:20 +01:00
  • fc79adbed4 Support different syntaxes for lxc incus snapshot create / restore Félix Piédallu 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) Félix Piédallu 2024-03-06 22:55:17 +01:00
  • 5934139593 fix typo OniriCorpe 2024-03-07 03:00:59 +01:00
  • a10cd914da ci: add autoblacks actions OniriCorpe 2024-03-07 02:58:06 +01:00
  • 11bbec5b8d Add disk usage metrics based on df output Félix Piédallu 2023-12-13 11:27:56 +01:00
  • d1b7d4907f When testing for app page access, reuse cookies between requests. Félix Piédallu 2024-02-25 22:38:15 +01:00
  • c089fbe9ae fix typo OniriCorpe 2024-03-07 03:00:59 +01:00
  • 24a745dd89 ci: add autoblacks actions OniriCorpe 2024-03-07 02:58:06 +01:00
  • b3c5e6c00f When testing for app page access, reuse cookies between requests. Félix Piédallu 2024-02-25 22:38:15 +01:00
  • 42961ea755
    Merge pull request #153 from OniriCorpe/patch-1 Kayou 2024-02-20 07:51:07 +01:00
  • 074b79ea48
    Force current hour in UTC and show explicitly that we’re using UTC OniriCorpe 2024-02-20 03:30:25 +01:00
  • 17a37b5927
    Merge pull request #152 from Salamandar/fix_parse_tests Alexandre Aubin 2024-01-28 23:31:03 +01:00
  • 0fba05bb5f Ffs, add execution permission to script Félix Piédallu 2024-01-28 23:29:42 +01:00
  • 12412eb5a5
    Merge pull request #151 from Salamandar/fix_parse_tests Alexandre Aubin 2024-01-28 23:27:14 +01:00
  • 1b10f0ff76 Fix parse_tests_toml, oopsie on pathlib, and in the calling bash script Félix Piédallu 2024-01-28 23:22:00 +01:00
  • 815de69187
    Merge pull request #150 from Salamandar/rework Alexandre Aubin 2024-01-28 22:34:13 +01:00
  • a2e27999e6 parse_tests_toml: make a proper python script (chmod, shebang, argparse), use a bit typing Félix Piédallu 2024-01-28 20:43:41 +01:00
  • 68718c951c Rework a bit default_install_args.py, make a proper python script, use typing, split into 2 functions Félix Piédallu 2024-01-28 20:37:19 +01:00
  • dbe2441b0c
    Merge pull request #144 from YunoHost/yunopaste-on-failure Alexandre Aubin 2024-01-22 18:29:47 +01:00
  • 9584b9551b Allow overriding is_webapp parameter in tests.toml Jakub Pieńkowski 2024-01-22 16:15:59 +01:00
  • 7cdffc745c Fix boring issue with preinstalling apt dependencies in the context of transmission/cockpit: ignore apt dependencies starting with the app's id Alexandre Aubin 2024-01-22 16:00:29 +01:00