Commit graph

266 commits

Author SHA1 Message Date
r-vdp
ca46aa5ace
Don't create an nginx service by default. 2023-05-16 17:27:55 +02:00
r-vdp
8023bf4421
Remove unused service. 2023-05-16 17:27:28 +02:00
r-vdp
77077427dd
Properly handle already existing but unmanaged files. 2023-05-16 16:51:23 +02:00
r-vdp
7e78522c02
Pre-populate accepts either a store path or a flake URI. 2023-05-16 12:00:30 +02:00
r-vdp
2901945cfd
Better error handling during generate. 2023-05-16 11:48:33 +02:00
r-vdp
39995e4102
Add nix to the runtime path. 2023-05-16 11:47:52 +02:00
r-vdp
8602403333
Improve error message. 2023-05-15 20:34:48 +02:00
r-vdp
c430035749
Print the store path to stdout for build and generate. 2023-05-15 20:02:16 +02:00
r-vdp
3ed3a26b56
Only apply the test-driver patch if nixpkgs doesn't have it yet. 2023-05-15 20:00:39 +02:00
r-vdp
283d1d1030
cargo update 2023-05-15 10:48:14 +02:00
r-vdp
36b086fa00
flake.lock: Update
Flake lock file updates:

• Updated input 'nixpkgs':
    'github:NixOS/nixpkgs/897876e4c484f1e8f92009fd11b7d988a121a4e7' (2023-05-06)
  → 'github:NixOS/nixpkgs/0470f36b02ef01d4f43c641bbf07020bcab71bf1' (2023-05-14)
• Updated input 'rust-overlay':
    'github:oxalica/rust-overlay/4e7fba3f37f5e184ada0ef3cf1e4d8ef450f240b' (2023-05-12)
  → 'github:oxalica/rust-overlay/4679872d2dd3e94ffef75efcbf77ea11549d90a7' (2023-05-15)
• Updated input 'treefmt-nix':
    'github:numtide/treefmt-nix/b44794f94514b61512352a18cd77c710f0005f15' (2023-05-05)
  → 'github:numtide/treefmt-nix/27107cf3dfdc3c809d2477954d92fc2cc68b4401' (2023-05-14)
