daml/nix
Moritz Kiefer b7bb391981
Retry bazel cache up & downloads (#10156)
This is still a bit rough. It currently retries regardless of the
error (however, with an exponential backoff and a limit so not that
big of an issue, at worst we waste some time retrying). We also print
the exception to stderr which is a bit nasty but useful for debugging.

I did verify in logs that we hit the retry code path and that things
seem to be properly cached.

I’ll clean this up & upstream this to Bazel once we have verified for
a few days/weeks that it works well for us.

Reviewing patch files is nasty so I recommend to take a look at the
branch in my Bazel fork instead
https://github.com/cocreature/bazel/tree/cache-retry.

changelog_begin
changelog_end
2021-07-01 14:40:29 +02:00
..
certs Remove custom truststore remains (#280) 2019-04-08 11:19:44 +02:00
nixpkgs Upgrade nixpkgs (#9908) 2021-06-24 13:58:56 +00:00
overrides Upgrade nixpkgs (#8190) 2021-02-08 11:12:07 +00:00
tools Upgrade nixpkgs (#9248) 2021-03-26 21:26:40 +01:00
bazel-cc-toolchain.nix Hermetic nixpkgs_cc_toolchain (#5976) 2020-05-18 18:03:51 +02:00
bazel-cc-wrapper-response-file.patch Upgrade to Bazel 4.0 (#8798) 2021-02-11 10:08:47 +01:00
bazel-retry-cache.patch Retry bazel cache up & downloads (#10156) 2021-07-01 14:40:29 +02:00
bazel.nix Upgrade nixpkgs (#9908) 2021-06-24 13:58:56 +00:00
BUILD.bazel update copyright notices for 2021 (#8257) 2021-01-01 19:49:51 +01:00
default.nix dev-env: Use nix-shell for scripts instead of sourcing dade-common. (#10088) 2021-06-23 09:39:00 +00:00
nixpkgs.nix Retry bazel cache up & downloads (#10156) 2021-07-01 14:40:29 +02:00