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;
|
2020-12-31 01:36:01 +00:00
|
|
|
ciPackages = prefixAttrs "pkg" (builtins.removeAttrs depot.nix.pkgs [ "grafana-plugins" ]);
|
|
|
|
ciGrafanaPlugins = prefixAttrs "pkg-grafana-plugins" depot.nix.pkgs.grafana-plugins;
|
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;
|
2020-10-04 00:07:59 +00:00
|
|
|
};
|
2020-05-09 10:14:07 +00:00
|
|
|
in
|
2021-01-19 20:43:14 +00:00
|
|
|
pkgs.linkFarm "ci" (ciMachines ++ ciPackages ++ ciGrafanaPlugins ++ ciDocker ++ ciWeb ++ ciOther)
|