Commit Graph

1258 Commits

Author SHA1 Message Date
b2422f9c74
zerotier: write hostname to file 2023-11-14 17:45:30 +01:00
6cb41cb006
also regenerate secrets if a fact is missing
All checks were successful
checks-impure / test (pull_request) Successful in 1m36s
checks / test (pull_request) Successful in 2m48s
2023-11-14 17:07:58 +01:00
b9618e57c5
fix exception when file does not exist
All checks were successful
checks-impure / test (pull_request) Successful in 1m40s
checks / test (pull_request) Successful in 2m55s
fixes #488
2023-11-14 16:57:05 +01:00
19d7f17310
add cors headers in exception handler in cors
All checks were successful
checks-impure / test (pull_request) Successful in 1m36s
checks / test (pull_request) Successful in 2m51s
2023-11-14 16:39:20 +01:00
18627baa9c
only enable corsmiddleware when in dev mode and allow all origins
All checks were successful
checks-impure / test (pull_request) Successful in 1m37s
checks / test (pull_request) Successful in 2m48s
2023-11-14 15:32:03 +01:00
b2bbddd1f9 Merge pull request 'enable meshnamed in zerotier module' (#504) from Mic92-sops-nix into main
All checks were successful
assets1 / test (push) Successful in 23s
checks-impure / test (push) Successful in 1m31s
checks / test (push) Successful in 1m44s
2023-11-14 13:42:43 +00:00
d2303df18b
enable meshnamed in zerotier module
All checks were successful
checks-impure / test (pull_request) Successful in 1m54s
checks / test (pull_request) Successful in 2m1s
2023-11-14 14:40:26 +01:00
df363a8cfb Merge pull request 'zerotier: add leading zeros at subnet' (#503) from Mic92-sops-nix into main
All checks were successful
assets1 / test (push) Successful in 20s
checks-impure / test (push) Successful in 1m31s
checks / test (push) Successful in 1m44s
2023-11-14 13:28:13 +00:00
cf9f24a3b2 zerotier: add leading zeros at subnet
All checks were successful
checks-impure / test (pull_request) Successful in 1m55s
checks / test (pull_request) Successful in 1m59s
2023-11-14 14:25:58 +01:00
a314f8390c Merge pull request 'zerotier: compute ipv6 subnets' (#502) from Mic92-sops-nix into main
All checks were successful
assets1 / test (push) Successful in 23s
checks-impure / test (push) Successful in 1m33s
checks / test (push) Successful in 1m46s
2023-11-14 13:09:26 +00:00
99649f77d4 zerotier: compute ipv6 subnets
All checks were successful
checks-impure / test (pull_request) Successful in 1m56s
checks / test (pull_request) Successful in 2m3s
2023-11-14 14:04:05 +01:00
f34abb0034 Merge pull request 'drop zerotier-subnet, we can compute this.' (#501) from Mic92-sops-nix into main
All checks were successful
assets1 / test (push) Successful in 23s
checks-impure / test (push) Successful in 1m38s
checks / test (push) Successful in 1m47s
2023-11-14 12:53:18 +00:00
5d41bcee7f drop zerotier-subnet, we can compute this.
All checks were successful
checks-impure / test (pull_request) Successful in 1m58s
checks / test (pull_request) Successful in 1m58s
2023-11-14 13:50:44 +01:00
f2e2d50c06 Merge pull request 'add module for meshnamed' (#499) from Mic92-sops-nix into main
All checks were successful
assets1 / test (push) Successful in 22s
checks-impure / test (push) Successful in 1m35s
checks / test (push) Successful in 2m49s
2023-11-14 12:01:26 +00:00
bdc8ef63ed add module for meshnamed
All checks were successful
checks / test (pull_request) Successful in 47s
checks-impure / test (pull_request) Successful in 1m39s
2023-11-14 12:58:15 +01:00
eb788393e6 update flake lock
All checks were successful
checks-impure / test (pull_request) Successful in 1m53s
checks / test (pull_request) Successful in 1m58s
2023-11-14 11:29:43 +01:00
b47e38271e Merge pull request 'api/machines: add test ensuring empty config is valid' (#497) from DavHau-dave into main
All checks were successful
assets1 / test (push) Successful in 22s
checks / test (push) Successful in 45s
checks-impure / test (push) Successful in 1m30s
2023-11-13 14:59:51 +00:00
2dcdf738ce api/machines: add test ensuring empty config is valid
All checks were successful
checks-impure / test (pull_request) Successful in 1m31s
checks / test (pull_request) Successful in 2m47s
2023-11-13 21:56:02 +07:00
ace0ae5c49 Merge pull request 'api/machines: allow config verification on imaginary machines' (#496) from DavHau-dave into main
All checks were successful
assets1 / test (push) Successful in 22s
checks / test (push) Successful in 46s
checks-impure / test (push) Successful in 1m28s
2023-11-13 14:29:11 +00:00
6a52c5f15b api/machines: allow config verification on imaginary machines
All checks were successful
checks-impure / test (pull_request) Successful in 1m37s
checks / test (pull_request) Successful in 2m39s
Machines do not need to exist in order to verify their configuration.

This allows verifying a config before creating an actual machine with it.
2023-11-13 21:24:05 +07:00
7eb664fd08 Merge pull request 'api/machines: verify config by evaluating the .vm output' (#495) from DavHau-dave into main
All checks were successful
assets1 / test (push) Successful in 39s
checks / test (push) Successful in 46s
checks-impure / test (push) Successful in 1m31s
2023-11-13 13:53:42 +00:00
55a1df7868 api/machines: verify config by evaluating the .vm output
All checks were successful
checks-impure / test (pull_request) Successful in 1m33s
checks / test (pull_request) Successful in 2m34s
This fixes the problem where fileSystems were missing, or boot.loader was not set.

SInce we want VMs anyways for now, this strategy aligns well
2023-11-13 20:50:11 +07:00
f55fcc1551 update ui-assets.nix
All checks were successful
assets1 / test (push) Has been skipped
checks-impure / test (push) Has been skipped
checks / test (push) Has been skipped
2023-11-13 13:31:33 +00:00
8b60c68206 Merge pull request 'api/machines: init put_machine replacing create_machine and set_machine_config' (#494) from DavHau-dave into main
All checks were successful
checks / test (push) Successful in 48s
assets1 / test (push) Successful in 49s
checks-impure / test (push) Successful in 1m31s
2023-11-13 13:30:53 +00:00
1652b5c27b api/machines: init put_machine replacing create_machine and set_machine_config
All checks were successful
checks-impure / test (pull_request) Successful in 1m36s
checks / test (pull_request) Successful in 1m59s
This allows creating and configuring a machine in one single step.
2023-11-13 20:25:52 +07:00
2395119d21 task_manager.py: fix index out of range bug 2023-11-13 20:21:51 +07:00
14c4b99891 commit_file: fix diff computation
previously computed diff over all files
2023-11-13 19:59:20 +07:00
42dba72239 chore: remove unnecessary comment 2023-11-12 07:57:48 +07:00
236ca4f98c api/machines: ensure name is valid hostname 2023-11-12 07:57:48 +07:00
eec22d7d39 Merge pull request 'fix sops-nix override' (#492) from sops-nix into main
All checks were successful
assets1 / test (push) Successful in 21s
checks / test (push) Successful in 47s
checks-impure / test (push) Successful in 1m30s
2023-11-11 17:31:09 +00:00
b2998e2e94 fix sops-nix override
All checks were successful
checks-impure / test (pull_request) Successful in 1m40s
checks / test (pull_request) Successful in 2m32s
2023-11-11 18:28:18 +01:00
3a2c407ae0 update ui-assets.nix
All checks were successful
checks-impure / test (push) Has been skipped
checks / test (push) Has been skipped
assets1 / test (push) Has been skipped
2023-11-11 14:30:55 +00:00
4ed42540ba Merge pull request 'feat/configure-modules' (#490) from feat/configure-modules into main
All checks were successful
checks / test (push) Successful in 47s
assets1 / test (push) Successful in 49s
checks-impure / test (push) Successful in 1m31s
2023-11-11 14:30:16 +00:00
74c8b85e4a
fix type errors
All checks were successful
checks-impure / test (pull_request) Successful in 1m33s
checks / test (pull_request) Successful in 2m10s
2023-11-11 15:27:57 +01:00
7a02483534
merge main
Some checks failed
checks-impure / test (pull_request) Successful in 1m42s
checks / test (pull_request) Failing after 2m1s
2023-11-11 15:11:06 +01:00
d7476c967e
clean up join workflow 2023-11-11 15:01:18 +01:00
97b8c7a701
add & configure machine: added formular integration 2023-11-11 10:08:39 +01:00
04c754caad Merge pull request 'vms/create: drop extra flake argument and make it work with local flakes' (#487) from Mic92-zerotier into main
All checks were successful
assets1 / test (push) Successful in 31s
checks / test (push) Successful in 47s
checks-impure / test (push) Successful in 1m30s
2023-11-10 12:46:45 +00:00
54ede8a0ff vms/create: drop extra flake argument and make it work with local flakes
All checks were successful
checks-impure / test (pull_request) Successful in 1m54s
checks / test (pull_request) Successful in 2m59s
2023-11-10 13:43:14 +01:00
e1bccaa54f Merge pull request 'rename luispkgs to nixpkgs-for-deal' (#485) from zerotier into main
All checks were successful
assets1 / test (push) Successful in 24s
checks / test (push) Successful in 47s
checks-impure / test (push) Successful in 1m31s
2023-11-10 12:17:03 +00:00
c8e1acac2b rename luispkgs to nixpkgs-for-deal
All checks were successful
checks-impure / test (pull_request) Successful in 1m34s
checks / test (pull_request) Successful in 2m32s
2023-11-10 13:14:06 +01:00
4170fce7e8 Merge pull request 'move flake configuration to .config/clan/flakes rather than $XDG_DATA_DIRS' (#484) from zerotier into main
All checks were successful
assets1 / test (push) Successful in 22s
checks / test (push) Successful in 45s
checks-impure / test (push) Successful in 1m29s
2023-11-10 12:01:30 +00:00
c0be813a4c dirs: opportuniscally create directories
All checks were successful
checks-impure / test (pull_request) Successful in 1m39s
checks / test (pull_request) Successful in 2m35s
2023-11-10 12:55:46 +01:00
657cdd6e67 drop unused clan_data_dir 2023-11-10 12:55:46 +01:00
df1acebd87 move flake configuration to .config/clan/flakes rather than $XDG_DATA_DIRS
All checks were successful
checks-impure / test (pull_request) Successful in 1m34s
checks / test (pull_request) Successful in 2m31s
2023-11-10 12:50:51 +01:00
46191b9a9c drop unused ClanDataPath 2023-11-10 12:46:15 +01:00
d848298017 Merge pull request 'moving deal dependencies to tests only' (#483) from zerotier into main
All checks were successful
assets1 / test (push) Successful in 19s
checks / test (push) Successful in 45s
checks-impure / test (push) Successful in 1m30s
2023-11-10 11:43:45 +00:00
85a06d47e5 breakpoint_shell: make work_dir optional
All checks were successful
checks-impure / test (pull_request) Successful in 1m34s
checks / test (pull_request) Successful in 2m37s
2023-11-10 12:40:51 +01:00
13b685f7af moving deal dependencies to tests only
All checks were successful
checks-impure / test (pull_request) Successful in 1m33s
checks / test (pull_request) Successful in 2m50s
2023-11-10 12:39:24 +01:00
b518d92678 Merge pull request 'zerotier: allow to persist zerotier identities/ips/meshnames for non-controller' (#482) from zerotier into main
All checks were successful
assets1 / test (push) Successful in 22s
checks-impure / test (push) Successful in 1m33s
checks / test (push) Successful in 2m35s
2023-11-10 10:59:48 +00:00