build01: cachix deploy
This commit is contained in:
parent
0181aa2a10
commit
3216d4fadd
2 changed files with 8 additions and 1 deletions
|
@ -4,11 +4,17 @@
|
|||
withSystem "x86_64-linux" ({ hci-effects, pkgs, self', ... }:
|
||||
let
|
||||
inherit (config.repo) ref;
|
||||
inherit (hci-effects) mkEffect runIf;
|
||||
inherit (hci-effects) mkEffect runCachixDeploy runIf;
|
||||
inherit (pkgs.lib) hasPrefix;
|
||||
in
|
||||
{
|
||||
onPush.default.outputs.effects = {
|
||||
cachix-deploy = runIf (hasPrefix "refs/heads/gh-readonly-queue/master/" ref)
|
||||
(runCachixDeploy {
|
||||
deploy.agents = {
|
||||
build01 = builtins.unsafeDiscardStringContext self.nixosConfigurations.build01.config.system.build.toplevel;
|
||||
};
|
||||
});
|
||||
terraform-deploy = runIf (hasPrefix "refs/heads/gh-readonly-queue/master/" ref)
|
||||
(mkEffect {
|
||||
name = "terraform-deploy";
|
||||
|
|
|
@ -17,6 +17,7 @@
|
|||
inputs.self.nixosModules.zfs
|
||||
inputs.self.nixosModules.community-builder
|
||||
inputs.self.nixosModules.remote-builder-aarch64-nixos-community
|
||||
inputs.self.nixosModules.cachix-deploy
|
||||
];
|
||||
|
||||
# Emulate riscv64 until we have proper builders
|
||||
|
|
Loading…
Add table
Reference in a new issue