Johannes Kirschbauer
|
08d26b9463
|
Inventory/schemas: move all schemas to legacyPackages
|
2024-10-09 13:27:09 +02:00 |
|
Johannes Kirschbauer
|
666f87e7e4
|
Inventory/schemas: use less schema versions
|
2024-10-09 13:27:09 +02:00 |
|
Mic92
|
4ef6a37540
|
Merge pull request 'import nixos-facter by default' (#2178) from nixos-facter into main
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/2178
|
2024-10-09 10:43:17 +00:00 |
|
Jörg Thalheim
|
8ecaffcd8c
|
remove unused lib.trace from flake
|
2024-10-09 12:37:21 +02:00 |
|
Jörg Thalheim
|
f825fa4b9b
|
lib/inventory/tests: adapt imported module account
|
2024-10-09 12:32:04 +02:00 |
|
Jörg Thalheim
|
8de0c32086
|
build minimal template without settings.json
|
2024-10-09 12:26:17 +02:00 |
|
Jörg Thalheim
|
1ac8f6914d
|
drop old settings code
|
2024-10-09 12:16:00 +02:00 |
|
Jörg Thalheim
|
d537e1a91c
|
remove machine settings.json
|
2024-10-09 12:08:23 +02:00 |
|
Jörg Thalheim
|
6ed5c3dcae
|
pkgs/schema: no longer use deprecated variable
|
2024-10-09 12:08:23 +02:00 |
|
Jörg Thalheim
|
036918aae2
|
fix nixos machines without hostPlatform
|
2024-10-09 12:08:23 +02:00 |
|
Jörg Thalheim
|
349db434fc
|
test_vars_deployment: set hostPlatform depending on current system
|
2024-10-09 12:08:23 +02:00 |
|
Jörg Thalheim
|
c95371d583
|
test_modules: initialize minimal facter.json
|
2024-10-09 12:08:23 +02:00 |
|
Jörg Thalheim
|
9cdd55acf4
|
drop "system" argument from inventory
|
2024-10-09 12:07:58 +02:00 |
|
Jörg Thalheim
|
c620ee9d90
|
fixtures_flake: drop unused substitutions
|
2024-10-09 12:07:58 +02:00 |
|
Jörg Thalheim
|
4655199028
|
tests: set git author name + email via environment variables
|
2024-10-09 12:07:58 +02:00 |
|
Jörg Thalheim
|
0e8f168e1e
|
no longer write deprecated settings.json in tests
|
2024-10-09 12:02:10 +02:00 |
|
Jörg Thalheim
|
d2d72e28e8
|
re-use gpg key across tests
|
2024-10-09 11:56:41 +02:00 |
|
Jörg Thalheim
|
cfb8df33a1
|
fix missing hostPlatform in test_vars
|
2024-10-09 11:56:36 +02:00 |
|
Jörg Thalheim
|
098a43eff9
|
deprecate passing in system with nixosConfiguration
we have this information in both hardware-configuration.nix and factor,
so we don't want to pass this in from the outside.
|
2024-10-09 11:56:36 +02:00 |
|
Jörg Thalheim
|
808abdff0d
|
move nixos-facter imports to clanCore
|
2024-10-09 11:56:36 +02:00 |
|
Jörg Thalheim
|
a613e391f6
|
import nixos facter by default
|
2024-10-09 11:36:03 +02:00 |
|
clan-bot
|
dbb38b1773
|
Merge pull request 'Docs: improve module author guide code examples, code structuring' (#2233) from hsjobeki/clan-core:hsjobeki-main into main
|
2024-10-09 08:43:14 +00:00 |
|
Johannes Kirschbauer
|
0e5086c133
|
Docs: improve module author guide code examples, code structuring
|
2024-10-09 10:28:41 +02:00 |
|
clan-bot
|
d176b6a879
|
Merge pull request 'Docs: minor improvements' (#2232) from hsjobeki/clan-core:hsjobeki-main into main
|
2024-10-09 07:44:57 +00:00 |
|
Johannes Kirschbauer
|
3fe83eb9d8
|
Docs: minor improvements
|
2024-10-09 09:38:31 +02:00 |
|
Mic92
|
e3384adc90
|
Merge pull request 'Rework vm process handling' (#2193) from fix-warning into main
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/2193
|
2024-10-08 17:51:55 +00:00 |
|
Jörg Thalheim
|
7c97c3b5be
|
test_vars_deployment: fix test
|
2024-10-08 17:51:55 +00:00 |
|
Jörg Thalheim
|
adbdae449d
|
vms/run: make portmap a dict to fix serializer
|
2024-10-08 17:51:55 +00:00 |
|
Jörg Thalheim
|
1ed04fb51e
|
vms/run: better defaults for run api
|
2024-10-08 17:51:55 +00:00 |
|
Jörg Thalheim
|
cf3c67d830
|
expose the option to run commands in virtual machines
|
2024-10-08 17:51:55 +00:00 |
|
Jörg Thalheim
|
6cae6341c9
|
add a flag to start qemu non-interactive
|
2024-10-08 17:51:55 +00:00 |
|
Jörg Thalheim
|
318b46d4f6
|
test_flake_with_core: no longer auto shutdown vm
We can now execute commands to have a better interface for this.
|
2024-10-08 17:51:55 +00:00 |
|
Jörg Thalheim
|
c33b2b200a
|
vms/run: don't use deprecated clanCore option
|
2024-10-08 17:51:55 +00:00 |
|
Jörg Thalheim
|
2f7c3778d3
|
restore proper error printing
Error represenation should be part of the error and we should not repeat
formatting here.
if we are in debug mode also print the stack trace
|
2024-10-08 17:51:55 +00:00 |
|
Jörg Thalheim
|
b5b7fff9e3
|
Update facts/secrets for service openssh in machine test-backup
|
2024-10-08 17:51:55 +00:00 |
|
Jörg Thalheim
|
337be71083
|
Update facts/secrets for service borgbackup in machine test-backup
|
2024-10-08 17:51:55 +00:00 |
|
Jörg Thalheim
|
4a7ac7e25b
|
fix systemd-boot security warning for /boot
|
2024-10-08 17:51:55 +00:00 |
|
Jörg Thalheim
|
c3be54047f
|
switch from userborn to sysusers
fixes #2117
|
2024-10-08 17:51:55 +00:00 |
|
Jörg Thalheim
|
db11e7cb92
|
{vars,facts}/generate: ensure that args.flake is passed
|
2024-10-08 17:51:55 +00:00 |
|
Jörg Thalheim
|
b1b05485dd
|
introduce better vm management abstraction and use it in tests
|
2024-10-08 17:51:55 +00:00 |
|
Jörg Thalheim
|
0a568be528
|
pass in flakeid to vm_state_dir
|
2024-10-08 17:51:55 +00:00 |
|
Jörg Thalheim
|
725009d4a8
|
vm_config: deprecate a few fields
|
2024-10-08 17:51:55 +00:00 |
|
Jörg Thalheim
|
de4603a490
|
pytest: error on warning
|
2024-10-08 17:51:55 +00:00 |
|
Jörg Thalheim
|
887ef9b2c8
|
cmd/run: remove unnecessary wait
|
2024-10-08 17:51:55 +00:00 |
|
clan-bot
|
9f0cabf866
|
Merge pull request 'Inventory/schema: disable warning until fully migrated' (#2231) from hsjobeki/clan-core:hsjobeki-main into main
|
2024-10-08 17:38:23 +00:00 |
|
Johannes Kirschbauer
|
f9b7cd16d6
|
Inventory/schema: disable warning until fully migrated
|
2024-10-08 19:31:27 +02:00 |
|
clan-bot
|
8b49f47767
|
Merge pull request 'Docs: move disko config example into nix files' (#2230) from hsjobeki/clan-core:hsjobeki-main into main
|
2024-10-08 17:10:01 +00:00 |
|
Johannes Kirschbauer
|
2ba3222b51
|
Docs: move disko config example into nix files
|
2024-10-08 19:04:03 +02:00 |
|
clan-bot
|
915b544f15
|
Merge pull request 'Docs: init module author guide' (#2229) from hsjobeki/clan-core:hsjobeki-main into main
|
2024-10-08 12:28:04 +00:00 |
|
Johannes Kirschbauer
|
8fbaa3091a
|
Docs: init module author guide
|
2024-10-08 14:22:16 +02:00 |
|