2023-05-15 10:47:34 +02:00
r-vdp
c6898f239c
Quote attribute name. 2023-05-12 16:31:05 +02:00
Ramses
f4c58ce90b
Fix handling of the --store argument. (#12) 2023-05-12 16:04:24 +02:00
r-vdp
39bcc3643c
Remove unused input override. 2023-05-12 15:55:15 +02:00
r-vdp
f93a11b11f
cargo update 2023-05-12 15:51:50 +02:00
r-vdp
01954e1717
flake.lock: Update
Flake lock file updates:

• Updated input 'crane':
    'github:ipetkov/crane/8708b19627b2dfc2d1ac332b74383b8abdd429f0' (2023-05-03)
  → 'github:ipetkov/crane/7b5bd9e5acb2bb0cfba2d65f34d8568a894cdb6c' (2023-05-08)
• Updated input 'devshell':
    'github:numtide/devshell/fb6673fe9fe4409e3f43ca86968261e970918a83' (2023-04-28)
  → 'github:numtide/devshell/5143ea68647c4cf5227e4ad2100db6671fc4c369' (2023-05-09)
• Removed input 'devshell/flake-utils'
• Added input 'devshell/systems':
    'github:nix-systems/default/da67096a3b9bf56a91d16901293e51ba5b49a27e' (2023-04-09)
• Updated input 'nixpkgs':
    'github:NixOS/nixpkgs/3e313808bd2e0a0669430787fb22e43b2f4bf8bf' (2023-05-05)
  → 'github:NixOS/nixpkgs/897876e4c484f1e8f92009fd11b7d988a121a4e7' (2023-05-06)
• Updated input 'rust-overlay':
    'github:oxalica/rust-overlay/a61fcd9910229d097ffef92b5a2440065e3b64d5' (2023-05-06)
  → 'github:oxalica/rust-overlay/4e7fba3f37f5e184ada0ef3cf1e4d8ef450f240b' (2023-05-12)
2023-05-12 15:51:30 +02:00
r-vdp
2ee52a84b3
Improve types in the VM test node config module system. 2023-05-09 10:39:23 +02:00
r-vdp
8ec989863d
Improve naming and error reporting in VM tests. 2023-05-09 10:20:30 +02:00
Ramses
cead991210
Add a pre-populate subcommand. (#11) 2023-05-08 18:35:43 +02:00
r-vdp
9254ace18f
Make the backdoor service survive systemctl isolate. 2023-05-08 18:30:02 +02:00
r-vdp
39d298626d
Only include enabled units in the services.json file. 2023-05-08 18:28:06 +02:00
r-vdp
a01bcc4034
Add TODO. 2023-05-08 17:27:28 +02:00
r-vdp
e17423e226
Test switching to a new config and deactivating. 2023-05-07 00:02:41 +02:00
r-vdp
9bef20370c
Fix comment + indentation. 2023-05-06 23:49:04 +02:00
r-vdp
e9b8d19307
Use stable URLs for the ubuntu test images. 2023-05-06 23:43:50 +02:00
r-vdp
643fe73b8f
cargo update 2023-05-06 23:12:51 +02:00
r-vdp
296c11f3e0
flake.lock: Update
Flake lock file updates:

• Updated input 'crane':
    'github:ipetkov/crane/54b63c8eae4c50172cb50b612946ff1d2bc1c75c' (2023-04-16)
  → 'github:ipetkov/crane/8708b19627b2dfc2d1ac332b74383b8abdd429f0' (2023-05-03)
• Updated input 'devshell':
    'github:numtide/devshell/3e0e60ab37cd0bf7ab59888f5c32499d851edb47' (2023-03-16)
  → 'github:numtide/devshell/fb6673fe9fe4409e3f43ca86968261e970918a83' (2023-04-28)
• Updated input 'nixpkgs':
    'github:NixOS/nixpkgs/c8018361fa1d1650ee8d4b96294783cf564e8a7f' (2023-04-25)
  → 'github:NixOS/nixpkgs/3e313808bd2e0a0669430787fb22e43b2f4bf8bf' (2023-05-05)
• Updated input 'pre-commit-hooks':
    'github:cachix/pre-commit-hooks.nix/56cd2d47a9c937be98ab225cf014b450f1533cdb' (2023-04-24)
  → 'github:cachix/pre-commit-hooks.nix/fb58866e20af98779017134319b5663b8215d912' (2023-04-27)
• Updated input 'rust-overlay':
    'github:oxalica/rust-overlay/4d1bb70dd1231d0cd1d76deffe7bf0b6127185ea' (2023-04-26)
  → 'github:oxalica/rust-overlay/a61fcd9910229d097ffef92b5a2440065e3b64d5' (2023-05-06)
• Updated input 'treefmt-nix':
    'github:numtide/treefmt-nix/6d8bea2820630576ad8c3a3bde2c95c38bcc471f' (2023-04-26)
  → 'github:numtide/treefmt-nix/b44794f94514b61512352a18cd77c710f0005f15' (2023-05-05)
2023-05-06 23:08:41 +02:00
Ramses
af43744006
Add Aarch64 tests and include multiple test images. (#9) 2023-04-27 14:57:00 +02:00
Ramses
804f9b947f
Rename garnix.io config file. (#7) 2023-04-27 14:03:13 +02:00
Ramses
0f0e22152a
Add config file for garnix.io. (#6) 2023-04-27 11:45:05 +02:00
r-vdp
9b62e4668b Carry a patch for the test driver instead of vendoring all the code. 2023-04-27 02:01:53 +02:00
r-vdp
22684b6ed6 Introduce a framework for automated VM tests. 2023-04-27 02:01:53 +02:00
r-vdp
2f8a9ba967
Improve error handling. 2023-04-27 01:57:04 +02:00
r-vdp
36250cf6fa
flake.lock: Update
Flake lock file updates:

• Updated input 'nixpkgs':
    'github:NixOS/nixpkgs/555daa9d339b3df75e58ee558a4fec98ea92521e' (2023-04-18)
  → 'github:NixOS/nixpkgs/c8018361fa1d1650ee8d4b96294783cf564e8a7f' (2023-04-25)
• Updated input 'pre-commit-hooks':
    'github:cachix/pre-commit-hooks.nix/b7ca8f6fff42f6af75c17f9438fed1686b7d855d' (2023-04-18)
  → 'github:cachix/pre-commit-hooks.nix/56cd2d47a9c937be98ab225cf014b450f1533cdb' (2023-04-24)
• Updated input 'rust-overlay':
    'github:oxalica/rust-overlay/4771640d46c214d702512a8ece591f582ae507fa' (2023-04-20)
  → 'github:oxalica/rust-overlay/4d1bb70dd1231d0cd1d76deffe7bf0b6127185ea' (2023-04-26)
• Updated input 'treefmt-nix':
    'github:numtide/treefmt-nix/b25d1a3c2c7554d0462ab1dfddf2f13128638b90' (2023-04-14)
  → 'github:numtide/treefmt-nix/6d8bea2820630576ad8c3a3bde2c95c38bcc471f' (2023-04-26)
2023-04-27 00:24:25 +02:00
r-vdp
7b88b4ca7d
cargo update 2023-04-27 00:24:17 +02:00
r-vdp
db9ba03678 Introduce an intermediate target for systemd services.
Restarting the active targets seems to cause issues on Ubuntu,
restarting certain targets causes the display manager to exit.
2023-04-27 00:21:59 +02:00
r-vdp
db1361d962
Remove the CI workflow, we use garnix.io instead. 2023-04-27 00:20:03 +02:00
r-vdp
862f26d3e4
Remove left-over comment. 2023-04-27 00:15:58 +02:00
r-vdp
e8054de014
cargo update 2023-04-20 11:31:30 +02:00
r-vdp
afa10ae47f
flake.lock: Update
Flake lock file updates:

• Updated input 'nixpkgs':
    'github:NixOS/nixpkgs/f294325aed382b66c7a188482101b0f336d1d7db' (2023-04-16)
  → 'github:NixOS/nixpkgs/555daa9d339b3df75e58ee558a4fec98ea92521e' (2023-04-18)
• Updated input 'pre-commit-hooks':
    'github:cachix/pre-commit-hooks.nix/d3de8f69ca88fb6f8b09e5b598be5ac98d28ede5' (2023-04-13)
  → 'github:cachix/pre-commit-hooks.nix/b7ca8f6fff42f6af75c17f9438fed1686b7d855d' (2023-04-18)
• Updated input 'rust-overlay':
    'github:oxalica/rust-overlay/ffe47b90076067ad5dc25fe739d95a463bdf3c59' (2023-04-17)
  → 'github:oxalica/rust-overlay/4771640d46c214d702512a8ece591f582ae507fa' (2023-04-20)
2023-04-20 10:58:14 +02:00
r-vdp
2517f62030
flake.lock: Update
Flake lock file updates:

• Updated input 'crane':
    'github:ipetkov/crane/0c9f468ff00576577d83f5019a66c557ede5acf6' (2023-04-11)
  → 'github:ipetkov/crane/54b63c8eae4c50172cb50b612946ff1d2bc1c75c' (2023-04-16)
• Updated input 'nixpkgs':
    'github:NixOS/nixpkgs/fe2ecaf706a5907b5e54d979fbde4924d84b65fc' (2023-04-12)
  → 'github:NixOS/nixpkgs/f294325aed382b66c7a188482101b0f336d1d7db' (2023-04-16)
• Updated input 'rust-overlay':
    'github:oxalica/rust-overlay/db7bf4a2dd295adeeaa809d36387098926a15487' (2023-04-14)
  → 'github:oxalica/rust-overlay/ffe47b90076067ad5dc25fe739d95a463bdf3c59' (2023-04-17)
• Updated input 'treefmt-nix':
    'github:numtide/treefmt-nix/f3dd071be31528261034022020fc7e4c010f7179' (2023-04-10)
  → 'github:numtide/treefmt-nix/b25d1a3c2c7554d0462ab1dfddf2f13128638b90' (2023-04-14)
2023-04-17 10:54:41 +02:00
r-vdp
2c6982fb31
cargo update 2023-04-14 16:01:54 +02:00
r-vdp
a36632611a
flake.lock: Update
Flake lock file updates:

• Updated input 'nixpkgs':
    'github:NixOS/nixpkgs/3fb8eedc450286d5092e4953118212fa21091b3b' (2023-04-11)
  → 'github:NixOS/nixpkgs/fe2ecaf706a5907b5e54d979fbde4924d84b65fc' (2023-04-12)
• Updated input 'pre-commit-hooks':
    'github:cachix/pre-commit-hooks.nix/c77e64a5adab96866ea97449a5a7a327d4629828' (2023-04-11)
  → 'github:cachix/pre-commit-hooks.nix/d3de8f69ca88fb6f8b09e5b598be5ac98d28ede5' (2023-04-13)
• Updated input 'rust-overlay':
    'github:oxalica/rust-overlay/aeaa11c65a5c5cebaa51652353ab3c497b9a7bbf' (2023-04-13)
  → 'github:oxalica/rust-overlay/db7bf4a2dd295adeeaa809d36387098926a15487' (2023-04-14)
2023-04-14 16:00:19 +02:00
r-vdp
29c967209a
Enable the upstream nginx module from nixpkgs. 2023-04-13 12:16:19 +02:00
r-vdp
40597a9540
Add the nixosModules special arg. 2023-04-13 12:12:41 +02:00
r-vdp
94119b4ae6
Improve error handling. 2023-04-13 12:08:05 +02:00
r-vdp
af853c014c
Rename EtcTree -> FileTree. 2023-04-13 12:07:09 +02:00
r-vdp
a642fe94dd
cargo update 2023-04-13 11:59:37 +02:00
r-vdp
8e81dcdc65
flake.lock: Update
Flake lock file updates:

• Updated input 'nixpkgs':
    'github:NixOS/nixpkgs/db24d86dd8a4769c50d6b7295e81aa280cd93f35' (2023-04-10)
  → 'github:NixOS/nixpkgs/3fb8eedc450286d5092e4953118212fa21091b3b' (2023-04-11)
• Updated input 'pre-commit-hooks':
    'github:cachix/pre-commit-hooks.nix/a0e9703a95342d1dba4ba0d989b2e0b429d42516' (2023-04-11)
  → 'github:cachix/pre-commit-hooks.nix/c77e64a5adab96866ea97449a5a7a327d4629828' (2023-04-11)
• Updated input 'rust-overlay':
    'github:oxalica/rust-overlay/9e7373ba5627ffe952f66a3e82e3a375bdc38565' (2023-04-11)
  → 'github:oxalica/rust-overlay/b10a42fe6bb0b6d1b335c1f137419ebf754b2b59' (2023-04-12)
2023-04-12 12:55:54 +02:00
r-vdp
b83ab41394
Add TODO item. 2023-04-11 22:03:33 +02:00