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:
parent
713a70d154
commit
8b2884de09
2 changed files with 9 additions and 9 deletions
|
@ -34,13 +34,4 @@ depot.nix.readTree.drvTargets rec {
|
||||||
|
|
||||||
yc.attr = "corp.ops.yc-cli";
|
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;
|
|
||||||
}
|
}
|
||||||
|
|
9
ops/yandex-base-image/default.nix
Normal file
9
ops/yandex-base-image/default.nix
Normal 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
|
Loading…
Reference in a new issue