nix/gitlab-ci: attempt to do things on Mac Mini
This commit is contained in:
parent
f1121433cf
commit
a291107f62
1 changed files with 11 additions and 0 deletions
|
@ -22,6 +22,17 @@ let
|
||||||
};
|
};
|
||||||
tags = [ "cacher" ];
|
tags = [ "cacher" ];
|
||||||
};
|
};
|
||||||
|
|
||||||
|
nixCacheMacOS = {
|
||||||
|
stage = "build";
|
||||||
|
image = "nixos/nix:latest";
|
||||||
|
script = [
|
||||||
|
"nix run -f ./ third_party.nixpkgs.bash -c ./hack/populate_secrets.sh"
|
||||||
|
"nix build -v -f ./ci-root.nix --substituters \"https://cache.nixos.org/ s3://lukegb-nix-cache?endpoint=storage.googleapis.com&trusted=1\""
|
||||||
|
"nix copy -v --to 's3://lukegb-nix-cache?endpoint=storage.googleapis.com' ./result"
|
||||||
|
];
|
||||||
|
tags = [ "macos" ];
|
||||||
|
};
|
||||||
} // (lib.mapAttrs deployStage deployMachs);
|
} // (lib.mapAttrs deployStage deployMachs);
|
||||||
|
|
||||||
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;
|
||||||
|
|
Loading…
Reference in a new issue