Commit Graph

1072 Commits

Author SHA1 Message Date
cc96fcf916 Merge pull request 'move breakpoint checks out of default build' (#440) from Mic92-main into main
All checks were successful
assets1 / test (push) Successful in 11s
checks-impure / test (push) Successful in 35s
checks / test (push) Successful in 37s
2023-10-27 15:42:28 +00:00
a7848de3a3 extending machines documentation
All checks were successful
checks-impure / test (pull_request) Successful in 36s
checks / test (pull_request) Successful in 1m43s
2023-10-27 17:40:20 +02:00
04836fa9e8 improve output of installer iso
Now it also includes local addresses.
2023-10-27 17:40:20 +02:00
79e707b044 fix updating multiple machines 2023-10-27 17:40:20 +02:00
b2c3b3840f move breakpoint checks out of default build
this allows to debug builds with breakpoints
2023-10-27 17:40:20 +02:00
902a95d04d Merge pull request 'docs: fix clan create command' (#439) from Mic92-main into main
All checks were successful
assets1 / test (push) Successful in 25s
checks / test (push) Successful in 37s
checks-impure / test (push) Successful in 38s
2023-10-27 12:30:32 +00:00
3e4ad8ae1b cli/vms/create: fix trailing newlines in log output
All checks were successful
checks-impure / test (pull_request) Successful in 1m0s
checks / test (pull_request) Successful in 2m17s
2023-10-27 14:27:52 +02:00
ba50ce45f1 docs: fix clan create command 2023-10-27 13:28:34 +02:00
5d186d9fd4 Merge pull request 'api/machines: split off config validation into separate endpoint' (#438) from DavHau-dave into main
All checks were successful
assets1 / test (push) Successful in 13s
checks-impure / test (push) Successful in 35s
checks / test (push) Successful in 36s
2023-10-25 23:25:56 +00:00
0e5c7d2d13 api/machines: split off config validation into separate endpoint
All checks were successful
checks-impure / test (pull_request) Successful in 1m1s
checks / test (pull_request) Successful in 1m36s
- This speeds up PUT /machines{name}/config as it doesn't do the expensive check anymore
- instead use PUT /machines/{name}/verify which allows a dry-run evaluation of a config which is passed without writing it to disk
2023-10-25 17:48:37 +01:00
ed87aefbad Merge pull request '/api/clan_modules: init' (#437) from DavHau-dave into main
All checks were successful
assets1 / test (push) Successful in 12s
checks-impure / test (push) Successful in 33s
checks / test (push) Successful in 36s
2023-10-25 16:25:05 +00:00
25708d1a1a /api/clan_modules: init
All checks were successful
checks-impure / test (pull_request) Successful in 39s
checks / test (pull_request) Successful in 2m6s
- add GET /api/clan_modules entry point returning a list of modules available for import
2023-10-25 17:22:35 +01:00
a6f51d4dae Merge pull request 'api/machines: allow importing extra modules' (#436) from DavHau-dave into main
All checks were successful
assets1 / test (push) Successful in 8s
checks-impure / test (push) Successful in 35s
checks / test (push) Successful in 36s
2023-10-25 15:39:00 +00:00
bf176ad277 api/machines: allow importing extra modules
All checks were successful
checks-impure / test (pull_request) Successful in 36s
checks / test (pull_request) Successful in 2m6s
- 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
1d45d493ef Merge pull request 'add container test driver' (#435) from container into main
All checks were successful
assets1 / test (push) Successful in 10s
checks-impure / test (push) Successful in 36s
checks / test (push) Successful in 37s
Reviewed-on: #435
2023-10-25 13:16:13 +00:00
5753f32930 add container test driver 2023-10-25 13:16:13 +00:00
f7031bdbdb Merge pull request 'PUT /machines/{name}/config; ensure is idempotent' (#434) from DavHau-dave into main
All checks were successful
assets1 / test (push) Successful in 14s
checks-impure / test (push) Successful in 35s
checks / test (push) Successful in 36s
2023-10-24 17:50:51 +00:00
9f6e01671f PUT /machines/{name}/config; ensure is idempotent
All checks were successful
checks-impure / test (pull_request) Successful in 1m4s
checks / test (pull_request) Successful in 2m18s
2023-10-24 18:48:14 +01:00
362e36c0b9 Merge pull request 'PUT api/machines/{name}/config: ensure only valid config is ever written' (#433) from DavHau-dave into main
All checks were successful
assets1 / test (push) Successful in 12s
checks-impure / test (push) Successful in 34s
checks / test (push) Successful in 36s
2023-10-24 17:43:37 +00:00
588bde069f PUT api/machines/{name}/config: ensure only valid config is ever written
All checks were successful
checks-impure / test (pull_request) Successful in 1m0s
checks / test (pull_request) Successful in 2m24s
- 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
c9ef7d6e80 Merge pull request 'machines: add endpoint machines/{name}/ verify' (#432) from DavHau-dave into main
All checks were successful
checks-impure / test (push) Successful in 33s
assets1 / test (push) Successful in 3m56s
checks / test (push) Successful in 6m5s
2023-10-24 15:34:05 +00:00
a539fb6dc6 machines: add endpoint machines/{name}/ verify
All checks were successful
checks-impure / test (pull_request) Successful in 58s
checks / test (pull_request) Successful in 8m48s
2023-10-24 16:31:37 +01:00
a1a9c73660 Merge pull request 'clan config: refactor - reorder functions' (#431) from DavHau-dave into main
All checks were successful
assets1 / test (push) Successful in 12s
checks-impure / test (push) Successful in 32s
checks / test (push) Successful in 42s
2023-10-24 14:35:34 +00:00
cd940abc4e clan config: refactor - reorder functions
All checks were successful
checks-impure / test (pull_request) Successful in 57s
checks / test (pull_request) Successful in 7m21s
2023-10-24 15:27:19 +01:00
2a22348373 Merge pull request 'clan-cli/shell.nix: rename repo_root -> source' (#429) from DavHau-dave into main
All checks were successful
assets1 / test (push) Successful in 11s
checks-impure / test (push) Successful in 35s
checks / test (push) Successful in 36s
2023-10-23 15:20:15 +00:00
7ddd624e8e clan-cli/shell.nix: rename repo_root -> source
All checks were successful
checks-impure / test (pull_request) Successful in 35s
checks / test (pull_request) Successful in 1m33s
2023-10-23 16:15:46 +01:00
65c7867542 Merge pull request 'Automatic flake update - 2023-10-23T00:00+00:00' (#428) from flake-update-2023-10-23 into main
All checks were successful
assets1 / test (push) Successful in 14s
checks-impure / test (push) Successful in 47s
checks / test (push) Successful in 47s
2023-10-23 00:02:46 +00:00
Clan Merge Bot
12e210ad12 update flake lock - 2023-10-23T00:00+00:00
All checks were successful
checks-impure / test (pull_request) Successful in 1m14s
checks / test (pull_request) Successful in 2m18s
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
c4e98667ef Merge pull request 'Automatic flake update - 2023-10-16T00:00+00:00' (#427) from flake-update-2023-10-16 into main
All checks were successful
assets1 / test (push) Successful in 10s
checks-impure / test (push) Successful in 36s
checks / test (push) Successful in 36s
2023-10-16 00:02:26 +00:00
Clan Merge Bot
cd4c14b82e update flake lock - 2023-10-16T00:00+00:00
All checks were successful
checks-impure / test (pull_request) Successful in 1m12s
checks / test (pull_request) Successful in 2m0s
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
a650d9c341 Merge pull request 'machines/install: call correct upload function' (#426) from Mic92-main into main
All checks were successful
assets1 / test (push) Successful in 14s
checks-impure / test (push) Successful in 37s
checks / test (push) Successful in 1m34s
2023-10-14 14:06:59 +00:00
c82a4df9f9 machines/install: call correct upload function
All checks were successful
checks-impure / test (pull_request) Successful in 53s
checks / test (pull_request) Successful in 2m5s
2023-10-14 15:56:04 +02:00
2f9ec882b2 Merge pull request 'vms.create: don't generate secrets if clan is remote' (#424) from lassulus-vm_generate into main
All checks were successful
assets1 / test (push) Successful in 11s
checks-impure / test (push) Successful in 34s
checks / test (push) Successful in 37s
Reviewed-on: #424
2023-10-11 10:10:26 +00:00
3dad667f97 vms.create: don't generate secrets if clan is remote
All checks were successful
checks-impure / test (pull_request) Successful in 59s
checks / test (pull_request) Successful in 2m4s
2023-10-11 12:01:42 +02:00
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
All checks were successful
assets1 / test (push) Successful in 10s
checks-impure / test (push) Successful in 35s
checks / test (push) Successful in 1m32s
2023-10-09 12:04:02 +00:00
b49433958b API: Added /api/flake/create. Fixed vscode search settings. Moved clan create to clan flake create
All checks were successful
checks-impure / test (pull_request) Successful in 57s
checks / test (pull_request) Successful in 2m3s
2023-10-09 14:01:34 +02:00
3650ab491d Merge pull request 'Automatic flake update - 2023-10-09T00:00+00:00' (#422) from flake-update-2023-10-09 into main
All checks were successful
assets1 / test (push) Successful in 20s
checks-impure / test (push) Successful in 34s
checks / test (push) Successful in 35s
2023-10-09 00:04:23 +00:00
Clan Merge Bot
603b48a0fe update flake lock - 2023-10-09T00:00+00:00
All checks were successful
checks-impure / test (pull_request) Successful in 2m12s
checks / test (pull_request) Successful in 4m1s
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
78758319f3 update ui-assets.nix
All checks were successful
assets1 / test (push) Has been skipped
checks-impure / test (push) Has been skipped
checks / test (push) Has been skipped
2023-10-08 15:27:26 +00:00
4fa2056834 Merge pull request 'cleanup work' (#421) from chore/fixes into main
All checks were successful
checks-impure / test (push) Successful in 38s
assets1 / test (push) Successful in 1m19s
checks / test (push) Successful in 1m23s
2023-10-08 15:26:08 +00:00
2874cf3bdb update ui-assets.nix
All checks were successful
checks-impure / test (push) Has been skipped
checks / test (push) Has been skipped
assets1 / test (push) Has been skipped
2023-10-08 15:24:32 +00:00
ded13b2da5 Merge pull request 'add coporate theme color variables' (#419) from feat/theme into main
All checks were successful
checks-impure / test (push) Successful in 35s
checks / test (push) Successful in 36s
assets1 / test (push) Successful in 38s
2023-10-08 15:23:54 +00:00
5483018783
cleanup work
All checks were successful
checks-impure / test (pull_request) Successful in 34s
checks / test (pull_request) Successful in 1m13s
2023-10-08 17:20:43 +02:00
26b7effe99 Merge pull request 'CLI: Fixed bug in firefox opening addon page because of new profile' (#420) from Qubasa-main into main
All checks were successful
assets1 / test (push) Successful in 9s
checks-impure / test (push) Successful in 34s
checks / test (push) Successful in 35s
2023-10-08 14:42:49 +00:00
6312f47545
remove: tailwindcss/plugin until we find solution
All checks were successful
checks / test (pull_request) Successful in 38s
checks-impure / test (pull_request) Successful in 38s
2023-10-08 16:31:16 +02:00
9ea71c90a6
resolve conflicts
Some checks failed
checks-impure / test (pull_request) Successful in 35s
checks / test (pull_request) Failing after 1m27s
2023-10-08 15:53:43 +02:00
d3310f861b
add coporate theme color variables
Some checks failed
checks-impure / test (pull_request) Successful in 34s
checks / test (pull_request) Failing after 1m25s
2023-10-08 15:46:33 +02:00
9c74c4d661 CLI: Fixed bug in firefox opening addon page because of new profile
All checks were successful
checks-impure / test (pull_request) Successful in 59s
checks / test (pull_request) Successful in 2m1s
2023-10-08 14:39:31 +02:00
af1b8f68e7 Merge pull request 'clan join: test create vm for clan join' (#418) from DavHau-dave into main
All checks were successful
assets1 / test (push) Successful in 21s
checks-impure / test (push) Successful in 33s
checks / test (push) Successful in 36s
2023-10-06 17:17:15 +00:00
ceb6bdd474 clan join: test create vm for clan join
All checks were successful
checks-impure / test (pull_request) Successful in 34s
checks / test (pull_request) Successful in 1m33s
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