constellation/hack/bazel-deps-mirror
2024-02-08 13:15:08 +01:00
..
internal fixed issues detected by bazel check 2024-02-08 13:15:08 +01:00
bazel-deps-mirror.go bazel-deps-mirror: upgrade command (#1617) 2023-04-05 17:32:51 +02:00
BUILD.bazel bazel run //:tidy 2024-02-08 13:15:03 +01:00
check.go use Stderr instead of Stdout for logging 2024-02-08 13:15:07 +01:00
fix.go use Stderr instead of Stdout for logging 2024-02-08 13:15:07 +01:00
README.md bazel: deps mirror (#1522) 2023-03-30 09:41:56 +02:00
upgrade.go use Stderr instead of Stdout for logging 2024-02-08 13:15:07 +01: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