Tested hydra job to control release of channel (has to build okay)
This commit is contained in:
24
release.nix
24
release.nix
@@ -89,8 +89,9 @@ in let
|
|||||||
in
|
in
|
||||||
nixpkgs;
|
nixpkgs;
|
||||||
|
|
||||||
in {
|
# jobs - The jobs hydra is to run.
|
||||||
|
#
|
||||||
|
jobs = {
|
||||||
# Tweak the nixos make-channel code to include the upstream channel.
|
# Tweak the nixos make-channel code to include the upstream channel.
|
||||||
#
|
#
|
||||||
# 1. Replace the git repo nixpkgs with a copy of the unpacked nixpkgs channel.
|
# 1. Replace the git repo nixpkgs with a copy of the unpacked nixpkgs channel.
|
||||||
@@ -108,7 +109,21 @@ in {
|
|||||||
'' + original.distPhase;
|
'' + original.distPhase;
|
||||||
} );
|
} );
|
||||||
|
|
||||||
overlays = {
|
# tested - Aggregate package set required to built for automatic channel release
|
||||||
|
#
|
||||||
|
tested = pkgs.lib.hydraJob (pkgs.releaseTools.aggregate {
|
||||||
|
name = "ccpkgs-${version}";
|
||||||
|
|
||||||
|
constituents =
|
||||||
|
builtins.attrValues jobs.pkgs
|
||||||
|
++ builtins.attrValues jobs.temporary;
|
||||||
|
|
||||||
|
meta = {
|
||||||
|
description = "Release-critical builds for the ccpkgs channel";
|
||||||
|
maintainers = with pkgs.lib.maintainers; [ ];
|
||||||
|
};
|
||||||
|
});
|
||||||
|
|
||||||
# pkgs - Attribute set of overlayed pkgs.
|
# pkgs - Attribute set of overlayed pkgs.
|
||||||
#
|
#
|
||||||
pkgs =
|
pkgs =
|
||||||
@@ -123,4 +138,5 @@ in {
|
|||||||
( map ( name: { inherit name; value = pkgs.${name}; } )
|
( map ( name: { inherit name; value = pkgs.${name}; } )
|
||||||
( builtins.attrNames ( import ./temporary/all-temporary.nix { } { } ) ) );
|
( builtins.attrNames ( import ./temporary/all-temporary.nix { } { } ) ) );
|
||||||
};
|
};
|
||||||
}
|
|
||||||
|
in jobs
|
||||||
|
|||||||
Reference in New Issue
Block a user