feat: add Google Metadata support and TDX container test

- Introduced `google-metadata` binary for reading GCP instance attributes.
- Added TDX container test with new `container-test-tdx` package.
- Updated Nix workflow and deployment scripts for Google Metadata integration.
- Bumped `anyhow` to 1.0.95 and updated Cargo.lock.

Signed-off-by: Harald Hoyer <harald@matterlabs.dev>
This commit is contained in:
Harald Hoyer 2025-01-21 16:42:52 +01:00
parent e2c31919c9
commit 11a22c9e67
Signed by: harald
GPG key ID: F519A1143B3FBE32
16 changed files with 286 additions and 52 deletions

View file

@ -25,12 +25,9 @@
};
outputs = inputs:
let
src = ./.;
in
inputs.snowfall-lib.mkFlake {
inherit inputs;
inherit src;
src = ./.;
snowfall.namespace = "teepot";
@ -42,8 +39,6 @@
nixsgx-flake.overlays.default
vault-auth-tee-flake.overlays.default
rust-overlay.overlays.default
# somehow the original `src` is not available anymore
(final: prev: { teepotCrate = prev.pkgs.callPackage ./teepot-crate.nix { inherit inputs; inherit src; }; })
];
alias = {
@ -59,16 +54,7 @@
};
outputs-builder = channels: {
formatter = channels.nixpkgs.nixpkgs-fmt;
checks = {
inherit
(channels.nixpkgs.teepot) cargoFmt;
inherit
(channels.nixpkgs.teepot) cargoClippy;
inherit
(channels.nixpkgs.teepot) cargoDeny;
};
formatter = channels.nixpkgs.nixfmt-rfc-style;
};
};
}