about summary refs log tree commit diff
path: root/nixos/tests/pleroma.nix
AgeCommit message (Collapse)AuthorFilesLines
2023-11-16nixosTests.pleroma: un-vendor tootFélix Baylac Jacqué1-13/+1
Upstream released 0.38.2. This new release contains the pleroma fix we previously were getting from master. We don't need this override anymore to get the test to succeed. https://github.com/ihabunek/toot/issues/399#issuecomment-1814712723
2023-11-14nixosTests/pleroma: fix testFélix Baylac Jacqué1-3/+18
Two issues: 1. We need a subjectAltName on the TLS cert. Stolen from the akkoma test. <3 illdefined 2. There's a bug in the current toot release wrt. date parsing. It's been fixed upstream but it's not been released yet. Using the current toot master for this VM test to work around this. Note: I warned upstream we'd need a new toot release. Fixes https://github.com/NixOS/nixpkgs/issues/264951
2023-03-03nixosTests/pleroma: node.xx.config -> node.xxFélix Baylac Jacqué1-2/+2
Accessing a test driver node configuration via node.xxx.config is now deprecated. Migrating to the new API.
2022-05-06nixosTests.pleroma: fix test, remove toot patchFélix Baylac-Jacqué1-19/+5
Initially applied via e7f6370701a3e65082e67cd0f9696bcd32c2e9ec, then reverted by 96aaf29234d4dd39d3fcd49452039269f4730f4f. Re-applying this patch: the pleroma NixOS test is broken without it. It was originally impossible to login in toot without having an interactive shell. I opened https://github.com/ihabunek/toot/pull/180 upstream to fix that and fetch this patch for this test. The author decided to fix the issue using a slightly different approach at https://github.com/ihabunek/toot/commit/a3eb5dca24e3efa8f16ebcdc4b7d635dc9af03b7 Because of this upstream fix, our custom patch does not apply anymore. Using that stdin-based login upstream feature. Pointing pleroma_ctl to the right RELEASE_COOKIE as well.
2022-05-06Revert "Merge pull request #164398 from NinjaTrappeur/nin/pleroma-wrappers"Yureka1-2/+18
This reverts commit 05417a66e7bfee5b0607a12eaf81db33a47a6afd, reversing changes made to 53e4f8d2376c68dfdd614a123d5da0a8b10cf3be.
2022-03-17nixosTests.pleroma: fix test, remove toot patchFélix Baylac-Jacqué1-18/+2
It was originally impossible to login in toot without having an interactive shell. I opened https://github.com/ihabunek/toot/pull/180 upstream to fix that and fetch this patch for this test. The author decided to fix the issue using a slightly different approach at https://github.com/ihabunek/toot/commit/a3eb5dca24e3efa8f16ebcdc4b7d635dc9af03b7 Because of this upstream fix, our custom patch does not apply anymore. Using that stdin-based login upstream feature.
2021-11-21nixos/qemu-vm: default memorySize 384 -> 1024Artturin1-1/+0
the default hasn't been changed since 2009 this can improve our test performances nixos/tests: remove explicit memorySize <1024 1024MiB is now the default
2021-08-15treewide: runCommandNoCC -> runCommandRobert Hensing1-1/+1
This has been synonymous for ~5y.
2021-08-09nixosTests.pleroma: increase server memory sizeFélix Baylac-Jacqué1-0/+1
The server VM machine is sometimes OOMing, making the test flaky. Increasing the memory size to 512MB fixes the issue.
2021-08-09nixosTests.pleroma: increase certificate validity durationFélix Baylac-Jacqué1-1/+1
Analogous to 6325d15e9001a5cfd3bb7ee901adeed28d844dd6. The test certificate expiration date was set to the default 30 days. This certificate is generated through its own derivation. As with every derivation, it gets cached by cache.nixos.org once we build it. In practice, we rebuild this derivation only if one of its input changes. The only inputs here being openssl and stdenv. While it's not an issue on the unstable branches, it can be problematic on a stable release: the test will fail after 30 days. Extending the certificate lifespan from 1 month to 100 years to prevent it from getting expired while being cached.
2021-01-26nixos/pleroma: add NixOS VM test.Félix Baylac-Jacqué1-0/+265