Jörg Thalheim
6037ad1ce0
move FlakeId to flake id
...
move FlakeId to flake id
2024-07-03 18:28:55 +02:00
clan-bot
842d9a360c
Merge pull request 'refactor-machine' ( #1691 ) from refactor-machine into main
2024-07-03 10:48:09 +00:00
Jörg Thalheim
2f1dac6962
make machine class now a dataclass
2024-07-03 12:34:43 +02:00
Johannes Kirschbauer
3227de583f
API: tests for module instance update
2024-07-02 16:09:13 +02:00
Jörg Thalheim
cc3f99bfaa
simplify clan uri further
2024-07-02 12:52:10 +02:00
clan-bot
4d6b84f71c
Merge pull request 'remove unused multi machine clan urls' ( #1687 ) from Mic92-main into main
2024-07-02 10:26:14 +00:00
Jörg Thalheim
ae8cff57aa
remove unused multi machine clan urls
2024-07-02 12:20:30 +02:00
Johannes Kirschbauer
c73a5e87d4
API: remove performance constraints
2024-07-02 12:15:37 +02:00
Johannes Kirschbauer
9307ca68eb
API: add performance constraints
2024-07-02 12:07:45 +02:00
clan-bot
6cf0cc491e
Merge pull request 'machines/machines: drop unused qmp wrapper' ( #1683 ) from Mic92-main into main
2024-07-02 10:01:43 +00:00
Jörg Thalheim
54cec7f772
remove unused MachineParams
2024-07-02 11:57:39 +02:00
Johannes Kirschbauer
2996ab5941
api: clan Modules add readme content
2024-07-02 11:45:48 +02:00
clan-bot
bd7df2a166
Merge pull request 'API: migrate add machine to inventory' ( #1676 ) from hsjobeki/clan-core:hsjobeki-main into main
2024-07-02 09:25:01 +00:00
Johannes Kirschbauer
c17943428a
Fix test
2024-07-02 11:21:52 +02:00
Jörg Thalheim
d7a17a2ada
drop duplicate empty template
2024-07-02 10:41:55 +02:00
Johannes Kirschbauer
4a61e51afd
API: migrate add machine to inventory
2024-07-01 21:55:42 +02:00
DavHau
bc3d17ad06
api: add endpoint machine_schema
2024-06-27 16:58:37 +07:00
Johannes Kirschbauer
17532e999f
API: add clanModules list and details test
2024-06-25 21:31:44 +02:00
Johannes Kirschbauer
cf03c71966
Docs: rename clanName to just name
2024-06-25 14:21:53 +02:00
Qubasa
1cb6cff6fe
clan-cli: Better env jailing in temporary_home
2024-06-25 12:03:44 +02:00
Qubasa
642b60cd98
clan-cli: Acutally test SecretStore for age and password-store.
2024-06-24 21:41:16 +02:00
Qubasa
10877d73f4
clan-cli: Fix user-password without user-prompt. Remove newlines from user-password and root-password. Improve test_generate_secret
2024-06-24 20:08:02 +02:00
Qubasa
960d8541b1
Fix run_vm test
...
nix fmt
2024-06-24 19:23:16 +02:00
Qubasa
9a39ed1766
Fixed Contributing.md guide
2024-06-24 19:22:24 +02:00
Qubasa
feab5f737e
clan-cli: Add validity check for ssh
...
stash
2024-06-24 19:22:19 +02:00
Qubasa
7b0e1b437b
clan-cli: Add validity check for age key generation
2024-06-21 15:07:53 +02:00
DavHau
4db2e8303f
refactor: rename clanCore -> clan.core
2024-06-18 18:32:40 +07:00
DavHau
f4060b6d16
test: extend minimal flake test with verification
2024-06-09 22:19:38 -07:00
DavHau
8eafd43fd3
tests: add test for creating machine on minimal clan
2024-06-09 21:54:04 -07:00
Qubasa
0ffb45eaf0
clan-cli: temporary_home, set XDG_RUNTIME_DIR
2024-06-05 13:34:17 +02:00
Johannes Kirschbauer
49c3b78c77
clan-core: add template to impure tests
2024-05-31 16:26:46 +00:00
Johannes Kirschbauer
c7008fd302
clan-core: add clan meta for ui usage
2024-05-31 16:26:46 +00:00
Jörg Thalheim
84f75de34c
split list machines into show machine command
2024-05-31 16:56:09 +02:00
Jörg Thalheim
1b8ba590f7
make config command read-only
2024-05-29 13:17:55 +02:00
Jörg Thalheim
d002419ae7
drop global argparse flags
...
They get shadowed by subargparser options.
2024-05-29 10:21:35 +02:00
Johannes Kirschbauer
daa0be20de
api: fix breaking tests
2024-05-26 14:17:17 +02:00
Johannes Kirschbauer
bacc862d52
fix: tests
2024-05-26 13:41:05 +02:00
DavHau
e09658c817
secrets: ensure all added/deleted files get committed
2024-04-24 17:26:32 +07:00
a-kenji
bd10720e5d
clan-cli: fix clan ssh --json and --png
...
This fixes `clan ssh` with the `--json` and `--png` flags.
It will now correctly use the actual fields that are present in the
generated json.
- probes if the ports are accessible
- if accessible will attempt a single ssh connection with the provided
password, in order to not spam ssh attempts
Fixes #1177
2024-04-17 10:12:37 +00:00
Jörg Thalheim
033e5194fb
refactor facts command to regenerate facts for all machines
2024-04-15 22:14:54 +02:00
Qubasa
941bc49c1d
clan-cli: Fix tmpdir leak and fix tests/temporary_dir inconsistencies
2024-03-27 15:51:52 +01:00
Jörg Thalheim
00704e9e55
re-encrypt secrets after rotating users/machines keys
2024-03-25 12:34:29 +01:00
clan-bot
e737b4c56d
Merge pull request 'clan-vm-manager: Basic pytest framework established' ( #1026 ) from Qubasa-main into main
2024-03-24 22:41:07 +00:00
Qubasa
d6d8a88549
clan-vm-manager: Working pytest skeleton. clan-cli: Fixing devshell depending on itself
2024-03-24 23:36:00 +01:00
lassulus
8d34c51df2
refactor secrets & facts -> secret_facts & public_facts
2024-03-23 05:46:54 +01:00
Jörg Thalheim
ede4d3f6e5
re-format with nixfmt
2024-03-17 19:48:49 +01:00
Qubasa
285a83ec97
clan_cli: Renamed ClanUrl to FlakeId
2024-03-08 23:47:27 +07:00
Qubasa
bda7701861
clan_cli: Simplify ClanURI
2024-03-07 19:04:48 +07:00
Qubasa
e640e0d7c3
clan_cli: Rewrite ClanURI
2024-03-07 16:41:37 +07:00
Jörg Thalheim
c23a878dfd
drop meshnamed from repository
...
It's not super useful and we can always add it back later if we need it.
2024-03-06 10:02:21 +01:00