Skip to content

Commit

Permalink
Merge #2682
Browse files Browse the repository at this point in the history
2682: dockerImages: use binary-dist instead of custom hydra build product subtype r=jbgi a=jbgi

so that docker images correctly appear for download on hydra:
https://hydra.iohk.io/build/6289120

Currently on master:
https://hydra.iohk.io/build/6287806

Co-authored-by: Jean-Baptiste Giraudeau <jean-baptiste.giraudeau@iohk.io>
  • Loading branch information
iohk-bors[bot] and jbgi authored May 11, 2021
2 parents ebd3275 + 537caf2 commit 1f1df8c
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 3 deletions.
2 changes: 1 addition & 1 deletion flake.nix
Original file line number Diff line number Diff line change
Expand Up @@ -91,7 +91,7 @@
inherit (pkgs) cardano-node-profiled cardano-node-eventlogged cardano-node-asserted;
}
// scripts
// (collectExes flake.packages)
// exes
// (prefixNamesWith "static/"
(mapAttrs pkgs.rewriteStatic (lazyCollectExe
(if system == "x86_64-darwin" then flake else muslFlake).packages)))
Expand Down
1 change: 1 addition & 0 deletions nix/nixos/cardano-node-service.nix
Original file line number Diff line number Diff line change
Expand Up @@ -451,6 +451,7 @@ in {
description = "cardano-node node daemon user";
uid = 10016;
group = "cardano-node";
isSystemUser = true;
};

## TODO: use http://hackage.haskell.org/package/systemd for:
Expand Down
4 changes: 2 additions & 2 deletions release.nix
Original file line number Diff line number Diff line change
Expand Up @@ -81,8 +81,8 @@ let
in pkgs.runCommand "cardano-node-docker-images" {} ''
mkdir -pv $out/nix-support/
cat <<EOF > $out/nix-support/hydra-build-products
file dockerimage-${dockerImage.name} ${dockerImage}
file dockerimage-${submitApiDockerImage.name} ${submitApiDockerImage}
file binary-dist ${dockerImage}
file binary-dist ${submitApiDockerImage}
EOF
'';
mkPins = inputs: pkgs.runCommand "ifd-pins" {} ''
Expand Down

0 comments on commit 1f1df8c

Please sign in to comment.