DavHau
11c37ebeba
vars/keygen: fix + cleanup tests
...
- generate keys in ./sops instead of ./sops/vars for now
- don't initialize all flakes with sops keys, only generate when needed
- use the new 'clan vars keygen' in tests
2024-10-04 17:25:17 +02:00
clan-bot
73daa2ecc1
Merge pull request 'vars: add 'clan vars keygen'' ( #2200 ) from DavHau/clan-core:DavHau-vars-migration into main
2024-10-04 14:21:10 +00:00
DavHau
2a9ced1e26
vars: add 'clan vars keygen'
2024-10-04 16:13:49 +02:00
clan-bot
023ee42152
Merge pull request 'vars: refactor - copy logic to sops secret module' ( #2199 ) from DavHau/clan-core:DavHau-vars-migration into main
2024-10-04 12:40:55 +00:00
clan-bot
12ac73ba4f
Merge pull request 'Interfaces: unclutter meta interface, file conflict position tracking' ( #2198 ) from hsjobeki/clan-core:hsjobeki-roles-interface into main
2024-10-04 12:38:53 +00:00
DavHau
ae53ea7399
vars: refactor - copy logic to sops secret module
...
This is in preparation for moving the storage away from ./sops to ./vars/sops
2024-10-04 14:31:22 +02:00
Johannes Kirschbauer
f169b1bcd1
Meta.name: not nullable, since deduped
2024-10-04 14:30:50 +02:00
Johannes Kirschbauer
68a571f858
Interfaces: unclutter meta interface, file conflict position tracking
2024-10-04 13:48:11 +02:00
Luis Hebendanz
92107e88d2
Merge pull request 'clanModules: Fix disk-id and machine-id' ( #2196 ) from Qubasa/clan-core:Qubasa-main into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/2196
2024-10-03 13:43:06 +00:00
Qubasa
7ac1e4e99a
clanModules: Fix disk-id and machine-id
2024-10-03 15:42:56 +02:00
Luis Hebendanz
2315050244
Merge pull request 'clanModules: Fix disk-id and machine-id' ( #2195 ) from Qubasa/clan-core:Qubasa-main into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/2195
2024-10-03 13:40:37 +00:00
Qubasa
219636e67f
clanModules: Fix disk-id and machine-id
2024-10-03 15:40:14 +02:00
clan-bot
17dfeb38bf
Merge pull request 'sops: refactor some function names for clarity' ( #2171 ) from DavHau/clan-core:DavHau-vars-migration into main
2024-10-02 12:03:37 +00:00
DavHau
4a0207f0b3
sops: refactor some function names for clarity
2024-10-02 13:56:43 +02:00
hsjobeki
3e0d1d21f5
Merge pull request 'Inventory: improve role imports' ( #2189 ) from hsjobeki/clan-core:hsjobeki-main into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/2189
2024-10-02 09:08:36 +00:00
Johannes Kirschbauer
db2882dba5
Inventory/interface: optional instances, allow to use modules without inventory
2024-10-02 11:01:06 +02:00
Johannes Kirschbauer
f0eed06cd5
Inventory/tests: don't expect the default.nix to be imported anymore
2024-10-02 10:49:06 +02:00
Johannes Kirschbauer
c318529df6
Fix: Admin module relative dependency
2024-10-02 10:36:48 +02:00
Johannes Kirschbauer
f417a5bc0d
Inventory/borgbackup: fixup structure
2024-10-02 10:01:45 +02:00
Johannes Kirschbauer
978c3c21d4
Inventory/modules: use explicit roles only
2024-10-02 10:01:44 +02:00
Johannes Kirschbauer
7eaa2abe95
Inventory/test: add borgbackup to inventory test machine
2024-10-02 10:01:44 +02:00
Johannes Kirschbauer
536ae8701d
Inventory/docs: display explizit roles only
2024-10-02 10:01:44 +02:00
Johannes Kirschbauer
40f0e98b26
Inventory: improve role imports
2024-10-02 10:01:44 +02:00
clan-bot
a64da9e101
Merge pull request 'Fix leaks in vm tests' ( #2192 ) from fix-warning into main
2024-10-02 06:42:45 +00:00
Jörg Thalheim
ca8f36201b
test superflous test_vm_qmp
...
we already have other tests covering this and VMs + NixOS are slow
2024-10-01 20:57:07 +02:00
Jörg Thalheim
27b1aeb827
add temp_dir fixture
2024-10-01 20:54:19 +02:00
Jörg Thalheim
4826582547
add more custom prefixes for temporary directories
2024-10-01 20:54:19 +02:00
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