nix/gitlab-ci: split deploy into deploy-{mach,other}
This commit is contained in:
parent
a4c6ad17dc
commit
dccfd3a2de
1 changed files with 3 additions and 3 deletions
|
@ -17,7 +17,7 @@ let
|
||||||
tags = [ "macos" ];
|
tags = [ "macos" ];
|
||||||
};
|
};
|
||||||
in {
|
in {
|
||||||
stages = [ "build" "deploy" ];
|
stages = [ "build" "deploy-mach" "deploy-other" ];
|
||||||
|
|
||||||
nixCache = {
|
nixCache = {
|
||||||
stage = "build";
|
stage = "build";
|
||||||
|
@ -39,7 +39,7 @@ let
|
||||||
nixCacheMacOSARM = macOS "aarch64-darwin";
|
nixCacheMacOSARM = macOS "aarch64-darwin";
|
||||||
|
|
||||||
lukegbcom = {
|
lukegbcom = {
|
||||||
stage = "deploy";
|
stage = "deploy-other";
|
||||||
needs = [{ job = "nixCache"; artifacts = false; }];
|
needs = [{ job = "nixCache"; artifacts = false; }];
|
||||||
tags = [ "cacher" ];
|
tags = [ "cacher" ];
|
||||||
only.refs = [ "branch/default" ];
|
only.refs = [ "branch/default" ];
|
||||||
|
@ -54,7 +54,7 @@ let
|
||||||
|
|
||||||
deployMachs = lib.filterAttrs (name: cfg: cfg.config.my.deploy.enable) depot.ops.nixos.systemConfigs;
|
deployMachs = lib.filterAttrs (name: cfg: cfg.config.my.deploy.enable) depot.ops.nixos.systemConfigs;
|
||||||
deployStage = machName: mach: ({
|
deployStage = machName: mach: ({
|
||||||
stage = "deploy";
|
stage = "deploy-mach";
|
||||||
needs = [{ job = "nixCache"; artifacts = true; }];
|
needs = [{ job = "nixCache"; artifacts = true; }];
|
||||||
tags = [ "deployer" ];
|
tags = [ "deployer" ];
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue