1
0
Fork 0
hscloud/third_party/go
patryk 28742b8106 Make golang deps fetching go faster
This commit aims to increase the speed of hscloud rebuild process
by optimizing the behavior of Go dependency fetching routines.

Gazelle v0.25.0 introduced a new dependency resolution mode
where it does not reach out for external dependencies; instead,
it operates solely on what is contained inside the workspace.

Because static dependency resolution mode is now the default
behavior in go_repository() rules, we are also updating the
contents of //third_party/go/repositories.bzl.

Also, I changed some of the bigger Go dependencies to be downloaded
by a tarball fetch in order to speed up the rebuild process.

Other changes:
  * Bump nixpkgs to a fresh snapshot
  * Upgrade to Bazel v5

Change-Id: Icfe752411b3128bcd5b25fa28bb76bec45ae2f71
Reviewed-on: https://gerrit.hackerspace.pl/c/hscloud/+/1441
Reviewed-by: q3k <q3k@hackerspace.pl>
2022-11-27 16:27:53 +00:00
..
k8s-apimachinery k8s.io/apimachinery: bypass https://github.com/kubernetes/kubernetes/issues/87675 2020-02-21 12:54:05 +01:00
kubernetes third_party/go/kubernetes: fix version reported in kubectl 2020-11-03 21:15:41 +01:00
BUILD WORKSPACE: cleanup 2020-06-25 19:54:25 +02:00
repositories.bzl Make golang deps fetching go faster 2022-11-27 16:27:53 +00:00