2020-06-07 14:03:12 +00:00
|
|
|
# SPDX-FileCopyrightText: 2020 Luke Granger-Brown <depot@lukegb.com>
|
|
|
|
#
|
|
|
|
# SPDX-License-Identifier: Apache-2.0
|
|
|
|
|
2020-05-09 10:14:07 +00:00
|
|
|
let
|
|
|
|
depot = (import ./default.nix {});
|
|
|
|
pkgs = depot.third_party.nixpkgs;
|
|
|
|
lib = pkgs.lib;
|
|
|
|
prefixAttrs = prefix: lib.mapAttrsToList (name: value: { name = "${prefix}-${name}"; path = value; });
|
2020-11-01 21:39:25 +00:00
|
|
|
ciMachines = prefixAttrs "machine" depot.ops.nixos.systems;
|
2021-01-30 17:15:16 +00:00
|
|
|
ciPackages = prefixAttrs "pkg" (builtins.removeAttrs depot.nix.pkgs [ "grafana-plugins" "windows" ]);
|
2020-12-31 01:36:01 +00:00
|
|
|
ciGrafanaPlugins = prefixAttrs "pkg-grafana-plugins" depot.nix.pkgs.grafana-plugins;
|
2021-01-30 17:15:16 +00:00
|
|
|
ciWindows = prefixAttrs "pkg-windows" depot.nix.pkgs.windows;
|
2020-10-10 21:02:23 +00:00
|
|
|
ciDocker = prefixAttrs "docker" ((import ./docker-images.nix).images);
|
2021-01-19 20:42:46 +00:00
|
|
|
ciWeb = prefixAttrs "web" depot.web;
|
2020-10-04 00:07:59 +00:00
|
|
|
|
|
|
|
ciOther = prefixAttrs "other" {
|
2020-10-04 00:25:36 +00:00
|
|
|
twitterchiver-archiver = depot.go.twitterchiver.archiver;
|
|
|
|
twitterchiver-archiver-docker = depot.go.twitterchiver.archiver.dockerImage;
|
2021-01-06 21:16:34 +00:00
|
|
|
twitternuke = depot.go.twitternuke;
|
2021-03-13 16:57:28 +00:00
|
|
|
systemPathJSON = depot.ops.nixos.systemPathJSON;
|
2021-03-19 01:19:14 +00:00
|
|
|
installcd = depot.ops.nixos.installcd;
|
2020-10-04 00:07:59 +00:00
|
|
|
};
|
2020-05-09 10:14:07 +00:00
|
|
|
in
|
2021-01-30 17:15:16 +00:00
|
|
|
pkgs.linkFarm "ci" (ciMachines ++ ciPackages ++ ciWindows ++ ciGrafanaPlugins ++ ciDocker ++ ciWeb ++ ciOther)
|