DavHau
25708d1a1a
/api/clan_modules: init
...
- add GET /api/clan_modules entry point returning a list of modules available for import
2023-10-25 17:22:35 +01:00
clan-bot
a6f51d4dae
Merge pull request 'api/machines: allow importing extra modules' ( #436 ) from DavHau-dave into main
2023-10-25 15:39:00 +00:00
DavHau
bf176ad277
api/machines: allow importing extra modules
...
- add top-level option `clanImports` to clanCore
- clanImports can be set and checked as any other option
- buildClan resolves the clanImports from the settings.json before calling evalModules to prevent infinite recursions
- new endpoint PUT machines/{name}/schema to allow getting the schema for a specific list of imports
- to retrieve the currently imported modules, cimply do a GET or PU on machines/{name}/config which will return `clanImports` as part of the config
Still missing: get list of available modules
2023-10-25 16:36:30 +01:00
Mic92
1d45d493ef
Merge pull request 'add container test driver' ( #435 ) from container into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/435
2023-10-25 13:16:13 +00:00
Jörg Thalheim
5753f32930
add container test driver
2023-10-25 13:16:13 +00:00
clan-bot
f7031bdbdb
Merge pull request 'PUT /machines/{name}/config; ensure is idempotent' ( #434 ) from DavHau-dave into main
2023-10-24 17:50:51 +00:00
DavHau
9f6e01671f
PUT /machines/{name}/config; ensure is idempotent
2023-10-24 18:48:14 +01:00
clan-bot
362e36c0b9
Merge pull request 'PUT api/machines/{name}/config: ensure only valid config is ever written' ( #433 ) from DavHau-dave into main
2023-10-24 17:43:37 +00:00
DavHau
588bde069f
PUT api/machines/{name}/config: ensure only valid config is ever written
...
- add CLAN_MACHINE_SETTINGS_FILE variable to temporarily override the machine settings file
- do a dry-run evaluation first with the new config before persisting it.
2023-10-24 18:40:48 +01:00
clan-bot
c9ef7d6e80
Merge pull request 'machines: add endpoint machines/{name}/ verify' ( #432 ) from DavHau-dave into main
2023-10-24 15:34:05 +00:00
DavHau
a539fb6dc6
machines: add endpoint machines/{name}/ verify
2023-10-24 16:31:37 +01:00
clan-bot
a1a9c73660
Merge pull request 'clan config: refactor - reorder functions' ( #431 ) from DavHau-dave into main
2023-10-24 14:35:34 +00:00
DavHau
cd940abc4e
clan config: refactor - reorder functions
2023-10-24 15:27:19 +01:00
clan-bot
2a22348373
Merge pull request 'clan-cli/shell.nix: rename repo_root -> source' ( #429 ) from DavHau-dave into main
2023-10-23 15:20:15 +00:00
DavHau
7ddd624e8e
clan-cli/shell.nix: rename repo_root -> source
2023-10-23 16:15:46 +01:00
clan-bot
65c7867542
Merge pull request 'Automatic flake update - 2023-10-23T00:00+00:00' ( #428 ) from flake-update-2023-10-23 into main
2023-10-23 00:02:46 +00:00
Clan Merge Bot
12e210ad12
update flake lock - 2023-10-23T00:00+00:00
...
Flake lock file updates:
• Updated input 'disko':
'github:nix-community/disko/6ad5c9c17cbd5514ce0cc2692dd82dd6d8e5d879' (2023-10-13)
→ 'github:nix-community/disko/4122a18340094151d7911e838237ec7627f0d0c5' (2023-10-22)
• Updated input 'sops-nix':
'github:Mic92/sops-nix/51186b8012068c417dac7c31fb12861726577898' (2023-10-15)
→ 'github:Mic92/sops-nix/30a0ba4a20703b4bfe047fe5def1fc24978e322c' (2023-10-22)
2023-10-23 00:00:17 +00:00
clan-bot
c4e98667ef
Merge pull request 'Automatic flake update - 2023-10-16T00:00+00:00' ( #427 ) from flake-update-2023-10-16 into main
2023-10-16 00:02:26 +00:00
Clan Merge Bot
cd4c14b82e
update flake lock - 2023-10-16T00:00+00:00
...
Flake lock file updates:
• Updated input 'disko':
'github:nix-community/disko/cde886a1c97ef2399b4f91409db045785020291f' (2023-10-05)
→ 'github:nix-community/disko/6ad5c9c17cbd5514ce0cc2692dd82dd6d8e5d879' (2023-10-13)
• Updated input 'sops-nix':
'github:Mic92/sops-nix/d7380c38d407eaf06d111832f4368ba3486b800e' (2023-10-08)
→ 'github:Mic92/sops-nix/51186b8012068c417dac7c31fb12861726577898' (2023-10-15)
• Updated input 'treefmt-nix':
'github:numtide/treefmt-nix/720bd006d855b08e60664e4683ccddb7a9ff614a' (2023-09-27)
→ 'github:numtide/treefmt-nix/aae39f64f5ecbe89792d05eacea5cb241891292a' (2023-10-15)
2023-10-16 00:00:17 +00:00
clan-bot
a650d9c341
Merge pull request 'machines/install: call correct upload function' ( #426 ) from Mic92-main into main
2023-10-14 14:06:59 +00:00
Jörg Thalheim
c82a4df9f9
machines/install: call correct upload function
2023-10-14 15:56:04 +02:00
DavHau
2f9ec882b2
Merge pull request 'vms.create: don't generate secrets if clan is remote' ( #424 ) from lassulus-vm_generate into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/424
2023-10-11 10:10:26 +00:00
lassulus
3dad667f97
vms.create: don't generate secrets if clan is remote
2023-10-11 12:01:42 +02:00
clan-bot
1cca1faedd
Merge pull request 'API: Added /api/flake/create. Fixed vscode search settings. Moved clan create to clan flake create' ( #423 ) from Qubasa-main into main
2023-10-09 12:04:02 +00:00
Qubasa
b49433958b
API: Added /api/flake/create. Fixed vscode search settings. Moved clan create to clan flake create
2023-10-09 14:01:34 +02:00
clan-bot
3650ab491d
Merge pull request 'Automatic flake update - 2023-10-09T00:00+00:00' ( #422 ) from flake-update-2023-10-09 into main
2023-10-09 00:04:23 +00:00
Clan Merge Bot
603b48a0fe
update flake lock - 2023-10-09T00:00+00:00
...
Flake lock file updates:
• Updated input 'disko':
'github:nix-community/disko/646ee25c25fffee122a66282861f5f56ad3e0fd9' (2023-10-02)
→ 'github:nix-community/disko/cde886a1c97ef2399b4f91409db045785020291f' (2023-10-05)
• Updated input 'flake-parts':
'github:hercules-ci/flake-parts/7f53fdb7bdc5bb237da7fefef12d099e4fd611ca' (2023-09-01)
→ 'github:hercules-ci/flake-parts/c9afaba3dfa4085dbd2ccb38dfade5141e33d9d4' (2023-10-03)
• Updated input 'nixos-generators':
'github:nix-community/nixos-generators/8ee78470029e641cddbd8721496da1316b47d3b4' (2023-09-04)
→ 'github:nix-community/nixos-generators/150f38bd1e09e20987feacb1b0d5991357532fb5' (2023-09-30)
• Updated input 'nixpkgs':
'github:Mic92/nixpkgs/bc160df717ed1e9defe6044092ea66950976e3ed' (2023-09-26)
→ 'github:Mic92/nixpkgs/c3bd4f19ef0062d4462444aa413e26c917187ae9' (2023-09-30)
• Updated input 'sops-nix':
'github:Mic92/sops-nix/2f375ed8702b0d8ee2430885059d5e7975e38f78' (2023-09-21)
→ 'github:Mic92/sops-nix/d7380c38d407eaf06d111832f4368ba3486b800e' (2023-10-08)
• Updated input 'treefmt-nix':
'github:numtide/treefmt-nix/e951529be2e7c669487de78f5aef8597bbae5fca' (2023-09-21)
→ 'github:numtide/treefmt-nix/720bd006d855b08e60664e4683ccddb7a9ff614a' (2023-09-27)
2023-10-09 00:00:16 +00:00
ui-asset-bot
78758319f3
update ui-assets.nix
2023-10-08 15:27:26 +00:00
clan-bot
4fa2056834
Merge pull request 'cleanup work' ( #421 ) from chore/fixes into main
2023-10-08 15:26:08 +00:00
ui-asset-bot
2874cf3bdb
update ui-assets.nix
2023-10-08 15:24:32 +00:00
clan-bot
ded13b2da5
Merge pull request 'add coporate theme color variables' ( #419 ) from feat/theme into main
2023-10-08 15:23:54 +00:00
Johannes Kirschbauer
5483018783
cleanup work
2023-10-08 17:20:43 +02:00
clan-bot
26b7effe99
Merge pull request 'CLI: Fixed bug in firefox opening addon page because of new profile' ( #420 ) from Qubasa-main into main
2023-10-08 14:42:49 +00:00
Johannes Kirschbauer
6312f47545
remove: tailwindcss/plugin until we find solution
2023-10-08 16:31:16 +02:00
Johannes Kirschbauer
9ea71c90a6
resolve conflicts
2023-10-08 15:53:43 +02:00
Johannes Kirschbauer
d3310f861b
add coporate theme color variables
2023-10-08 15:46:33 +02:00
Qubasa
9c74c4d661
CLI: Fixed bug in firefox opening addon page because of new profile
2023-10-08 14:39:31 +02:00
clan-bot
af1b8f68e7
Merge pull request 'clan join: test create vm for clan join' ( #418 ) from DavHau-dave into main
2023-10-06 17:17:15 +00:00
DavHau
ceb6bdd474
clan join: test create vm for clan join
...
This adds a vm create test for the `clan join` scenario where:
- there is no local clan to write changes to
- a machine from a remote flake needs to be built and run
- no users and no secrets need to be or can be managed (no flake to write files to)
2023-10-06 19:15:25 +02:00
clan-bot
e72f9ff8ae
Merge pull request 'secrets: fix: don't generate secrets if no secrets are defined' ( #417 ) from DavHau-dave into main
2023-10-06 16:50:45 +00:00
DavHau
c5b2e9b5f3
secrets: fix: don't generate secrets if no secrets are defined
2023-10-06 18:34:49 +02:00
ui-asset-bot
5ab0840939
update ui-assets.nix
2023-10-06 07:52:25 +00:00
clan-bot
60b868c4cb
Merge pull request 'clean up theme' ( #416 ) from feat/corp-theme into main
2023-10-06 07:51:07 +00:00
Johannes Kirschbauer
0e1b4ab96f
clean up theme
2023-10-06 09:41:37 +02:00
clan-bot
cc47206fd6
Merge pull request 'password-store: generate each secret in tmpdir' ( #414 ) from lassulus-HEAD into main
2023-10-05 18:36:52 +00:00
lassulus
2d2e097f6d
secrets.password-store: mkdir correct fact folder
2023-10-05 20:22:30 +02:00
lassulus
386da9e6c4
zerotier generate-network: terminate fakeroot for process cleanup
2023-10-05 19:14:10 +02:00
lassulus
13e8dba417
password-store: generate each secret in tmpdir
2023-10-05 19:14:10 +02:00
clan-bot
dd04847f93
Merge pull request 'clan-cli: improve debug logging' ( #415 ) from DavHau-dave into main
2023-10-05 15:39:24 +00:00
DavHau
f885c877bc
clan-cli: improve debug logging
2023-10-05 17:37:33 +02:00