constellation/hack/bazel-deps-mirror
Malte Poll 3a5753045e goleak: ignore rules_go SIGTERM handler
rules_go added a SIGTERM handler that has a goroutine that survives the scope of the goleak check.
Currently, the best known workaround is to ignore this goroutine.

https://github.com/uber-go/goleak/issues/119
https://github.com/bazelbuild/rules_go/pull/3749
https://github.com/bazelbuild/rules_go/pull/3827#issuecomment-1894002120
2024-01-22 13:11:58 +01:00
..
internal goleak: ignore rules_go SIGTERM handler 2024-01-22 13:11:58 +01:00
bazel-deps-mirror.go bazel-deps-mirror: upgrade command (#1617) 2023-04-05 17:32:51 +02:00
BUILD.bazel bazel-deps-mirror: upgrade command (#1617) 2023-04-05 17:32:51 +02:00
check.go deps: update golangci/golangci-lint to v1.52.2 (#1598) 2023-04-05 18:40:35 +02:00
fix.go bazel-deps-mirror: upgrade command (#1617) 2023-04-05 17:32:51 +02:00
README.md bazel: deps mirror (#1522) 2023-03-30 09:41:56 +02:00
upgrade.go bazel-deps-mirror: upgrade command (#1617) 2023-04-05 17:32:51 +02:00

Bazel deps mirror

This directory contains tooling to automatically mirror the dependencies of a Bazel project into the Constellation CDN at https://cdn.confidential.cloud/.

The tool searches for various rules in the WORKSPACE.bazel file and all loaded .bzl files. It has the following commands:

  • check: checks if the dependencies all have a mirror URL and optionally checks if the mirror really returns the expected file
  • mirror: mirrors all dependencies that don't have a mirror URL yet. Also normalizes the urls attribute of rules