mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-17 19:21:04 +00:00
nixos/release: add amazonImageAutomaticSize
This allows us to continue to have the automatically sized image attempt to build on Hydra, which should give us a good indication of when we've got this fixed.
This commit is contained in:
parent
87c3b7e767
commit
733d682cc3
|
@ -224,6 +224,25 @@ in rec {
|
||||||
);
|
);
|
||||||
|
|
||||||
|
|
||||||
|
# Test job for https://github.com/NixOS/nixpkgs/issues/121354 to test
|
||||||
|
# automatic sizing without blocking the channel.
|
||||||
|
amazonImageAutomaticSize = forMatchingSystems [ "x86_64-linux" "aarch64-linux" ] (system:
|
||||||
|
|
||||||
|
with import ./.. { inherit system; };
|
||||||
|
|
||||||
|
hydraJob ((import lib/eval-config.nix {
|
||||||
|
inherit system;
|
||||||
|
modules =
|
||||||
|
[ configuration
|
||||||
|
versionModule
|
||||||
|
./maintainers/scripts/ec2/amazon-image.nix
|
||||||
|
({ ... }: { amazonImage.sizeMB = "auto"; })
|
||||||
|
];
|
||||||
|
}).config.system.build.amazonImage)
|
||||||
|
|
||||||
|
);
|
||||||
|
|
||||||
|
|
||||||
# Ensure that all packages used by the minimal NixOS config end up in the channel.
|
# Ensure that all packages used by the minimal NixOS config end up in the channel.
|
||||||
dummy = forAllSystems (system: pkgs.runCommand "dummy"
|
dummy = forAllSystems (system: pkgs.runCommand "dummy"
|
||||||
{ toplevel = (import lib/eval-config.nix {
|
{ toplevel = (import lib/eval-config.nix {
|
||||||
|
|
Loading…
Reference in a new issue