Commit Graph

4271 Commits

Author SHA1 Message Date
Jörg Thalheim
196f78d2da abort tests on python warning 2024-10-01 20:54:19 +02:00
Jörg Thalheim
8b205c78bf fix resource leaks in qmp tests 2024-10-01 20:54:19 +02:00
clan-bot
2f38955066 Merge pull request 'fix resource leaks' (#2191) from fix-warning into main 2024-10-01 18:03:58 +00:00
Jörg Thalheim
4207aef029 don't leak memory in global table unless we want to record performance 2024-10-01 19:32:00 +02:00
Jörg Thalheim
13aed0792e fix file descriptor leak in cmd.run()
we were leaking pipes.
2024-10-01 19:27:47 +02:00
clan-bot
a57f409224 Merge pull request 'generate: don't set type=bool in argparse.BooleanOptionalAction' (#2190) from fix-warning into main 2024-10-01 17:04:49 +00:00
Jörg Thalheim
f9a42831e4 start to name temporary directories in more places 2024-10-01 18:57:59 +02:00
Jörg Thalheim
a5e18fda08 generate: don't set type=bool in argparse.BooleanOptionalAction 2024-10-01 18:48:54 +02:00
clan-bot
0f0f056ecc Merge pull request 'docs: improve flake-parts reference' (#2187) from hsjobeki/clan-core:hsjobeki-roles-interface into main 2024-10-01 09:28:13 +00:00
Johannes Kirschbauer
47b9a1cb7f docs: improve flake-parts reference 2024-10-01 11:21:30 +02:00
clan-bot
5511fefdca Merge pull request 'Automatic flake update - treefmt-nix - 2024-09-30T00:00+00:00' (#2185) from flake-update-treefmt-nix-2024-09-30 into main 2024-09-30 00:43:42 +00:00
clan-bot
7eff217826 Merge pull request 'Automatic flake update - sops-nix - 2024-09-30T00:00+00:00' (#2184) from flake-update-sops-nix-2024-09-30 into main 2024-09-30 00:37:38 +00:00
clan-bot
d114606525 Merge pull request 'Automatic flake update - nixos-images - 2024-09-30T00:00+00:00' (#2181) from flake-update-nixos-images-2024-09-30 into main 2024-09-30 00:37:24 +00:00
clan-bot
71ee2475b9 Merge pull request 'Automatic flake update - disko - 2024-09-30T00:00+00:00' (#2179) from flake-update-disko-2024-09-30 into main 2024-09-30 00:35:17 +00:00
clan-bot
ca49b94597 Merge pull request 'Automatic flake update - nixos-facter-modules - 2024-09-30T00:00+00:00' (#2180) from flake-update-nixos-facter-modules-2024-09-30 into main 2024-09-30 00:35:16 +00:00
clan-bot
930f84ab66 Merge pull request 'Automatic flake update - 2024-09-30T00:00+00:00' (#2182) from flake-update-2024-09-30 into main 2024-09-30 00:35:03 +00:00
clan-bot
4106f826b6 Merge pull request 'Automatic flake update - nixpkgs - 2024-09-30T00:00+00:00' (#2183) from flake-update-nixpkgs-2024-09-30 into main 2024-09-30 00:35:03 +00:00
Clan Merge Bot
be6c5ac5b4 update flake lock - treefmt-nix - 2024-09-30T00:00+00:00
Flake lock file updates:

• Updated input 'treefmt-nix':
    'github:numtide/treefmt-nix/35dfece10c642eb52928a48bee7ac06a59f93e9a' (2024-09-23)
  → 'github:numtide/treefmt-nix/879b29ae9a0378904fbbefe0dadaed43c8905754' (2024-09-27)
2024-09-30 00:00:43 +00:00
Clan Merge Bot
5fbd77c8b7 update flake lock - sops-nix - 2024-09-30T00:00+00:00
Flake lock file updates:

• Updated input 'sops-nix':
    'github:Mic92/sops-nix/e2d404a7ea599a013189aa42947f66cede0645c8' (2024-09-16)
  → 'github:Mic92/sops-nix/127a96f49ddc377be6ba76964411bab11ae27803' (2024-09-27)
2024-09-30 00:00:40 +00:00
Clan Merge Bot
1df516bfdb update flake lock - nixpkgs - 2024-09-30T00:00+00:00
Flake lock file updates:

• Updated input 'nixpkgs':
    'github:NixOS/nixpkgs/568bfef547c14ca438c56a0bece08b8bb2b71a9c' (2024-09-23)
  → 'github:NixOS/nixpkgs/7eee17a8a5868ecf596bbb8c8beb527253ea8f4d' (2024-09-29)
2024-09-30 00:00:38 +00:00
Clan Merge Bot
1ac083b1c0 update flake lock - 2024-09-30T00:00+00:00
Flake lock file updates:

• Updated input 'disko':
    'github:nix-community/disko/c61e50b63ad50dda5797b1593ad7771be496efbb' (2024-09-24)
  → 'github:nix-community/disko/b709e1cc33fcde71c7db43850a55ebe6449d0959' (2024-09-28)
• Updated input 'nixos-facter-modules':
    'github:numtide/nixos-facter-modules/6eb13404bbe40b9a5ef9984792b27933658571fa' (2024-09-20)
  → 'github:numtide/nixos-facter-modules/e1ac6a83a5733788833fdff12aa074b5bdfdc965' (2024-09-29)
• Updated input 'nixos-images':
    'github:nix-community/nixos-images/1420644027326490d330828b941a8e612b9cc130' (2024-09-23)
  → 'github:nix-community/nixos-images/acd37edb645a00b051f2ac88e02a2eb0ed459db6' (2024-09-26)
• Updated input 'nixpkgs':
    'github:NixOS/nixpkgs/568bfef547c14ca438c56a0bece08b8bb2b71a9c' (2024-09-23)
  → 'github:NixOS/nixpkgs/7eee17a8a5868ecf596bbb8c8beb527253ea8f4d' (2024-09-29)
• Updated input 'sops-nix':
    'github:Mic92/sops-nix/e2d404a7ea599a013189aa42947f66cede0645c8' (2024-09-16)
  → 'github:Mic92/sops-nix/127a96f49ddc377be6ba76964411bab11ae27803' (2024-09-27)
• Updated input 'treefmt-nix':
    'github:numtide/treefmt-nix/35dfece10c642eb52928a48bee7ac06a59f93e9a' (2024-09-23)
  → 'github:numtide/treefmt-nix/879b29ae9a0378904fbbefe0dadaed43c8905754' (2024-09-27)
2024-09-30 00:00:32 +00:00
Clan Merge Bot
a8c74da73a update flake lock - nixos-images - 2024-09-30T00:00+00:00
Flake lock file updates:

• Updated input 'nixos-images':
    'github:nix-community/nixos-images/1420644027326490d330828b941a8e612b9cc130' (2024-09-23)
  → 'github:nix-community/nixos-images/acd37edb645a00b051f2ac88e02a2eb0ed459db6' (2024-09-26)
2024-09-30 00:00:06 +00:00
Clan Merge Bot
45f41494d3 update flake lock - nixos-facter-modules - 2024-09-30T00:00+00:00
Flake lock file updates:

• Updated input 'nixos-facter-modules':
    'github:numtide/nixos-facter-modules/6eb13404bbe40b9a5ef9984792b27933658571fa' (2024-09-20)
  → 'github:numtide/nixos-facter-modules/e1ac6a83a5733788833fdff12aa074b5bdfdc965' (2024-09-29)
2024-09-30 00:00:05 +00:00
Clan Merge Bot
bceba4f1a0 update flake lock - disko - 2024-09-30T00:00+00:00
Flake lock file updates:

• Updated input 'disko':
    'github:nix-community/disko/c61e50b63ad50dda5797b1593ad7771be496efbb' (2024-09-24)
  → 'github:nix-community/disko/b709e1cc33fcde71c7db43850a55ebe6449d0959' (2024-09-28)
2024-09-30 00:00:01 +00:00
Mic92
c0eadd8e98 Merge pull request 'clan-cli: update outdated help messages, and fix a typo' (#2177) from lopter/clan-core:lo-fix-typos into main
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/2177
2024-09-29 15:52:58 +00:00
Louis Opter
3f2bb2b958 Update outdated help messages and fix a typo 2024-09-29 15:52:58 +00:00
clan-bot
84af7deb43 Merge pull request 'expose nixos-facter in cli' (#2172) from nixos-facter into main 2024-09-29 15:07:37 +00:00
Jörg Thalheim
5f4bf819df add nixos-facter to nixos installation test 2024-09-29 16:59:02 +02:00
Jörg Thalheim
62af2bab55 fix broken eval check when nixpkgs.pkgs nixos option is used 2024-09-29 16:59:02 +02:00
Jörg Thalheim
9cf2bd4f6e make default hardware report commit message nicer 2024-09-29 16:59:02 +02:00
Jörg Thalheim
bf7246104d allow to overwrite hardware configuration
now that we call it "update" hardware configurration and we are heading
towards facter anyway, we don't need all the force overide logic. Just
allow this to be overwritten by default.
2024-09-29 16:59:02 +02:00
Jörg Thalheim
b4652539a5 wrap hardware generate arguments into an object 2024-09-29 16:59:02 +02:00
Jörg Thalheim
7816a3e639 don't expose polymorphic api 2024-09-29 16:21:53 +02:00
Jörg Thalheim
372a5f3907 remove unused location from ClanError 2024-09-29 16:21:53 +02:00
Jörg Thalheim
1940880dcb put error description in same line as error for cli 2024-09-29 16:21:53 +02:00
Jörg Thalheim
1e11cd79c4 if error doesn't have a message set, print a stack trace 2024-09-29 16:21:53 +02:00
Jörg Thalheim
84383a4a48 if command fails, print command and exit code, regardless if error message is set 2024-09-29 16:21:53 +02:00
Jörg Thalheim
07e031f256 expose nixos-facter in cli 2024-09-29 16:21:53 +02:00
clan-bot
1497bbccbf Merge pull request 'clanModules/mumble: remove default user' (#2175) from kenji/clan-core:kenji-clanModules/mumble/remove-default-user into main 2024-09-26 17:47:51 +00:00
a-kenji
14d5ee8b8a clanModules/mumble: remove default user 2024-09-26 19:41:30 +02:00
clan-bot
09c5850ae3 Merge pull request 'clanModules/murmur: improve secret loading logic' (#2174) from kenji/clan-core:kenji-mumble-improvements into main 2024-09-26 14:45:00 +00:00
a-kenji
4f4777389b clanModules/murmur: improve secret loading logic 2024-09-26 16:38:18 +02:00
clan-bot
1341bfca95 Merge pull request 'localsend: Add necessary option ipv4Addr' (#2173) from Qubasa/clan-core:Qubasa-main into main 2024-09-26 13:28:24 +00:00
Qubasa
96bc797369 localsend: Add necessary option ipv4Addr 2024-09-26 15:22:05 +02:00
clan-bot
da0713e11d Merge pull request 'Docs: authorizedKeys is a list, small fixups' (#2169) from hsjobeki/clan-core:hsjobeki-docs/inventory into main 2024-09-25 12:48:36 +00:00
Johannes Kirschbauer
026481f9d7 Docs: harmonize titles 2024-09-25 14:06:55 +02:00
Johannes Kirschbauer
579d24a828 Docs: authorizedKeys is a list 2024-09-25 14:06:55 +02:00
clan-bot
7b59657e10 Merge pull request 'Docs: refactor general structure' (#2168) from hsjobeki/clan-core:hsjobeki-docs/inventory into main 2024-09-25 11:52:34 +00:00
Johannes Kirschbauer
a67fb750cf Docs: fixup links 2024-09-25 13:46:12 +02:00
Johannes Kirschbauer
aa30b17201 Docs: autogenerate inventory & buildClan model 2024-09-25 13:38:10 +02:00