c93b46cc30
add ssh key to not need root user
2025-04-06 11:24:56 +02:00
820ae3ebb7
leave subprocess user implicit
2025-04-05 16:18:48 +02:00
7e109f3fc0
use root user as in #301 - given #297 seems to actually deploy!
2025-04-05 16:04:23 +02:00
771ae0ea6e
update mastodon host
2025-04-05 16:03:01 +02:00
7aa3e5f064
update nixpkgs to unstable - resolves manual deploy error on bootloader already on newer version
2025-04-05 15:35:37 +02:00
10069e7d1b
change ssh user to root
2025-04-05 15:35:23 +02:00
7c2155525d
use a mutable HOME in TF for nixos-anywhere to make a .ssh
dir in - will this not backfire?
2025-04-05 15:35:23 +02:00
603b09e45b
for now gitignore .auto.tfvars.json used to track TF module of nixos-anywhere
...
in case we want that file for something else, we can move this (and its
ignore) to something separate.
2025-04-05 15:35:23 +02:00
5b85c294ba
untrack TF generated provider/module stuff - local dev now requires following launch/README.md
2025-04-05 15:35:23 +02:00
f525257914
rm comment
2025-04-05 15:35:23 +02:00
7124bcf7bd
update nixos-anywhere to fix error 'installable ... does not correspond to a Nix language value'
2025-04-05 15:35:23 +02:00
5dc7215372
rm launch flake, as i seem to have reached similar progress without it
2025-04-05 15:35:23 +02:00
f00c14bfe2
get TF in prod to the same 'installable ... does not correspond to a Nix language value' for non-flakes
...
seemingly gets further when a similar command is tried from terminal.
as per https://github.com/NixOS/nix/issues/8752#issuecomment-1694714693 ,
this may have to do with aligning the current working directory.
2025-04-05 15:35:23 +02:00
33516a1b9e
document updating TF module
2025-04-05 15:35:23 +02:00
93840b37eb
update
2025-04-05 15:35:23 +02:00
827b771a98
specify XDG_CACHE_HOME, workaround to error writing to /var/empty/.cache
2025-04-05 15:35:23 +02:00
3cbacac2f1
skip tf lock in views.py over read-only nix env
2025-04-05 15:35:23 +02:00
23d87d7345
move tf init out of python over read-only nix env
2025-04-05 15:35:23 +02:00
31a079c8ab
properly pass repo dir for prod, be it with hard-coded TF init
2025-04-05 15:35:23 +02:00
0405677f0c
use flake-sourced nixos-anywhere in tf, to reproduce modules for nix
2025-04-05 15:35:23 +02:00
c2822e8fba
switch launch shell to root flake's nixpkgs, see #279
2025-04-05 15:35:23 +02:00
e4fa7909a2
Revert "deduplicate flake inputs"
...
This reverts commit 95769084ce
.
2025-04-05 15:35:23 +02:00
ab912805fb
make re-exports explicit again
2025-04-05 15:35:23 +02:00
c4fcb93857
deduplicate flake inputs
2025-04-05 15:35:23 +02:00
5a593f6f9e
tf
2025-04-05 15:35:23 +02:00
94420f112f
allow accessing test vms from fedi201's machine ssh key, closes #286
2025-04-05 13:54:51 +02:00
ea8c61a712
A bunch more test machines
2025-04-02 15:06:17 +02:00
af3b2a62fd
Create a configuration resource even if the service is disabled
2025-04-02 15:06:17 +02:00
535da821fd
Display url after deployment ( #287 )
...
closes #264
Added a clickable link to the services that deployed.
Reviewed-on: Fediversity/Fediversity#287
Reviewed-by: kiara Grouwstra <kiara@procolix.eu>
Co-authored-by: lois <lois@procolix.eu>
Co-committed-by: lois <lois@procolix.eu>
2025-04-02 08:48:59 +02:00
88674c8efc
Show if deployment succeeded ( #283 )
...
Show which services deployed and if so, the urls
Co-authored-by: kevin <kevin@procolix.com>
Reviewed-on: Fediversity/Fediversity#283
Reviewed-by: kiara Grouwstra <kiara@procolix.eu>
Co-authored-by: lois <lois@procolix.eu>
Co-committed-by: lois <lois@procolix.eu>
2025-03-28 13:36:02 +01:00
e25ff10872
Work around weird Proxmox behaviour with test02 ( #282 )
...
Reviewed-on: Fediversity/Fediversity#282
Reviewed-by: kiara Grouwstra <kiara@procolix.eu>
Co-authored-by: Nicolas “Niols” Jeannerod <nicolas.jeannerod@moduscreate.com>
Co-committed-by: Nicolas “Niols” Jeannerod <nicolas.jeannerod@moduscreate.com>
2025-03-27 15:48:35 +01:00
59f2ef1171
Remove print statements
2025-03-26 12:59:49 +01:00
7cfacc3306
Save before deployment
2025-03-26 12:56:52 +01:00
b4fbc457a6
Progress Indicator ( #259 )
...
closes #74
Show progress indicator to track deployment
- Disable deploy button when deployment is in progress.
Co-authored-by: kevin <kevin@procolix.com>
Reviewed-on: Fediversity/Fediversity#259
Reviewed-by: kiara Grouwstra <kiara@procolix.eu>
2025-03-26 10:14:06 +01:00
d78995b34c
make re-exports explicit again
...
Fediversity/Fediversity#269 (comment)
2025-03-25 08:43:45 +01:00
a5c310ad03
refactor variables ( #269 )
...
Reviewed-on: Fediversity/Fediversity#269
Reviewed-by: Valentin Gagarin <valentin.gagarin@tweag.io>
Co-authored-by: Kiara Grouwstra <kiara@procolix.eu>
Co-committed-by: Kiara Grouwstra <kiara@procolix.eu>
2025-03-24 10:04:43 +01:00
f8ac63853c
source htmx by nix ( #268 )
...
Reviewed-on: Fediversity/Fediversity#268
Reviewed-by: Valentin Gagarin <valentin.gagarin@tweag.io>
Co-authored-by: Kiara Grouwstra <kiara@procolix.eu>
Co-committed-by: Kiara Grouwstra <kiara@procolix.eu>
2025-03-24 08:41:16 +01:00
af18b39b63
clean up shebang of manage.py ( #271 )
...
Reviewed-on: Fediversity/Fediversity#271
Reviewed-by: Valentin Gagarin <valentin.gagarin@tweag.io>
Co-authored-by: Kiara Grouwstra <kiara@procolix.eu>
Co-committed-by: Kiara Grouwstra <kiara@procolix.eu>
2025-03-24 08:38:13 +01:00
de33e888c7
fix typo
2025-03-20 13:11:18 +01:00
658fa7ff60
add TODO, reformat
2025-03-20 13:09:46 +01:00
ee70a0026d
restore env vars in dev shell
2025-03-20 13:06:39 +01:00
1caf95dde1
fix CI
2025-03-20 12:56:25 +01:00
e13f24eba0
panel service: set NIX_BIN
2025-03-20 11:14:11 +01:00
ce5126c0fa
add CI tests for the panel
2025-03-20 10:57:58 +01:00
c98663ae71
pass nix binary explicitly rather than thru PATH
2025-03-20 09:44:24 +01:00
3700b6e383
remove option fediversity.eu ( #257 )
...
removing fediversity.eu from form options as its subdomains are running live services
Reviewed-on: Fediversity/Fediversity#257
Reviewed-by: Kevin Muller <kevin@procolix.com>
Co-authored-by: Kiara Grouwstra <kiara@procolix.eu>
Co-committed-by: Kiara Grouwstra <kiara@procolix.eu>
2025-03-19 16:01:03 +01:00
e3b816d85e
revert change on USER_SETTINGS_FILE, fixing dev shell
2025-03-19 10:22:52 +01:00
afbbcbc22d
simplify configuration via environment
2025-03-19 10:06:38 +01:00
c5fe0157b0
factor reading env vars out to settings.py
2025-03-19 09:51:23 +01:00
53d3791eaa
move NIX_DIR to env, making its use more explicit
2025-03-19 09:51:23 +01:00