Commit Graph

647 Commits

Author SHA1 Message Date
56f135faed
add pending-reviews script
All checks were successful
checks-impure / test (pull_request) Successful in 1m55s
checks / test (pull_request) Successful in 2m10s
2023-11-15 13:48:52 +01:00
7ec378ca62
tea-create-pr: automatic needs-review label
All checks were successful
checks-impure / test (pull_request) Successful in 1m50s
checks / test (pull_request) Successful in 2m13s
2023-11-15 12:55:30 +01:00
9358dfb666
drop verbose command logging in task manager
All checks were successful
checks-impure / test (pull_request) Successful in 1m35s
checks / test (pull_request) Successful in 1m46s
2023-11-15 07:21:26 +01:00
c1f6c0db66
pytest: add missing with-core marker 2023-11-15 07:21:26 +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
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
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
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
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
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
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
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
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
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
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
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
c28089d4b2 allow to persist zerotier identities/ips/meshnames for non-controller
All checks were successful
checks-impure / test (pull_request) Successful in 1m32s
checks / test (pull_request) Successful in 2m19s
2023-11-10 11:56:54 +01:00
39607a0925 api/schema: return list of missing modules
All checks were successful
checks-impure / test (pull_request) Successful in 1m58s
checks / test (pull_request) Successful in 2m48s
2023-11-10 15:07:15 +07:00
97ea9312ac api/schema: don't crash on eval error
All checks were successful
checks-impure / test (pull_request) Successful in 1m32s
checks / test (pull_request) Successful in 2m25s
2023-11-10 14:27:03 +07:00
b8ed607658 also override XDG_DATA_HOME in tests
otherwise tests will fail if XDG_DATA_HOME is set by a user
2023-11-09 17:45:24 +01:00
af0714132d clan: use .local/share as default for XDG_DATA_HOME 2023-11-09 17:45:24 +01:00
0206210b7e fix error message if clan flake does not exist 2023-11-09 17:44:44 +01:00
c194adc181 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-09 08:34:03 +00:00
2a6e329e40 api/schema: get schema without having a machine
All checks were successful
checks-impure / test (pull_request) Successful in 1m32s
checks / test (pull_request) Successful in 2m22s
Also done:
- add @pytest.mark.with_core indicating that a test depends on clan-core and cannot be cached
- separate unit tests into two derivations, ones that can be cached and ones that cannot.
- fix frontend typescript code
2023-11-09 15:30:25 +07:00
10e52699be Fixed wrong examples
All checks were successful
checks-impure / test (pull_request) Successful in 1m52s
checks / test (pull_request) Successful in 2m42s
2023-11-08 21:40:17 +01:00
ce90b02e06 Added deal as python dependency
All checks were successful
checks-impure / test (pull_request) Successful in 1m34s
checks / test (pull_request) Successful in 2m12s
2023-11-08 20:14:32 +01:00
7240727b26 Added deal contract framework and testing documentation
Some checks failed
checks-impure / test (pull_request) Successful in 1m32s
checks / test (pull_request) Failing after 2m11s
2023-11-08 19:56:07 +01:00
32aa287da5 Added schemathesis dependency 2023-11-08 19:56:05 +01:00
9cb46bf1cd Flake: Added python package deal as dependency 2023-11-08 19:55:11 +01:00
0e0803f000 package meshnamed
All checks were successful
checks / test (pull_request) Successful in 1m10s
checks-impure / test (pull_request) Successful in 1m45s
2023-11-08 14:32:49 +01:00
7e99454462 api/machines: better input/output validation
All checks were successful
checks-impure / test (pull_request) Successful in 1m28s
checks / test (pull_request) Successful in 2m11s
Also move contents tof 'config' to the top-level
2023-11-06 17:56:27 +07:00
7b3d3e20b4 clan-cli secrets: flake_name -> flake_dir
All checks were successful
checks / test (pull_request) Successful in 46s
checks-impure / test (pull_request) Successful in 1m26s
2023-11-05 16:58:48 +01:00
1cd7fed34d update ui-assets.nix
All checks were successful
checks-impure / test (push) Has been skipped
assets1 / test (push) Has been skipped
checks / test (push) Has been skipped
2023-11-04 14:13:47 +00:00