Commit graph

54 commits

Author SHA1 Message Date
Nicolas Jeannerod ecda4f249d Rework definition of “constants”
- make things such as `fediversity.garage.api.port` into actual options
  with the right default value
- move them under `fediversity.internal`

Co-authored-by: Taeer Bar-Yam <taeer.bar-yam@moduscreate.com>
2024-09-20 17:13:35 +02:00
Nicolas Jeannerod 29c86aedff s/types.string/types.str/
`types.string` was being used for too many thing so it got deprecated
and now there are several different string types. `types.str` is the one
where you don't want to merge definitions if it's defined in more than
one place

Co-authored-by: Taeer Bar-Yam <taeer.bar-yam@moduscreate.com>
2024-09-20 16:35:21 +02:00
Nicolas Jeannerod cf5139836e s/mkOption/mkEnableOption 2024-09-20 16:34:08 +02:00
Nicolas Jeannerod 492a199866 Factorise services URIs 2024-09-17 17:58:09 +02:00
Nicolas Jeannerod 61eb2d9081 Factorise Garage URIs 2024-09-17 17:52:54 +02:00
Nicolas Jeannerod 069b1ddb6c Move Fediversity modules under top-level module 2024-09-17 15:16:11 +02:00
Nicolas Jeannerod 4b379af4ff Move Fediversity modules into own subdirectory 2024-09-17 14:27:24 +02:00
Nicolas Jeannerod 059a76d933 Move VM-specific stuff in a subdirectory 2024-09-17 14:26:21 +02:00
Nicolas Jeannerod 813c1ca879 Some fixes to the Pixelfed/Garage test 2024-09-17 13:35:51 +02:00
Taeer Bar-Yam c2fd51baac stop threading email and password around as arguments 2024-09-10 08:50:54 -04:00
Nicolas Jeannerod 2dca2caca3 Wait until Garage is up by polling port 3900 2024-09-10 12:41:53 +00:00
Nicolas Jeannerod 9346bcca3d Check that src points to Garage 2024-09-10 12:17:32 +00:00
Taeer Bar-Yam 3652a443b1 test image gets uploaded to garage 2024-09-09 10:13:23 -04:00
Taeer Bar-Yam 5b26cfc7a9 nicer timing for video 2024-09-09 10:13:13 -04:00
Taeer Bar-Yam a2da2f48b2 use fediversity logo 2024-09-09 10:12:54 -04:00
Nicolas Jeannerod a49a2b57df Run Magick on the server but with right path 2024-09-09 14:25:42 +02:00
Nicolas Jeannerod 2f44a729c2 Follow things graphically 2024-09-09 14:23:05 +02:00
Nicolas Jeannerod 680f54f7d5 Fix logging and Selenium script 2024-09-09 14:23:05 +02:00
Nicolas Jeannerod b38ec1a62a Cleanup 2024-09-09 14:23:05 +02:00
Taeer Bar-Yam a245729765 patch pixelfed to give nginx read permissions
this way we don't need DANGEROUSLY_SET_FILESYSTEM_DRIVER
2024-09-05 12:03:35 -04:00
Taeer Bar-Yam b24411f44b this configuration also works (without nginx config) 2024-09-05 11:06:55 -04:00
Nicolas Jeannerod e4d84d7881 Run pixelfed-data-setup only after ensure-garage 2024-09-05 15:33:47 +02:00
Nicolas Jeannerod 60cf77e66e Make ensure-garage a oneshot service 2024-09-05 15:32:34 +02:00
Nicolas Jeannerod 1932a131e0 Proxy Garage backend 2024-09-05 13:05:29 +02:00
Nicolas Jeannerod afb8d56dd6 DANGEROUSLY fix everything 2024-09-04 18:30:55 +02:00
Taeer Bar-Yam 7b204eb2ce some more ignores 2024-09-02 12:10:01 -04:00
Taeer Bar-Yam 1a92108475 attempt to access garage storage correctly
nginx was trying to access the files on disk, rather than via s3 storage
2024-09-02 12:09:10 -04:00
Taeer Bar-Yam f8af95f9ab garage defaults
without this ensureKeys and ensureBuckets Must be set or nixos won't
build
2024-09-02 12:08:14 -04:00
Taeer Bar-Yam d1691e4c8b fix typo 2024-09-02 12:07:25 -04:00
Nicolas Jeannerod cd277c0e98 WIP 2024-08-30 17:23:55 +02:00
Taeer Bar-Yam 5fd5c37834 use rebuildable_tests branch of nixpkgs for now 2024-08-28 08:39:36 -04:00
Taeer Bar-Yam e6dde31148 don't use local nixpkgs 2024-08-28 08:38:02 -04:00
Taeer Bar-Yam 353c0a7ffa separate vm.nix files for vm-specific configuration 2024-08-28 08:35:48 -04:00
Taeer Bar-Yam 366a67e112 update readme 2024-07-25 07:49:22 -04:00
Taeer Bar-Yam 941d3bf2a9 fix CSP check 2024-07-25 07:45:57 -04:00
Taeer Bar-Yam bddfd95ee4 cleanup 2024-07-25 06:06:02 -04:00
Taeer Bar-Yam acc4a1a2ef better error messages 2024-07-23 09:43:18 -04:00
Taeer Bar-Yam 0f8972a8f0 for now, we have to stop using vmVariant so the test works 2024-07-18 08:22:47 -04:00
Taeer Bar-Yam dab12bc2b8 interactive test is working 2024-07-18 06:44:13 -04:00
Taeer Bar-Yam 693e21b1a8 first stab at a nixos test
for now, had to get rid of vmVariant. we can figure out how to add it
back when we understand how we should actually distinguish between
real machines and VMs
2024-06-25 06:39:04 -04:00
Taeer Bar-Yam 4e719da9d9 address roberth comments
SEE
https://git.fediversity.eu/taeer/simple-nixos-fediverse/compare/main...roberth:review
2024-06-06 07:10:19 -04:00
Taeer Bar-Yam 2c7e3603b8 better documentation and readme 2024-05-24 19:02:12 -04:00
Taeer Bar-Yam af6e76134a peertube data in s3 storage 2024-04-03 08:40:19 -04:00
Taeer Bar-Yam 48084fa688 options for ensuring garage buckets 2024-03-27 05:59:50 -04:00
Taeer Bar-Yam 5fd1e115a0 basic s3 garage setup for mastodon
it's still having trouble fetching stored images for some reason
2024-03-27 05:58:38 -04:00
Taeer Bar-Yam 907a9c9494 get all the services working together 2024-03-20 05:24:31 -04:00
Taeer Bar-Yam 1b0fcff9fb fix mastodon (why was it broken??) 2024-03-20 05:23:57 -04:00
Taeer Bar-Yam 3e4ab1ecf6 simple pixelfed & redo readme 2024-03-19 20:39:59 -04:00
Taeer Bar-Yam 8c40168532 minimal peertube VM 2024-03-19 19:43:20 -04:00
Taeer Bar-Yam dc6e4936ed don't require proxy server 2024-03-06 09:16:35 -05:00