Commit graph

  • 9627a8c0a3 Make sure to generate the psql password to prevent warnings Alexandre Aubin 2024-01-10 22:06:18 +01:00
  • ac8108a352 Woopsies Alexandre Aubin 2024-01-10 21:44:31 +01:00
  • 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 ... Alexandre Aubin 2024-01-10 21:41:48 +01:00
  • 1dda43eef4 Zgrompf Alexandre Aubin 2024-01-10 21:22:35 +01:00
  • 2def397a8a Need those classic option for noninteractive apt etc.. Alexandre Aubin 2024-01-10 21:18:02 +01:00
  • 94abddf58d yolo: attempt to preinstall apt dependencies in the initial lxc snapshot Alexandre Aubin 2024-01-10 21:13:08 +01:00
  • 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' Alexandre Aubin 2024-01-08 19:37:01 +01:00
  • 3b76e5159a
    Merge pull request #148 from Salamandar/patch-1 Alexandre Aubin 2024-01-06 17:09:10 +01:00
  • 472e316a97
    Fix get_default_values Salamandar 2024-01-06 17:06:39 +01:00
  • 27c4baa97b Revert "..." Alexandre Aubin 2024-01-02 18:04:37 +01:00
  • 6953d958e6 ... Alexandre Aubin 2024-01-02 02:37:02 +01:00
  • fa38485328 Revert "More stupid debugging because i can't even" Alexandre Aubin 2024-01-01 23:49:49 +01:00
  • 1edcae1153 Revert "Add some debug because something funky seems to be happening with the value of check_path ..." Alexandre Aubin 2024-01-01 23:49:48 +01:00
  • 81ffd3b7bf More stupid debugging because i can't even Alexandre Aubin 2024-01-01 23:20:49 +01:00
  • 3e1708969e Add some debug because something funky seems to be happening with the value of check_path ... Alexandre Aubin 2024-01-01 22:38:44 +01:00
  • b8606ecc5e Fix a stupid issue in which a custom arg ending with _path would get its value replaced instead of the actual path é_è Alexandre Aubin 2023-12-31 18:08:18 +01:00
  • 38a2ea077e Add disk usage metrics based on df output Félix Piédallu 2023-12-13 11:27:56 +01:00
  • fee310b0b2 yolo: drop test for 'private' install on bookworm ... Alexandre Aubin 2023-11-23 21:10:16 +01:00
  • b23959a61a Publish logs with YunoPaste on failure Tagada 2023-09-26 18:54:41 +02:00
  • bea9c77046
    Merge pull request #143 from YunoHost/Tagadda-patch-1 Alexandre Aubin 2023-09-26 17:59:39 +02:00
  • 22dacd70fd
    Don't remove the app when install fails Tagada 2023-09-26 16:14:14 +02:00
  • 06107167bf
    Merge pull request #142 from orhtej2/patch-1 Alexandre Aubin 2023-09-25 13:13:58 +02:00
  • 62b7e02f12
    Don't create safety backup when testing upgrade. orhtej2 2023-09-25 12:59:20 +02:00
  • b8f23983d6 Previous commit was the other way around ... the real key used by bash script is install_args, the one from toml is 'args' Alexandre Aubin 2023-07-21 02:58:55 +02:00
  • 1ba05dda6d Add --dry-run option to debug what tests are going to be ran exactly Alexandre Aubin 2023-07-21 02:56:43 +02:00
  • 0b71d81f91 Fix args in test_upgrade_from not being taken into account because of confusion betweenaargs and install_args Alexandre Aubin 2023-07-21 00:09:02 +02:00
  • 3529409001 Fix config panel test ? Alexandre Aubin 2023-07-09 19:03:45 +02:00
  • d02957319a Yolo-add transversal test that config panel does work after install/upgrade/restore Alexandre Aubin 2023-07-09 16:03:44 +02:00
  • 7831c5fa1c And also ignore witness DB >_> Alexandre Aubin 2023-06-14 10:22:59 +02:00
  • 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 ... Alexandre Aubin 2023-06-14 08:23:02 +02:00
  • d00a1ce9ea
    Merge pull request #141 from YunoHost/check-the-ssowat-conf Alexandre Aubin 2023-03-03 11:28:12 +01:00
  • 300053fe12
    Check ssowat conf instead of turbo parsing manifest.json or manifest.toml Kay0u 2023-03-03 01:15:18 +01:00
  • 9af4091505
    stop using skipped_uris to force access of an app Kay0u 2023-03-03 00:35:48 +01:00
  • 06a1f367a7 metrics_stop messing with $? ... Alexandre Aubin 2023-02-24 17:39:39 +01:00
  • 7f45bf64ac Add default value for password-type args Alexandre Aubin 2023-02-24 16:25:06 +01:00
  • 1961b21f33
    Forget about level 9 Alexandre Aubin 2023-02-24 01:25:59 +01:00
  • f514824235 metrics: move the metric start/stop around the install/upgrade/restore command, because we want to avoid being polluted by snapshot create/restore ... Alexandre Aubin 2023-02-21 17:01:21 +01:00
  • fe56eb2de7 Lower the warning count complaining threshold now that postgresql warnings are hidden Alexandre Aubin 2023-02-21 16:51:12 +01:00
  • f35f74ae2e metrics: fix echo flooding the logs + improve messaging + report diff between start and end, not just peak Alexandre Aubin 2023-02-21 16:32:32 +01:00
  • 7ca73f80b4
    Merge pull request #136 from Salamandar/metrics Alexandre Aubin 2023-02-21 15:37:38 +01:00
  • e0c4766168 Complain about 'config file manually modified' thing in summary.png and for level 7 Alexandre Aubin 2023-02-14 18:11:23 +01:00
  • efc9313f87 tests.toml: fix upgrade name thingy Alexandre Aubin 2023-02-14 17:08:29 +01:00
  • 1cc96b9533 During test upgrade from another commit, fail immediately if that commit couldnt be checkedout Alexandre Aubin 2023-02-14 13:40:55 +01:00
  • caaf968b0d Zblefg apparently that ls-remote test doesnt work Alexandre Aubin 2023-02-13 21:01:54 +01:00
  • a4013e414d Annnd typo Alexandre Aubin 2023-02-13 20:59:38 +01:00
  • d95027ef22 More sanity checks Alexandre Aubin 2023-02-13 20:55:33 +01:00
  • 03cdffca88 Aaannd typo Alexandre Aubin 2023-02-13 20:51:33 +01:00
  • fc08a7e515 More sanity checks Alexandre Aubin 2023-02-13 20:49:41 +01:00
  • 19b401cd23 Add sanity checks the the LXC exists + initial snapshot exist instead of failing miserably later Alexandre Aubin 2023-02-13 20:45:26 +01:00
  • 96fb08b28e
    Merge 754fd57c84 into 90147c25c9 Gérard Collin 2023-02-13 11:00:00 +01:00
  • 90147c25c9 Try to add stupid sleep to mitigate issue where 'lxc exec' is stuck for no reason -_- Alexandre Aubin 2023-02-10 18:03:51 +01:00
  • 8144a1fac0 Actually ... ci-apps is still using lxd 4.10 which has empty status when the LXC is stopped Alexandre Aubin 2023-02-10 04:22:59 +01:00
  • 0e62de7b6b Don't complain so much about LXC failing to stop until we are at retry=3 Alexandre Aubin 2023-02-10 04:12:34 +01:00
  • 2ae3626050 Try to fix the witness shit blocking everything for some reason Alexandre Aubin 2023-02-08 20:51:52 +01:00
  • 38549cd336 More boring tricks about commands getting stuck forever.. Alexandre Aubin 2023-02-08 19:51:32 +01:00
  • 777cf44727 Add moar timeout because ffs a simple 'test -e' is getting stuck forever again Alexandre Aubin 2023-02-08 17:32:40 +01:00
  • caafd56fed Moar damn commands getting stuck forever for no reason... Alexandre Aubin 2023-02-07 12:50:04 +01:00
  • 865bb6223b Apparently that stupid 'In use' bug is a glitch and can be temporarily solved by restarting the LXD daemon :| Alexandre Aubin 2023-02-07 02:27:14 +01:00
  • 6024170dd5 --debug is wonderfully useless Alexandre Aubin 2023-02-07 02:23:26 +01:00
  • 964d95966c Try to add some --debug during lxc restore snapshot to understand what the fucking hell is 'in use' T_T Alexandre Aubin 2023-02-07 02:12:25 +01:00
  • 3cd3e0abd0 Random sleep might help idk -_- Alexandre Aubin 2023-02-07 02:03:44 +01:00
  • 63527b3032 zzz typoz Alexandre Aubin 2023-02-07 01:39:56 +01:00
  • 5db177ccc8 Fix retry mechanism ... add another retry mechanism for LXC_STOP ... Alexandre Aubin 2023-02-07 01:38:00 +01:00
  • 252a3abea4 Moar boring debug stuff -_-² Alexandre Aubin 2023-02-07 01:28:00 +01:00
  • 6a8699873c Moar boring debug stuff -_- Alexandre Aubin 2023-02-07 01:25:10 +01:00
  • 17f9308c25 Typo é_è Alexandre Aubin 2023-02-07 01:14:39 +01:00
  • 0b871d6bfa More boring stuff to try to hunt/fix the 'Error: in use' nightmare -_- Alexandre Aubin 2023-02-07 01:09:52 +01:00
  • a315eacfa7 Typos Alexandre Aubin 2023-02-07 00:03:26 +01:00
  • 5094fbee72 Typo :| Alexandre Aubin 2023-02-06 23:59:36 +01:00
  • ba3a19cfcd Add a damn retry system when failing to stop LXC or restore snapshot ... Alexandre Aubin 2023-02-06 23:58:12 +01:00
  • af359e9dfe
    Merge pull request #137 from YunoHost/moar-refactoring Alexandre Aubin 2023-02-06 18:33:24 +01:00
  • 83d4d8f292 tests.toml: fix issue when manifest contains questions with no default Alexandre Aubin 2023-02-03 15:19:38 +01:00
  • 9c5e62ad6d
    README: add test ids that can be used in exclude/only statement Alexandre Aubin 2023-02-03 15:06:55 +01:00
  • 754fd57c84
    Merge branch 'master' into RamFS-support Gérard Collin 2023-02-03 09:50:08 +01:00
  • 9fcc476cf3 Fix issue with curl hanging forever Alexandre Aubin 2023-02-03 02:01:20 +01:00
  • 67a628ad6e Force the use of most recent base LXC T.T Alexandre Aubin 2023-02-03 01:42:00 +01:00
  • 25a9c182c5 Added optional support for ramfs Gérard Collin 2023-01-28 10:14:06 +01:00
  • 25dadd002c Fixes after tests on the battlefield Alexandre Aubin 2023-01-28 04:13:46 +01:00
  • a65f16dd08 Moar refactoring Alexandre Aubin 2023-01-27 22:47:53 +01:00
  • f0e844d260 Add metrics measurements to tests runs Félix Piédallu 2023-01-20 14:00:54 +01:00
  • 6197e36e21
    Merge pull request #135 from Salamandar/int_to_enum Alexandre Aubin 2023-01-20 14:08:49 +01:00
  • 98f806b9ec Use text instead of integers for stop_timer argument Félix Piédallu 2023-01-20 13:46:36 +01:00
  • 7aa254d9fb
    Moar tests.toml Alexandre Aubin 2023-01-20 00:29:36 +01:00
  • d2529fee7e Tweak preinstall/preupgrade syntax + document new tests.toml syntax Alexandre Aubin 2023-01-20 00:26:40 +01:00
  • 6a0f807b35 We probably want to install python's toml lib automatically Alexandre Aubin 2023-01-20 00:06:15 +01:00
  • 8d57b15810
    Merge pull request #132 from YunoHost/support-v2-apps Alexandre Aubin 2023-01-19 22:31:58 +01:00
  • 8cd12dab76 Fixes from the battlefield Alexandre Aubin 2023-01-17 02:03:35 +01:00
  • 1a204c6593 Typo >_> Alexandre Aubin 2023-01-17 01:40:35 +01:00
  • 4aee9832db Split the horendous check_process parsing in legacy.sh Alexandre Aubin 2023-01-16 22:18:13 +01:00
  • 1c0cda8d08 Parse tests.toml if it exists Alexandre Aubin 2023-01-16 22:15:55 +01:00
  • fe2e0048ad Introduce a parse_tests_toml.py to interface with a modern replacement for horrendous check_process files Alexandre Aubin 2023-01-16 20:38:56 +01:00
  • 5e821aee23 Fixes /o\ Alexandre Aubin 2023-01-11 09:55:39 +01:00
  • 395bab657a Yoloimplement support for appsv2 Alexandre Aubin 2022-12-19 19:09:12 +01:00
  • 03f9f66db0
    Merge pull request #134 from selfhoster1312/no-pager Alexandre Aubin 2023-01-11 01:22:41 +01:00
  • 01227cf300
    Merge pull request #133 from YunoHost/drop-action-and-config-panel-code Alexandre Aubin 2023-01-11 01:22:17 +01:00
  • 932585fcf0 Don't let systemctl open a pager to list units, or it will hang in interactive terminal selfhoster1312 2023-01-10 19:09:49 +01:00
  • 34a4cb2541 Cleanup README Alexandre Aubin 2022-12-19 19:21:38 +01:00
  • cf5db062b8
    Merge 2adc1d98e7 into 711cfe5141 yalh76 2022-12-19 19:18:37 +01:00
  • 63d32001ea Drop old code that tested the old configpanel/actions mechanism Alexandre Aubin 2022-12-19 19:17:06 +01:00
  • 711cfe5141
    Merge pull request #119 from Tagadda/master Alexandre Aubin 2022-11-27 01:04:40 +01:00