Commit Graph

433 Commits

Author SHA1 Message Date
DavHau
74b30cca9f switch to nixpkgs hosteded by cache.nixos.org
take 2 on https://git.clan.lol/clan/clan-core/pulls/2921
2025-03-07 07:20:07 +00:00
Michael Hoang
35455afeb8 nixos/clan: rename setDefaults to enableRecommendedDefaults 2025-03-05 03:37:41 +00:00
Johannes Kirschbauer
8a04ee6d20 Tests: migrate backup tests to use inventory 2025-03-03 02:28:03 +00:00
lassulus
300aaa48e7 clan-cli: use new flake caching for machines 2025-02-23 15:58:03 +01:00
Michael Hoang
4e2ae0f9f6 cli: add morph command 2025-02-16 21:31:28 +07:00
Jörg Thalheim
e27605d3a0 fix system.stateVersion 2025-02-14 12:22:26 +07:00
Johannes Kirschbauer
6f41118be4 Add missing test dependency 2025-02-08 10:48:57 +07:00
Johannes Kirschbauer
2178ebecc5 checks: fix source of backups vm test 2025-02-05 10:25:45 +07:00
Michael Hoang
9458fdf7bc clan-cli: fix clan-cli accidentally dependending on all packages 2025-02-04 04:52:47 +00:00
Jörg Thalheim
f579e62f2e container test: with writeable nix store 2025-01-31 11:51:00 +00:00
Michael Hoang
f0a07bbfae flash: don't allow partitioning time secrets 2025-01-21 11:13:51 +00:00
lassulus
292a488cce extend installation-test to check partitioning secrets 2025-01-21 11:13:51 +00:00
lassulus
b12abb208f checks.flash: add missing grub-install deps 2025-01-17 11:37:03 +00:00
DavHau
5ce72dd261 tests: reduce unnecessary rebuilds of several tests
Some test were referring to the whole source code via ${self} which amde them rebuild on every single commit.

This is not mitigated by introduceing `self.filter { include = [...]; }` allowin to a content addressed subset of the source code in tests.
2025-01-17 17:00:18 +07:00
clan-bot
4c284bb86b Merge pull request 'Migrate borgbackup module to vars' (#2741) from pinpox/clan-core:migrate-borgbackup-vars into main 2025-01-16 12:16:37 +00:00
Pablo Ovelleiro Corral
038083bece Migrate borgbackup module to vars 2025-01-16 13:14:24 +01:00
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