Jörg Thalheim
|
4ed264a8cb
|
use evalClanModules in get-module-docs
|
2024-10-09 14:48:41 +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
|
da56927968
|
eval-clan-modules: don't re-import nixpkgs
|
2024-10-09 13:48:32 +02:00 |
|
clan-bot
|
e6a1bcadf1
|
Merge pull request 'Inventory/schemas: move all schemas to legacyPackages.schemas' (#2234) from hsjobeki/clan-core:hsjobeki-main into main
|
2024-10-09 11:44:05 +00:00 |
|
Johannes Kirschbauer
|
2de5b83ed0
|
Schemas: fix clanModules eval
|
2024-10-09 13:38:19 +02:00 |
|
clan-bot
|
86fb0bee26
|
Merge pull request 'drop optionsNix and old json schema code' (#2236) from Mic92-cleanup-options into main
|
2024-10-09 11:37:01 +00:00 |
|
Jörg Thalheim
|
67810c7a73
|
old json schema code
|
2024-10-09 13:30:50 +02:00 |
|
clan-bot
|
035bbe64bd
|
Merge pull request 'drop optionsNix' (#2235) from cleanup-options into main
|
2024-10-09 11:28:03 +00:00 |
|
Johannes Kirschbauer
|
4e90ced9a8
|
Inventory: removed devshell input
|
2024-10-09 13:27:09 +02:00 |
|
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 |
|
Jörg Thalheim
|
0ead8dd879
|
drop optionsNix
|
2024-10-09 13:22:06 +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 |
|