mirror of
https://github.com/privatevoid-net/nix-super.git
synced 2024-11-29 09:06:15 +02:00
Die rather than warn if a Docker image is missing
The warning was done to handle older Nix releases that didn't have
Docker images (091f232896
), but this was
a bad idea because it causes us to silently skip uploading Docker
images if e.g. Hydra hasn't finished building them yet.
Issue #10648.
This commit is contained in:
parent
de8c3c034c
commit
6df07f3e81
1 changed files with 1 additions and 4 deletions
|
@ -189,10 +189,7 @@ for my $platforms (["x86_64-linux", "amd64"], ["aarch64-linux", "arm64"]) {
|
||||||
eval {
|
eval {
|
||||||
downloadFile("dockerImage.$system", "1", $fn);
|
downloadFile("dockerImage.$system", "1", $fn);
|
||||||
};
|
};
|
||||||
if ($@) {
|
die "$@" if $@;
|
||||||
warn "$@" if $@;
|
|
||||||
next;
|
|
||||||
}
|
|
||||||
$haveDocker = 1;
|
$haveDocker = 1;
|
||||||
|
|
||||||
print STDERR "loading docker image for $dockerPlatform...\n";
|
print STDERR "loading docker image for $dockerPlatform...\n";
|
||||||
|
|
Loading…
Reference in a new issue