78d845d05d
set secret owner
2025-03-18 17:40:11 +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
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
3b6fcc2878
add NIX_DIR
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
7afae84b6c
Add pub key Lois
2025-03-12 12:01:50 +01:00
4db91bd0b7
Transmit initial user from JSON to services
2025-02-28 10:57:31 +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
9cc1e40b5d
Merge pull request 'deploy fedipanel' ( #201 ) from kiara/Fediversity:deploy-panel into main
...
Reviewed-on: Fediversity/Fediversity#201
Reviewed-by: Nicolas Jeannerod <nicolas.jeannerod@moduscreate.com>
2025-02-27 22:06:24 +01:00
0b18938eaa
Support specifying disk size
2025-02-27 16:45:11 +01:00
52e4dc8aec
Make ShellCheck happy
2025-02-27 16:45:11 +01:00
816099eb1f
Document regenerating the list of machines
2025-02-27 16:45:11 +01:00
8ba000307f
Generate list of machines from config
2025-02-27 16:45:11 +01:00
b42d654ab6
Track machines' descriptions
2025-02-27 16:45:11 +01:00
f34f2e45ab
Get panel config as a block - use eg. mastodon.enable
2025-02-27 11:43:44 +01:00
c66889f58f
Better naming of makeMakeDeployment
arguments
2025-02-27 11:35:55 +01:00
cbed66c934
Report errors in subprocesses
2025-02-27 11:35:55 +01:00
0c75a4053e
Report already deleted VM in a clean way
2025-02-27 11:35:55 +01:00
beb225faf7
Better logging of VM removal
2025-02-27 11:35:55 +01:00
e27cc6e96a
Generalise test deployment; get config from JSON
2025-02-27 11:35:54 +01:00
f828afd5d5
minimum setup i got working for deployment
2025-02-27 09:07:13 +01:00
e819dc4bcc
Stop mentioning non-existing deployments
2025-02-26 09:15:10 +01:00
90efd14e54
Remove unused VMs
...
This has been done in sync with @kevin who removed them from the
Procolix infrastructure as well.
2025-02-26 09:15:10 +01:00
e7e175ef78
Fix typo
2025-02-26 09:14:47 +01:00
1d4004ccf4
update fedipanel import references
2025-02-25 17:11:50 +01:00
6182ba192c
Make ShellCheck happy
2025-02-25 17:10:25 +01:00
d5264a52a1
panel: override STATIC_ROOT
2025-02-25 16:11:40 +01:00
3354c89503
WIP: deploy fedipanel
...
Closes #101
2025-02-25 16:11:40 +01:00
4e30363c5f
Generate list of machines from machines
subdir
2025-02-25 11:57:21 +01:00
2e346d1de7
Move test machines configuration to test-machines
directory
2025-02-25 11:57:21 +01:00
c74145fe24
Split machine definitions into subdirectories
2025-02-25 11:57:21 +01:00
3f9c174d97
Get rid of the deployment/
directory
2025-02-25 11:57:20 +01:00
f4153a048c
Reintroduce test machines deployment
2025-02-25 11:57:20 +01:00
f6960010cd
One deployment per machine; bundle test machines
2025-02-25 11:57:20 +01:00
bc8ad08228
Make removal script support ids or names
2025-02-25 11:57:20 +01:00
636e4636f7
Add test machines
2025-02-25 11:57:20 +01:00
cd47d884f7
Cleaner grabing of options
2025-02-25 11:57:20 +01:00
11fd13a982
Allow injecting a private key in the provisioned VM
2025-02-25 11:57:20 +01:00
bd270999f3
Integrate hostPublicKey
with the options
2025-02-25 11:57:20 +01:00
01e2fc8a6f
Update documentation accordingly
2025-02-25 11:57:12 +01:00
4ae3fc27be
Have the provisioning script grab options from the flake
2025-02-25 11:36:55 +01:00
4fda719992
Expose VM options in the flake
2025-02-25 11:36:55 +01:00
10874c995e
Split sections in options
2025-02-25 11:36:55 +01:00
af4a0a0784
Add options for sockets, cores and memory
2025-02-25 11:36:55 +01:00
71d1c612a4
Get rid of fedi300
...
It has been off for a long while now. We will just add a VM again if
there is one ever.
2025-02-25 11:36:54 +01:00
0813eca20c
Add options for Proxmox and Proxmox VM id
2025-02-25 11:36:54 +01:00