Commit Graph

5048 Commits

Author SHA1 Message Date
Johannes Kirschbauer
7ac8b70ebd clanInternals.inventory: expose used priorities 2024-12-04 17:41:41 +01:00
Johannes Kirschbauer
de78a85324 lib.values: init getPrio
This function can be used to get the priority of all values within a module
2024-12-04 17:37:23 +01:00
Johannes Kirschbauer
493e158d3c api.inventory.modules: filter out /nix/store paths 2024-12-04 17:37:23 +01:00
clan-bot
daf892c046 Merge pull request 'Better install instructions for macos' (#2550) from arm64 into main 2024-12-04 16:32:02 +00:00
Jörg Thalheim
621fbd0f83 test_vars: set hostPlatform 2024-12-04 17:25:20 +01:00
Jörg Thalheim
161475a249 classgen: better message how to update 2024-12-04 17:25:20 +01:00
Jörg Thalheim
e1c135bf9d clan-cli/clan_cli/inventory/update.sh: make script idempotent 2024-12-04 17:15:54 +01:00
clan-bot
f2c8bea2a3 Merge pull request 'vm-tests' (#2558) from vm-tests into main 2024-12-04 16:14:54 +00:00
lassulus
35ff4b92a6 test_vars_deployment: fix race condition with multiple VMs on error case 2024-12-04 17:07:36 +01:00
lassulus
0b8debae46 test_vars_deployment: pass stdin as DEVNULL to vm 2024-12-04 17:07:36 +01:00
Jörg Thalheim
012e2686d0 test_vms_cli: set hostPlatform x86_64-linux 2024-12-04 17:04:12 +01:00
lassulus
5c46b3b0a7 spawn_vm: pass stdin 2024-12-04 16:57:49 +01:00
lassulus
f0e415066e qemu_command: disable monitor if non interactive 2024-12-04 16:44:30 +01:00
lassulus
64c5718bd4 start_vm: log VM start command 2024-12-04 16:43:59 +01:00
Jörg Thalheim
eac609a85d test_flake_with_core: set system explicit 2024-12-04 15:54:00 +01:00
Jörg Thalheim
5a5980f3be revert pytest log format
This is makes error output of command extremly unreadable.

If someone wants a different value they can specify it on the
commandline.
2024-12-04 15:22:43 +01:00
Jörg Thalheim
4457cdddbc getpwnam-preload.c: no longer log shell 2024-12-04 14:57:00 +01:00
Jörg Thalheim
dbcf6780ab only enable show-trace if we run in debug mode 2024-12-04 14:54:47 +01:00
Jörg Thalheim
5aa7cf4d1c fix deploying from darwin to linux 2024-12-04 14:54:44 +01:00
Jörg Thalheim
4aa63021ff flash: drop wifi option
This feature is broken and will be replaced by templates machines
eventually.
2024-12-04 12:52:38 +01:00
Jörg Thalheim
2be0d30ad5 document clan machines create 2024-12-04 12:14:32 +01:00
Jörg Thalheim
4d8ca2d635 machines no longer need to be specified in buildClan 2024-12-04 12:14:32 +01:00
Jörg Thalheim
041547b317 no longer show prefix 2024-12-04 12:14:32 +01:00
Jörg Thalheim
6247723c50 commit file instead of just git adding it 2024-12-04 12:14:32 +01:00
Jörg Thalheim
3452ca54e6 skip writing the empty inventory json 2024-12-04 12:14:32 +01:00
Jörg Thalheim
ee1e4b05c4 add install instructions for macos 2024-12-04 12:14:32 +01:00
Jörg Thalheim
3495967243 re-add missing wget 2024-12-04 11:26:22 +01:00
clan-bot
2b763152fb Merge pull request 'fix vars migration prompts. add secretsForUsers to vars interface and implement that for pass' (#2551) from lassulus/clan-core:vars-stuff into main 2024-12-04 09:03:24 +00:00
clan-bot
b72ff23732 Merge pull request 'Add missing quotes around nix-command flakes' (#2557) from Enzime/clan-core:push-ovqtprtkzuvm into main 2024-12-04 08:49:02 +00:00
Michael Hoang
ca26431d12 clan_cli: fix missing quotes around nix-command flakes
Before:

    [$] nix \
        --extra-experimental-features nix-command flakes \
        show-config \
        --json

After:

    [$] nix \
        --extra-experimental-features 'nix-command flakes' \
        show-config \
        --json
2024-12-04 19:40:15 +11:00
Michael Hoang
4b22869dec gui-installer: add missing double quotes for nix-command flakes 2024-12-04 19:38:20 +11:00
clan-bot
dd2820c07c Merge pull request 'vars: print() -> log.info()' (#2555) from DavHau/clan-core:DavHau-dave into main 2024-12-04 07:15:36 +00:00
DavHau
439cde691f vars: print() -> log.info() 2024-12-04 14:08:50 +07:00
clan-bot
2b3b1d4a8f Merge pull request 'vars: Improve logging for migration' (#2554) from DavHau/clan-core:DavHau-dave into main 2024-12-04 05:48:25 +00:00
DavHau
a11820b1d6 vars: Improve logging for migration 2024-12-04 12:42:03 +07:00
clan-bot
61a4915a9d Merge pull request 'secrets: improve error message on wrong age key format' (#2553) from DavHau/clan-core:DavHau-dave into main 2024-12-04 05:12:14 +00:00
DavHau
4e4724f766 secrets: improve error message on wrong age key format 2024-12-04 12:04:07 +07:00
clan-bot
f034921057 Merge pull request 'Add --print-build-logs to some Nix commands' (#2552) from Enzime/clan-core:push-szyyvnvymllq into main 2024-12-04 00:39:39 +00:00
Michael Hoang
b9d922eaac Add --print-build-logs to some Nix commands 2024-12-04 10:04:07 +11:00
lassulus
b381a71266 vars sops: passthrough neededForUsers 2024-12-03 23:54:21 +01:00
lassulus
996c5bdda1 cli vars generate: log in global context what is global 2024-12-03 22:29:25 +01:00
lassulus
e6eaa3cc03 vars password-store: add neededForUsers option 2024-12-03 22:28:39 +01:00
lassulus
9f5cd917de vars generate: show prompts only if not migrating 2024-12-03 22:25:16 +01:00
clan-bot
a55684908f Merge pull request 'link to arm64 image' (#2549) from arm64 into main 2024-12-03 19:27:12 +00:00
Jörg Thalheim
0dc48e83e3 link to arm64 image 2024-12-03 20:20:00 +01:00
clan-bot
eb21ee574e Merge pull request 'clan/update: make build-host overridable in cli' (#2548) from updates into main 2024-12-03 16:46:47 +00:00
Jörg Thalheim
0b3816b6ec clan/update: make build-host overridable in cli 2024-12-03 17:40:12 +01:00
Jörg Thalheim
760126d8d5 remove deprecated deploymentHost 2024-12-03 17:30:02 +01:00
Mic92
e1faa3541f Merge pull request 'rename run_no_output to run_no_stdout' (#2547) from run-stdout into main
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/2547
2024-12-03 16:29:41 +00:00
Jörg Thalheim
bbb2aca5cb rename run_no_output to run_no_stdout
we want stderr for some nix commands.
2024-12-03 17:15:28 +01:00