[fabrica] Layers and the verifiable build: the layers pipeline runs all five test layers on a NixOS runner with KVM, verify-nix rebuilds a tag and compares with its pin, the release publishes the Nix pin (ianitor-nix.json) under the signed SHA256SUMS; scripts for conformance, load and the pin; docs/verify.md
This commit is contained in:
@@ -9,7 +9,8 @@
|
||||
|
||||
rustPlatform.buildRustPackage {
|
||||
pname = "ianitor";
|
||||
version = "0.1.0";
|
||||
# One version, the workspace's (scripts/check-version.mjs checks the rest).
|
||||
version = (lib.importTOML ../../Cargo.toml).workspace.package.version;
|
||||
|
||||
src = lib.fileset.toSource {
|
||||
root = ../..;
|
||||
@@ -19,6 +20,8 @@ rustPlatform.buildRustPackage {
|
||||
../../crates
|
||||
../../tests/diff
|
||||
../../tests/support
|
||||
# The fuzz crate is a workspace member; its cargo-fuzz project is not (own workspace).
|
||||
(lib.fileset.difference ../../tests/fuzz ../../tests/fuzz/fuzz)
|
||||
];
|
||||
};
|
||||
|
||||
|
||||
@@ -8,7 +8,7 @@
|
||||
|
||||
stdenv.mkDerivation (finalAttrs: {
|
||||
pname = "ianitor-web";
|
||||
version = "0.1.0";
|
||||
version = (lib.importJSON ../../apps/web/package.json).version;
|
||||
|
||||
src = lib.fileset.toSource {
|
||||
root = ../..;
|
||||
|
||||
Reference in New Issue
Block a user