Commit graph

74 commits

Author SHA1 Message Date
Nicolas Jeannerod 042cb2d517
Move Garage VM stuff out of main file 2024-09-24 14:40:35 +02:00
Nicolas Jeannerod 050042d255
domainForBucket 2024-09-24 14:23:29 +02:00
Nicolas Jeannerod 6b45256839
s/urlFor/urlForBucket 2024-09-24 14:17:56 +02:00
Taeer Bar-Yam 51a294a659 acme fixup 2 2024-09-23 12:39:55 -04:00
Taeer Bar-Yam 2116ac6b27 acme fixup 2024-09-23 12:39:15 -04:00
Taeer Bar-Yam 3e4b486921 httpS 2024-09-23 12:22:40 -04:00
Taeer Bar-Yam db39623eeb ADD http:// to proxypass 2024-09-23 12:18:22 -04:00
Taeer Bar-Yam ffb941687a remove http:// from nginx server name 2024-09-23 12:14:40 -04:00
Taeer Bar-Yam 2657e2130f mv {,internal}port 2024-09-23 12:11:04 -04:00
Taeer Bar-Yam ca8310dce3 had two 'cfg's. changed one to 'fedicfg' 2024-09-23 12:09:16 -04:00
Taeer Bar-Yam e093632222 ; 2024-09-23 11:58:49 -04:00
Taeer Bar-Yam 2501c480fb proxy garage web to port 80 2024-09-23 11:55:54 -04:00
Nicolas Jeannerod 011f166fd3
Exceptionally use non-staging LetsEncrypt servers 2024-09-20 18:55:00 +02:00
Nicolas Jeannerod 3bb9569eb4
ACME 2024-09-20 18:51:21 +02:00
Nicolas Jeannerod 6323e0adc8
Also open HTTPS port 2024-09-20 18:44:47 +02:00
Nicolas Jeannerod 55a6377b12
Ignore errors of garage key import 2024-09-20 18:39:32 +02:00
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