From 954c0ca3d611a846f258ec0c57a5a706bf980b6b Mon Sep 17 00:00:00 2001 From: Graham Christensen Date: Fri, 8 Dec 2017 21:10:28 -0500 Subject: [PATCH] Make a release job --- release.nix | 23 ++++++++++++++++++----- 1 file changed, 18 insertions(+), 5 deletions(-) diff --git a/release.nix b/release.nix index bca4f3f..3fa45da 100644 --- a/release.nix +++ b/release.nix @@ -51,9 +51,22 @@ let x8664LinuxOnly = path: (attrForSystem "x86_64-linux" path); -in merge [ - (attrsForAllSystems [ "ofborg" "rs" ]) + jobs = merge [ + (attrsForAllSystems [ "ofborg" "rs" ]) - (x8664LinuxOnly [ "ofborg" "php" ]) - (x8664LinuxOnly [ "ircbot" ]) -] + (x8664LinuxOnly [ "ofborg" "php" ]) + (x8664LinuxOnly [ "ircbot" ]) + ]; +in jobs // { + release = pkgs.releaseTools.aggregate { + name = "release"; + meta.description = "Release-critical builds for OfBorg infrastructure"; + constituents = [ + jobs.ofborg.rs.x86_64-linux + jobs.ofborg.rs.x86_64-darwin + # jobs.ofborg.rs.aarch64-linux + jobs.ofborg.php.x86_64-linux + jobs.ircbot.x86_64-linux + ]; + }; +}