about summary refs log tree commit diff
path: root/nixos/tests/discourse.nix
AgeCommit message (Collapse)AuthorFilesLines
2023-09-13nixosTests.discourse: Do not use deprecated fieldMarcel Müller1-1/+1
2023-02-09discourse.tests: nodes.discourse.config -> nodes.discoursetalyz1-4/+4
2022-07-17nixos/tests/discourse: Optimize with EROFSRobert Hensing1-0/+1
2021-10-28discourse.tests: Improve test performancetalyz1-0/+2
Massively reduce the time it takes running the test by building a proper root disk image and increasing the virtualized core count to 4. This should make it much easier for the tests to pass even on weaker systems. With my laptop (AMD Ryzen 7 PRO 2700U, 32GB RAM) as the reference system, I see the following test run times: - No change: 25 mins, 49 secs - Building a root image: 4 mins, 44 secs - Building a root image and bumping the core count: 3 mins, 6 secs The times include the time it takes to build the image (~40 secs).
2021-08-17discourse.tests: Test the appropriate discourse packagetalyz1-2/+2
Perform the tests on the package that the `tests` attribute is a child of, i.e. if `discourseAllPlugins.tests` is built, the tests will run with the `discourseAllPlugins` package, not the `discourse` package as previously.
2021-05-28nixos/discourse: Assert deployed PostgreSQL versiontalyz1-0/+2
Assert that the PostgreSQL version being deployed is the one used upstream. Allow the user to override this assertion, since it's not always possible or preferable to use the recommended one.
2021-04-05nixos/discourse: Add testtalyz1-0/+197