mirror of
https://github.com/edgelesssys/constellation.git
synced 2024-10-01 01:36:09 -04:00
0ece41c146
* bazel-deps-mirror: upgrade command This command can be used to upgrade a dependency. Users are supposed to replace any upstream URLs and run the upgrade command. It replaces the expected hash and uploads the new dep to the mirror. |
||
---|---|---|
.. | ||
internal | ||
bazel-deps-mirror.go | ||
BUILD.bazel | ||
check.go | ||
fix.go | ||
README.md | ||
upgrade.go |
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