Commit Graph

367 Commits

Author SHA1 Message Date
Jörg Thalheim
cb8ca601e2 switch to nixos-facter for hardware-config 2025-01-15 13:59:49 +00:00
Jörg Thalheim
3bcbc8fa3d reformat after update 2025-01-14 15:30:29 +01:00
Jörg Thalheim
9b885f54af matrix-synapse: migrate to vars 2025-01-14 14:16:19 +00:00
Jörg Thalheim
9b48efcd6d container-driver: also include journal/systemd status 2025-01-10 12:45:00 +01:00
Johannes Kirschbauer
d46ffe9f4a Chore:_migrate 'machineName' to 'settings.machine.name' 2024-12-31 14:55:50 +01:00
Johannes Kirschbauer
315be52e34 Chore: init settings submdule, move clanDir into settings submodule 2024-12-31 14:18:09 +01:00
Jörg Thalheim
09db055b01 deltachat: fix test name 2024-12-24 07:11:00 +01:00
lassulus
b09d3b15a7 installer-test: adapt to upstream changes 2024-12-09 17:21:14 +01:00
Jörg Thalheim
4a49c10451 disable installation/backup test on arm64 2024-12-06 17:03:57 +01:00
Jörg Thalheim
68dd2b9b9d installation: fix correct binary on aarch64 2024-12-06 15:39:35 +00:00
Jörg Thalheim
f31864368c run tests less verbose in CI 2024-11-26 14:38:59 +01:00
Jörg Thalheim
936a3baa08 backup: remove unused variable 2024-11-19 09:46:14 +00:00
Jörg Thalheim
37bef9200f Update vars via generator openssh for machine test-backup 2024-11-19 09:46:14 +00:00
Jörg Thalheim
03fcf8715b tests: set stateVersion 2024-11-19 09:46:14 +00:00
Jörg Thalheim
74b54c84a4 deltachat: disable tests 2024-11-14 12:12:46 +01:00
DavHau
c2a60dcbb6 tests: minify test machines to decrease runtime 2024-11-13 20:40:01 +07:00
a-kenji
23d0e2f115 pkgs/cli: Query target-host for machines install from configuration
Query `target-host` for `clan machines install` from the nixos
configuration (deployment.json), if possible.

Remove `TARGET_HOST` option and introduce `--target-host` command
line flag.

This brings the installation subcommand in line with the update
subcommand - improving consistency and usability.

Closes: #2309
2024-11-10 18:18:51 +01:00
Jörg Thalheim
2f3369cca5 add build-on-remote flag 2024-11-04 13:27:50 +01:00
danjujan
b6ef3600b5 checks: fix typos 2024-10-29 12:37:34 +00:00
Jörg Thalheim
56cbee45cd container-driver: ignore lint warning 2024-10-22 12:48:09 +02:00
Qubasa
02e148d2ea clan-flash: --keymap option also sets xserver keymap now. renamed 'clan flash apply' to clan 'flash write' 2024-10-11 20:51:59 +02:00
Jörg Thalheim
9fdb9a168b remove renderClanOptions
we already evaluate those else where.
2024-10-09 13:57:01 +02:00
Jörg Thalheim
036918aae2 fix nixos machines without hostPlatform 2024-10-09 12:08:23 +02:00
Jörg Thalheim
5f4bf819df add nixos-facter to nixos installation test 2024-09-29 16:59:02 +02:00
a-kenji
14d5ee8b8a clanModules/mumble: remove default user 2024-09-26 19:41:30 +02:00
a-kenji
4f4777389b clanModules/murmur: improve secret loading logic 2024-09-26 16:38:18 +02:00
Jörg Thalheim
a4a62211df matrix-synapse: fix race condition 2024-09-24 12:52:53 +02:00
Jörg Thalheim
31144c88e8 container driver: add wait_until_succeeds 2024-09-24 12:52:53 +02:00
Jörg Thalheim
6fef7c9aa7 fix container test after systemd update 2024-09-24 12:52:53 +02:00
Jörg Thalheim
8a8b473236 rename hw-generate to update-hardware-config 2024-09-20 13:42:18 +02:00
Qubasa
3e210f3338 checks: Fix flash test 2024-09-15 16:41:34 +02:00
Jörg Thalheim
a1e2a0513c clanModules.nginx: replace acme fact with concrete value
We shouldn't abuse prompts to require a user to set an option. Instead
our NixOS modules should expose which option need to be specified by the
user.
2024-09-11 11:45:23 +02:00
a-kenji
b13ed922b1 Revert "Merge pull request 'machine_id_v2' (#2052) from Qubasa/clan-core:machine_id_v2 into main"
This reverts commit 22a11abfe5, reversing
changes made to 208b71ac0e.
2024-09-10 14:01:12 +02:00
Qubasa
5c975a5eef clanCore: init machineId and diskId v2 2024-09-09 15:51:31 +02:00
Qubasa
2efa096d29 revert machine_id pull request 2024-09-06 21:38:50 +02:00
Qubasa
4171d5ea4e clanCore: init machine_id.nix with clan.core.machine.{id,diskId} 2024-09-06 18:05:40 +02:00
Jörg Thalheim
d3afda4d6c container-driver: use own Exception 2024-09-03 18:13:18 +02:00
Qubasa
e35fd0976a nixosModules: remove unnecessary ./iso and disk-layout, clanModules: fix issue #1349 2024-09-03 00:09:45 +02:00
DavHau
6e16e54968 vars: make simplify vars store abstraction 2024-09-02 18:44:00 +02:00
Jörg Thalheim
8fbc76ecac add FA, ICN, ISC, LOG, PIE and PYI linting 2024-09-02 15:41:56 +02:00
clan-bot
8760ed89a3 Merge pull request 'Flake: nixos-facter-module with flake: false' (#1986) from hsjobeki/clan-core:hsjobeki-main into main 2024-09-02 12:36:35 +00:00
Johannes Kirschbauer
91ea8b23ca nixos tests: add documentation machine 2024-09-02 14:32:01 +02:00
Jörg Thalheim
ddaf44a91b move all ruff settings in one place 2024-09-02 14:07:06 +02:00
Jörg Thalheim
e150b37fb8 enable ASYNC, DTZ, YTT and EM lints 2024-09-02 14:07:06 +02:00
Jörg Thalheim
d4d7085397 sync up linter rules in all files 2024-09-02 13:40:15 +02:00
Johannes Kirschbauer
0f823c3eac Checks: add nixos documentation-check 2024-08-28 11:44:33 +02:00
DavHau
61e1fd7f85 remove clanDir default
The default value for clanDir did not make sense, as it pointed to the directory of the module definition

Also, we should not have a default at this level as all.
2024-08-26 15:41:52 +02:00
Jörg Thalheim
a2471bf3ec hw-generate: add to nixos test 2024-08-24 12:07:22 +02:00
Jörg Thalheim
d365699991 use compliant machine name in installation test 2024-08-24 12:07:22 +02:00
Qubasa
3e2b7f95a4 clanModules: Add vaultwarden module. Add nginx module. Make matrix-synapse subdomain configurable 2024-08-23 18:15:48 +02:00