Commit graph

58 commits

Author SHA1 Message Date
Nicolas Jeannerod 9be8232083
[HACK] comment out virtualisation 2024-09-20 18:25:21 +02:00
Nicolas Jeannerod c9665b927f
Move stuff from pixelfed-vm to pixelfed 2024-09-20 17:56:40 +02:00
Nicolas Jeannerod fa0a01f868 Use common options also in tests 2024-09-20 15:45:53 +00:00
Nicolas Jeannerod 43826e686b
Note on style choice for eg. fediversity.internal.pixelfed.domain 2024-09-20 17:20:31 +02:00
Nicolas Jeannerod 73939b9d87
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 d97772ccc4
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 2ff8975b6b
s/mkOption/mkEnableOption 2024-09-20 16:34:08 +02:00
Nicolas Jeannerod fb02afc6c9
Factorise services URIs 2024-09-17 17:58:09 +02:00
Nicolas Jeannerod 9d1f20fc1c
Factorise Garage URIs 2024-09-17 17:52:54 +02:00
Nicolas Jeannerod 7f99fc48dd
Move Fediversity modules under top-level module 2024-09-17 15:16:11 +02:00
Nicolas Jeannerod cc148ce57f
Move Fediversity modules into own subdirectory 2024-09-17 14:27:24 +02:00
Nicolas Jeannerod c455ec1667
Move VM-specific stuff in a subdirectory 2024-09-17 14:26:21 +02:00
Nicolas Jeannerod 83d8474f17
Some fixes to the Pixelfed/Garage test 2024-09-17 13:35:51 +02:00
Taeer Bar-Yam bc47154895 stop threading email and password around as arguments 2024-09-10 08:50:54 -04:00
Nicolas Jeannerod 03995ca922 Wait until Garage is up by polling port 3900 2024-09-10 12:41:53 +00:00
Nicolas Jeannerod 8205330341 Check that src points to Garage 2024-09-10 12:17:32 +00:00
Taeer Bar-Yam 8a09ba967a test image gets uploaded to garage 2024-09-09 10:13:23 -04:00
Taeer Bar-Yam 4178822ee2 nicer timing for video 2024-09-09 10:13:13 -04:00
Taeer Bar-Yam 5090927bcf use fediversity logo 2024-09-09 10:12:54 -04:00
Nicolas Jeannerod 36ed2c68f4
Run Magick on the server but with right path 2024-09-09 14:25:42 +02:00
Nicolas Jeannerod 0c230bd0a7
Follow things graphically 2024-09-09 14:23:05 +02:00
Nicolas Jeannerod e0a24404ae
Fix logging and Selenium script 2024-09-09 14:23:05 +02:00
Nicolas Jeannerod e894f0dcc8
Cleanup 2024-09-09 14:23:05 +02:00
Taeer Bar-Yam 1d8f514240 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 e7ffd94c5e this configuration also works (without nginx config) 2024-09-05 11:06:55 -04:00
Nicolas Jeannerod 553a03b971
Run pixelfed-data-setup only after ensure-garage 2024-09-05 15:33:47 +02:00
Nicolas Jeannerod 10a38cdf6d
Make ensure-garage a oneshot service 2024-09-05 15:32:34 +02:00
Nicolas Jeannerod e7b82d5c54
Proxy Garage backend 2024-09-05 13:05:29 +02:00
Nicolas Jeannerod bee71d541a
DANGEROUSLY fix everything 2024-09-04 18:30:55 +02:00
Taeer Bar-Yam 9d32782452 some more ignores 2024-09-02 12:10:01 -04:00
Taeer Bar-Yam dc06c54c31 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 5d504d0879 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 4ca18752b3 fix typo 2024-09-02 12:07:25 -04:00
Nicolas Jeannerod b9cf2d5e10
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