From dccfd3a2deada6eb2047f43c11326d69034ff0bd Mon Sep 17 00:00:00 2001 From: Luke Granger-Brown Date: Tue, 17 May 2022 01:38:27 +0100 Subject: [PATCH] nix/gitlab-ci: split deploy into deploy-{mach,other} --- nix/gitlab-ci/default.nix | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/nix/gitlab-ci/default.nix b/nix/gitlab-ci/default.nix index 4b63497a22..328c66982a 100644 --- a/nix/gitlab-ci/default.nix +++ b/nix/gitlab-ci/default.nix @@ -17,7 +17,7 @@ let tags = [ "macos" ]; }; in { - stages = [ "build" "deploy" ]; + stages = [ "build" "deploy-mach" "deploy-other" ]; nixCache = { stage = "build"; @@ -39,7 +39,7 @@ let nixCacheMacOSARM = macOS "aarch64-darwin"; lukegbcom = { - stage = "deploy"; + stage = "deploy-other"; needs = [{ job = "nixCache"; artifacts = false; }]; tags = [ "cacher" ]; only.refs = [ "branch/default" ]; @@ -54,7 +54,7 @@ let deployMachs = lib.filterAttrs (name: cfg: cfg.config.my.deploy.enable) depot.ops.nixos.systemConfigs; deployStage = machName: mach: ({ - stage = "deploy"; + stage = "deploy-mach"; needs = [{ job = "nixCache"; artifacts = true; }]; tags = [ "deployer" ];