Commit Graph

3215 Commits

Author SHA1 Message Date
Johannes Kirschbauer
4d6a9948fb test: increase timeout 2024-06-25 12:23:29 +00:00
Johannes Kirschbauer
7818ee647c Add machinesDirs with default 2024-06-25 12:23:29 +00:00
Johannes Kirschbauer
457cac8be9 Add machinesDirs with default 2024-06-25 12:23:29 +00:00
Johannes Kirschbauer
25024aba95 Add settings.json back 2024-06-25 12:23:29 +00:00
Johannes Kirschbauer
4bf862eb27 Docs: add inventory module docs 2024-06-25 12:23:29 +00:00
Johannes Kirschbauer
cd6a517e0d Template: make inventory disabled by default 2024-06-25 12:23:29 +00:00
Johannes Kirschbauer
7f897e29d6 Remove useless settings.json 2024-06-25 12:23:29 +00:00
Johannes Kirschbauer
b90ec6e842 Inventory: move to lib.inventory 2024-06-25 12:23:29 +00:00
Johannes Kirschbauer
1ee95ba864 Template: use inventory 2024-06-25 12:23:29 +00:00
Johannes Kirschbauer
9304afaa44 Inventory: simplify build-clan interface 2024-06-25 12:23:29 +00:00
Johannes Kirschbauer
0d4928ab73 Inventory: init module merge & validation logic for inventory 2024-06-25 12:23:29 +00:00
Johannes Kirschbauer
eb221244e6 Extend build-clan interface 2024-06-25 12:23:29 +00:00
Johannes Kirschbauer
4db65921fe inventory: rename clan.services 2024-06-25 12:23:29 +00:00
Johannes Kirschbauer
1b226c9e09 update inventory implementation 2024-06-25 12:23:29 +00:00
Johannes Kirschbauer
b4a8a3d047 readme improvements 2024-06-25 12:23:29 +00:00
Johannes Kirschbauer
eab22fefb0 schema improvements 2024-06-25 12:23:29 +00:00
Johannes Kirschbauer
feace3a8e9 Inventory: implement borgbackup 2024-06-25 12:23:29 +00:00
clan-bot
8d060d8243 Merge pull request 'clan-cli: Better env jailing in temporary_home' (#1659) from Qubasa/clan-core:Qubasa-main into main 2024-06-25 10:06:55 +00:00
Qubasa
1cb6cff6fe clan-cli: Better env jailing in temporary_home 2024-06-25 12:03:44 +02:00
kenji
f890d21ab2 Merge pull request 'clan: state list improve formatting' (#1658) from kenji/clan-core:clan/state-list-improve into main
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/1658
2024-06-25 09:56:29 +00:00
a-kenji
a6f342db35 clan: state list improve formatting 2024-06-25 11:50:19 +02:00
kenji
4c5353f192 Merge pull request 'cli: add command to list state' (#1657) from kenji/clan-core:cli/state-list into main
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/1657
2024-06-25 09:34:31 +00:00
a-kenji
69e826fc17 cli: add command to list state
Add a subcommand to list configured state for a specific machine.

Example:
```
$ clan state list [MACHINE]
```
2024-06-25 09:34:31 +00:00
kenji
5ecb61e392 Merge pull request 'blog: fix typos in backup blog' (#1656) from kenji/clan-core:blog-backups-fix-typo into main
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/1656
2024-06-25 09:02:52 +00:00
a-kenji
03c68cfc04 blog: fix typos in backup blog 2024-06-25 09:02:52 +00:00
kenji
d9b95b37d0 Merge pull request 'clan: ssh fix typos' (#1655) from kenji/clan-core:fix-typo into main
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/1655
2024-06-25 08:50:36 +00:00
a-kenji
9d394baca5 clan: ssh fix typos 2024-06-25 10:32:05 +02:00
clan-bot
b56a5e33d2 Merge pull request 'clan-cli: Acutally test SecretStore for age and password-store.' (#1654) from Qubasa/clan-core:Qubasa-main into main 2024-06-24 19:45:06 +00:00
Qubasa
642b60cd98 clan-cli: Acutally test SecretStore for age and password-store. 2024-06-24 21:41:16 +02:00
clan-bot
411b37bef5 Merge pull request 'clan-cli: Fix user-password without user-prompt. Remove newlines from user-password and root-password. Improve test_generate_secret' (#1653) from Qubasa/clan-core:Qubasa-main into main 2024-06-24 18:11:26 +00:00
Qubasa
10877d73f4 clan-cli: Fix user-password without user-prompt. Remove newlines from user-password and root-password. Improve test_generate_secret 2024-06-24 20:08:02 +02:00
clan-bot
0ce560da52 Merge pull request 'clan-cli: Add validity check for ssh' (#1652) from Qubasa/clan-core:Qubasa-test_secrets into main 2024-06-24 17:26:34 +00:00
Qubasa
960d8541b1 Fix run_vm test
nix fmt
2024-06-24 19:23:16 +02:00
Qubasa
9a39ed1766 Fixed Contributing.md guide 2024-06-24 19:22:24 +02:00
Qubasa
8580664340 Add repro-hook to .gitignore 2024-06-24 19:22:24 +02:00
Qubasa
feab5f737e clan-cli: Add validity check for ssh
stash
2024-06-24 19:22:19 +02:00
clan-bot
0f92dcb4b2 Merge pull request 'Inventory: add concrete use-case examples' (#1650) from hsjobeki/clan-core:hsjobeki-main into main 2024-06-24 14:03:46 +00:00
Johannes Kirschbauer
c77230e3b6 Json-schema tests: add schema specifier to test 2024-06-24 16:00:46 +02:00
Johannes Kirschbauer
bcb7152c9f schema improvements: add additionalProperties: false to ensure closed types 2024-06-24 15:55:48 +02:00
Johannes Kirschbauer
aed486f020 lib: eval clan module as lib function 2024-06-24 15:47:25 +02:00
clan-bot
3061cd2838 Merge pull request 'dev report: backup' (#1651) from matrix into main 2024-06-24 13:08:51 +00:00
Jörg Thalheim
e08ea4d5ba first draft of the backup article 2024-06-24 15:05:37 +02:00
Johannes Kirschbauer
b222c98a54 Inventory: add concrete use-case examples 2024-06-24 14:35:41 +02:00
clan-bot
6b3ea54977 Merge pull request 'Automatic flake update - 2024-06-24T00:00+00:00' (#1648) from flake-update-2024-06-24 into main 2024-06-24 00:06:47 +00:00
Clan Merge Bot
1ff35fb538 update flake lock - 2024-06-24T00:00+00:00
Flake lock file updates:

• Updated input 'disko':
    'github:nix-community/disko/1bbdb06f14e2621290b250e631cf3d8948e4d19b' (2024-06-09)
  → 'github:nix-community/disko/e1174d991944a01eaaa04bc59c6281edca4c0e6e' (2024-06-20)
• Updated input 'nixos-generators':
    'github:nix-community/nixos-generators/d14b286322c7f4f897ca4b1726ce38cb68596c94' (2024-05-20)
  → 'github:nix-community/nixos-generators/35c20ba421dfa5059e20e0ef2343c875372bdcf3' (2024-06-10)
• Updated input 'nixos-images':
    'github:nix-community/nixos-images/72771bd35f4e19e32d6f652528483b5e07fc317b' (2024-06-07)
  → 'github:nix-community/nixos-images/c1e6a5f7b08f1c9993de1cfc5f15f838bf783b88' (2024-06-20)
• Updated input 'nixpkgs':
    'github:NixOS/nixpkgs/7d916e720af6b2ca355e4d0cfb8e4f742c172239' (2024-06-09)
  → 'github:NixOS/nixpkgs/084f8df2f3ff80cdec6f515931036f63c5d2f36c' (2024-06-23)
• Updated input 'sops-nix':
    'github:Mic92/sops-nix/f0922ad001829b400f0160ba85b47d252fa3d925' (2024-06-09)
  → 'github:Mic92/sops-nix/5e2e9421e9ed2b918be0a441c4535cfa45e04811' (2024-06-23)
• Updated input 'treefmt-nix':
    'github:numtide/treefmt-nix/4fc1c45a5f50169f9f29f6a98a438fb910b834ed' (2024-06-08)
  → 'github:numtide/treefmt-nix/68eb1dc333ce82d0ab0c0357363ea17c31ea1f81' (2024-06-16)
2024-06-24 00:00:22 +00:00
clan-bot
b9356240df Merge pull request 'fix fake-etc build on machines without sandbox' (#1645) from fix-macos-deploy into main 2024-06-21 15:05:45 +00:00
Jörg Thalheim
5b351da166 fix fake-etc build on machines without sandbox
If we have no sandbox enabled or on macos with sandbox enabled, /etc
contains a lot more files than we actually want.
Instead of copying some random files, we now just create those files
ourself.
2024-06-21 17:01:40 +02:00
clan-bot
501962227b Merge pull request 'clan-cli: Add validity check for age key generation' (#1642) from Qubasa/clan-core:Qubasa-main into main 2024-06-21 13:18:34 +00:00
Qubasa
7b0e1b437b clan-cli: Add validity check for age key generation 2024-06-21 15:07:53 +02:00
clan-bot
877cc38e2b Merge pull request 'clan-cli: Disable stack trace on KeyboardInterrupt' (#1641) from Qubasa/clan-core:Qubasa-main into main 2024-06-21 11:14:47 +00:00