constellation/hack/bazel-deps-mirror
renovate[bot] 53ae065329
deps: update golangci/golangci-lint to v1.62.2 (#3511)
* deps: update golangci/golangci-lint to v1.62.2

* deps: tidy all modules

* chore: align with new golangci-lint rules

golangci-lint added some linters in this version upgrade that require fixes on our side. These are done in this commit.

---------

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: edgelessci <edgelessci@users.noreply.github.com>
Co-authored-by: Moritz Sanft <58110325+msanft@users.noreply.github.com>
2024-12-02 13:24:34 +01:00
..
internal deps: update golangci/golangci-lint to v1.62.2 (#3511) 2024-12-02 13:24:34 +01:00
bazel-deps-mirror.go bazel-deps-mirror: upgrade command (#1617) 2023-04-05 17:32:51 +02:00
BUILD.bazel deps: convert zap to slog (#2825) 2024-02-08 14:20:01 +00:00
check.go logging: unify debug log message format (#2997) 2024-04-03 13:49:03 +00:00
fix.go logging: unify debug log message format (#2997) 2024-04-03 13:49:03 +00:00
README.md bazel: enable bzlmod 2024-05-23 09:48:04 +02:00
upgrade.go logging: unify debug log message format (#2997) 2024-04-03 13:49:03 +00: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.bzlmod 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