Commit graph

382 commits

Author SHA1 Message Date
r-vdp
0f92086a83
Remove unneeded turbofish. 2023-05-29 01:24:12 +02:00
r-vdp
79eecb6251
Avoid a bit more allocation and make intentions clearer. 2023-05-29 01:22:07 +02:00
r-vdp
f584494464
Avoid allocating the nix options twide. 2023-05-29 00:49:37 +02:00
Ramses
9eb15be5ce Only info logging by default. 2023-05-27 15:01:02 +02:00
r-vdp
b0430700b5
Allow passing options to nix. 2023-05-25 18:37:50 +02:00
r-vdp
cecf202ff4
Fix the logic to apply the test-driver patch only when needed. 2023-05-25 18:37:50 +02:00
r-vdp
81c9b152d1
cargo update 2023-05-25 18:37:50 +02:00
r-vdp
e12b596833
flake.lock: Update
Flake lock file updates:

• Updated input 'crane':
    'github:ipetkov/crane/7b5bd9e5acb2bb0cfba2d65f34d8568a894cdb6c' (2023-05-08)
  → 'github:ipetkov/crane/35110cccf28823320f4fd697fcafcb5038683982' (2023-05-25)
• Updated input 'nixpkgs':
    'github:NixOS/nixpkgs/963006aab35e3e8ebbf6052b6bf4ea712fdd3c28' (2023-05-16)
  → 'github:NixOS/nixpkgs/f91ee3065de91a3531329a674a45ddcb3467a650' (2023-05-24)
• Updated input 'pre-commit-hooks':
    'github:cachix/pre-commit-hooks.nix/96eabec58248ed8f4b0ad59e7ce9398018684fdc' (2023-05-15)
  → 'github:cachix/pre-commit-hooks.nix/61e567d6497bc9556f391faebe5e410e6623217f' (2023-05-23)
• Updated input 'rust-overlay':
    'github:oxalica/rust-overlay/65c3f2655f52a81e1b3e629d4c07df4873d0f2bb' (2023-05-16)
  → 'github:oxalica/rust-overlay/e64b8ea322c6c84d2810abcfa02afcd66ea20868' (2023-05-25)
• Updated input 'treefmt-nix':
    'github:numtide/treefmt-nix/c1b28acff9d302b0924ee0d67c4a42d20eb11b28' (2023-05-16)
  → 'github:numtide/treefmt-nix/4e92552731aca44ece86731ec4c7848a2c46aa67' (2023-05-22)
2023-05-25 18:37:50 +02:00
Ramses
04fdbcb7c9
Merge pull request #13 from oluceps/fix-doc
Fix missing function parameter in README
2023-05-24 18:22:19 +02:00
oluceps
2bc006ac15
Fix missing function parameter in README. 2023-05-24 22:38:39 +08:00
r-vdp
4f2b808a29
Improve logic for store path construction. 2023-05-16 19:10:11 +02:00
r-vdp
bf4c9042f0
cargo update 2023-05-16 18:33:25 +02:00
r-vdp
483f9e0427
flake.lock: Update
Flake lock file updates:

• Updated input 'nixpkgs':
    'github:NixOS/nixpkgs/0470f36b02ef01d4f43c641bbf07020bcab71bf1' (2023-05-14)
  → 'github:NixOS/nixpkgs/963006aab35e3e8ebbf6052b6bf4ea712fdd3c28' (2023-05-16)
• Updated input 'pre-commit-hooks':
    'github:cachix/pre-commit-hooks.nix/fb58866e20af98779017134319b5663b8215d912' (2023-04-27)
  → 'github:cachix/pre-commit-hooks.nix/96eabec58248ed8f4b0ad59e7ce9398018684fdc' (2023-05-15)
• Updated input 'rust-overlay':
    'github:oxalica/rust-overlay/4679872d2dd3e94ffef75efcbf77ea11549d90a7' (2023-05-15)
  → 'github:oxalica/rust-overlay/65c3f2655f52a81e1b3e629d4c07df4873d0f2bb' (2023-05-16)
• Updated input 'treefmt-nix':
    'github:numtide/treefmt-nix/27107cf3dfdc3c809d2477954d92fc2cc68b4401' (2023-05-14)
  → 'github:numtide/treefmt-nix/c1b28acff9d302b0924ee0d67c4a42d20eb11b28' (2023-05-16)
2023-05-16 18:33:16 +02:00
r-vdp
1c4cf3611b
Extract a function. 2023-05-16 18:33:07 +02:00
r-vdp
779ba9c7a7
Don't crash if we can't canonicalise the path. 2023-05-16 18:32:48 +02:00
r-vdp
3009a5feaf
Fix typo. 2023-05-16 18:21:53 +02:00
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