chore(ops): move yandex-base-image to //ops and bake in keys

Change-Id: I607af1fc41c1f6ee24eed1386a23663346c3acc2
Reviewed-on: https://cl.tvl.fyi/c/depot/+/9574
Reviewed-by: flokli <flokli@flokli.de>
Tested-by: BuildkiteCI
This commit is contained in:
Vincent Ambo 2023-10-08 18:55:58 +03:00 committed by tazjin
parent 713a70d154
commit 8b2884de09
2 changed files with 9 additions and 9 deletions

View file

@ -34,13 +34,4 @@ depot.nix.readTree.drvTargets rec {
yc.attr = "corp.ops.yc-cli";
};
# Base image for Yandex VMs.
yandex-base-image = (depot.third_party.nixos {
configuration = { ... }: {
imports = [
(depot.path.origSrc + ("/ops/modules/yandex-cloud.nix"))
];
};
}).config.system.build.yandexCloudImage;
}

View file

@ -0,0 +1,9 @@
# Base image for Yandex Cloud VMs.
{ depot, ... }:
(depot.ops.nixos.nixosFor {
imports = [
(depot.path.origSrc + ("/ops/modules/yandex-cloud.nix"))
(depot.path.origSrc + ("/ops/modules/tvl-users.nix"))
];
}).config.system.build.yandexCloudImage