78d845d05d
set secret owner
2025-03-18 17:40:11 +01:00
8eb87c1cfc
Spinner shows when deploy is clicked
2025-03-18 16:58:03 +01:00
523f438876
sepperate deploy proccess from page loading
2025-03-18 16:25:27 +01:00
bb9eef9078
Merge branch 'stitching' of git.fediversity.eu:kiara/Fediversity into stitching
2025-03-18 15:45:17 +01:00
1164518a48
Add infinite spinner
2025-03-18 15:42:07 +01:00
b409fd7719
move STATIC_ROOT, solves error ModuleNotFoundError
on missing django_pydantic_field
2025-03-18 14:46:22 +01:00
77cbc752a8
remove inputs parameter from fedipanel.nix
...
makes `nixops4 apply` go thru, tho the service still fails on `No module
named 'django_pydantic_field'`
2025-03-18 11:38:24 +01:00
3e2c83435d
import the regular way, fixing error: attribute 'age' missing
2025-03-18 09:56:08 +01:00
e3a7cdde96
comment fediversity.eu option as its subdomains named after our services are used for production instances
...
08d109cc82/services/fediversity/sharedOptions.nix (L44)
2025-03-18 09:56:08 +01:00
6275e8b2dc
pass in dummy initialUser to trigger orchestration from the panel
2025-03-18 09:56:08 +01:00
8fbe59af55
default form to .net as .eu subdomains are used for live services
2025-03-18 09:56:08 +01:00
0bd65f1ed5
add openssh to devshell, as seemingly needed to trigger nixops4 by flake in django
2025-03-18 09:56:08 +01:00
fbd1f2f576
move from documenting to automating configurable-impure-env
2025-03-18 09:56:08 +01:00
29f841d1db
pass flake path as inputs.self.outPath?
2025-03-18 09:56:08 +01:00
b0a8690511
WIP: change env to environment
2025-03-18 09:56:08 +01:00
7b77e2ad72
use imputs over self
2025-03-18 09:56:08 +01:00
4987e9f530
pass self
thru in flake
2025-03-18 09:56:08 +01:00
f39f5d295a
Remove addding nixpkgs (did not fix the issue)
2025-03-18 09:56:08 +01:00
7b6e8fa9ba
Pass REPO_DIR implicitly
2025-03-18 09:56:08 +01:00
3b6fcc2878
add NIX_DIR
2025-03-18 09:56:08 +01:00
bc670296d7
Convert configuration form to json
...
WIP: Get nix in scope
2025-03-18 09:56:08 +01:00
9c40fd0bfb
WIP: trigger nixops from panel
...
Closes #76 .
Note I had not yet manage to successfully test this.
Manually trying the parameterized NixOps4 I tried using the following
command, tho I had yet to get this to work as well:
```sh
DEPLOYMENT='{"domain": "fediversity.net", "mastodon": {"enable": false},
"pixelfed": {"enable": true}, "peertube": {"enable": false}}' nix
develop --extra-experimental-features "configurable-impure-env"
--command nixops4 apply test
```
(or rather, I used a hardcoded Nix here so as to make it not use Lix.)
So far this had failed for me with:
```
the following units failed:
acme-mastodon.web.garage.fediversity.net.service
...
nixops4 error: Failed to create resource garage-configuration
```
2025-03-18 09:56:08 +01:00
98c4490b4e
update fedi201 host public key ( #251 )
...
this is a hack in order to be able to redeploy; that machine was still provisioned
manually
Reviewed-on: Fediversity/Fediversity#251
2025-03-18 09:51:27 +01:00
f50ee049f2
import the regular way, fixing error: attribute 'age' missing
2025-03-17 15:13:23 +01:00
e872b3fde0
comment fediversity.eu option as its subdomains named after our services are used for production instances
...
08d109cc82/services/fediversity/sharedOptions.nix (L44)
2025-03-17 15:13:23 +01:00
42a0a798e7
pass in dummy initialUser to trigger orchestration from the panel
2025-03-17 15:13:23 +01:00
98b3947a8e
default form to .net as .eu subdomains are used for live services
2025-03-17 15:13:23 +01:00
7c5259181f
add openssh to devshell, as seemingly needed to trigger nixops4 by flake in django
2025-03-17 15:13:23 +01:00
782bbc4d8e
move from documenting to automating configurable-impure-env
2025-03-17 15:13:23 +01:00
2a8ae9d320
pass flake path as inputs.self.outPath?
2025-03-17 15:13:23 +01:00
5355e57378
WIP: change env to environment
2025-03-17 15:13:23 +01:00
76ff180ca7
use imputs over self
2025-03-17 15:13:23 +01:00
ae08673c1b
pass self
thru in flake
2025-03-17 15:13:23 +01:00
e86712beec
Remove addding nixpkgs (did not fix the issue)
2025-03-17 15:13:23 +01:00
cc5101063b
Pass REPO_DIR implicitly
2025-03-17 15:13:23 +01:00
6bc3016585
add NIX_DIR
2025-03-17 15:13:23 +01:00
fcbbce0405
Convert configuration form to json
...
WIP: Get nix in scope
2025-03-17 15:13:23 +01:00
1411136f75
WIP: trigger nixops from panel
...
Closes #76 .
Note I had not yet manage to successfully test this.
Manually trying the parameterized NixOps4 I tried using the following
command, tho I had yet to get this to work as well:
```sh
DEPLOYMENT='{"domain": "fediversity.net", "mastodon": {"enable": false},
"pixelfed": {"enable": true}, "peertube": {"enable": false}}' nix
develop --extra-experimental-features "configurable-impure-env"
--command nixops4 apply test
```
(or rather, I used a hardcoded Nix here so as to make it not use Lix.)
So far this had failed for me with:
```
the following units failed:
acme-mastodon.web.garage.fediversity.net.service
...
nixops4 error: Failed to create resource garage-configuration
```
2025-03-17 15:13:23 +01:00
4d748c91d7
remove paragraph: Configuration schema version, following #247
2025-03-17 14:11:58 +01:00
08d109cc82
Remove versions
2025-03-13 15:31:09 +01:00
e41f9c572a
add basic service configuration ( #236 )
...
- test the form interaction for a fixed schema version
- also add a database migration missed in the last commit
Closes #73
Reviewed-on: Fediversity/Fediversity#236
Co-authored-by: Valentin Gagarin <valentin.gagarin@tweag.io>
Co-committed-by: Valentin Gagarin <valentin.gagarin@tweag.io>
2025-03-13 15:28:54 +01:00
607b17a10a
rekey for public key lois
2025-03-12 14:34:57 +01:00
7afae84b6c
Add pub key Lois
2025-03-12 12:01:50 +01:00
9dd92b4cc1
basic versioned forms
...
this is still rudimentary since the actual forms are not auto-generated
from the underlying model. the comments show a path towards that.
2025-03-06 11:47:26 +01:00
981ba011ab
store versioned configurations
...
Test manually:
```shell-session
$ manage shell
>>> from panel.models import Configuration
>>> Configuration().value
'{"enable":false,"domain":"fediversity.eu"}'
>>> Configuration().save()
>>> Configuration.objects.first().parsed_value
Configuration(enable=False, domain=<Domain.EU: 'fediversity.eu'>)
```
2025-03-05 09:32:03 +01:00
438f7d280a
add django-pydantic-field
2025-03-05 09:00:18 +01:00
cba66d1b8b
allow adding extra Python packages
2025-03-05 08:57:55 +01:00
4db91bd0b7
Transmit initial user from JSON to services
2025-02-28 10:57:31 +01:00
086a69ac53
Support injecting initial user in Pixelfed service
2025-02-28 10:56:22 +01:00
6e386a9fd6
Merge pull request 'Generate machines' list automatically' ( #209 ) from Niols/Fediversity:generate-machines-list-by-hand into main
...
Reviewed-on: Fediversity/Fediversity#209
Reviewed-by: kiara Grouwstra <kiara@procolix.eu>
2025-02-27 22:06:57 +01:00