parent
47ab2fadc7
commit
280d82da33
2 changed files with 1 additions and 8 deletions
|
@ -4,17 +4,11 @@
|
||||||
withSystem "x86_64-linux" ({ hci-effects, pkgs, self', ... }:
|
withSystem "x86_64-linux" ({ hci-effects, pkgs, self', ... }:
|
||||||
let
|
let
|
||||||
inherit (config.repo) ref;
|
inherit (config.repo) ref;
|
||||||
inherit (hci-effects) mkEffect runCachixDeploy runIf;
|
inherit (hci-effects) mkEffect runIf;
|
||||||
inherit (pkgs.lib) hasPrefix;
|
inherit (pkgs.lib) hasPrefix;
|
||||||
in
|
in
|
||||||
{
|
{
|
||||||
onPush.default.outputs.effects = {
|
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)
|
terraform-deploy = runIf (hasPrefix "refs/heads/gh-readonly-queue/master/" ref)
|
||||||
(mkEffect {
|
(mkEffect {
|
||||||
name = "terraform-deploy";
|
name = "terraform-deploy";
|
||||||
|
|
|
@ -16,7 +16,6 @@
|
||||||
inputs.self.nixosModules.raid
|
inputs.self.nixosModules.raid
|
||||||
inputs.self.nixosModules.zfs
|
inputs.self.nixosModules.zfs
|
||||||
inputs.self.nixosModules.community-builder
|
inputs.self.nixosModules.community-builder
|
||||||
inputs.self.nixosModules.cachix-deploy
|
|
||||||
];
|
];
|
||||||
|
|
||||||
# Emulate riscv64 until we have proper builders
|
# Emulate riscv64 until we have proper builders
|
||||||
|
|
Loading…
Add table
Reference in a new issue