edgelesssys / constellation

Constellation is the first Confidential Kubernetes. Constellation shields entire Kubernetes clusters from the (cloud) infrastructure using confidential computing.
GNU Affero General Public License v3.0
906 stars 47 forks source link

bazel: adopt bzlmod #3116

Closed malt3 closed 1 month ago

malt3 commented 1 month ago

Context

Bzlmod is the new dependency management system of Bazel. It works in a similar way as go mod.

Proposed change(s)

Additional info

Checklist

netlify[bot] commented 1 month ago

Deploy Preview for constellation-docs canceled.

Name Link
Latest commit 2c82882a195915fc936b72fcb95c6f9ab4241ab3
Latest deploy log https://app.netlify.com/sites/constellation-docs/deploys/664dfd686313230008d911ac
malt3 commented 1 month ago

nice Will this require any changes to our renovate.json?

As far as I can tell, renovate already natively supports bzlmod.

Although I need to (and will) test if the bazel-module manager works as intended once this hits the main branch.

github-actions[bot] commented 1 month ago

Coverage report

Package Old New Trend
bootstrapper/initproto 0.00% 0.00% :construction:
bootstrapper/internal/initserver 22.80% 22.80% :construction:
bootstrapper/internal/joinclient 39.70% 39.70% :construction:
cli/internal/cmd 41.00% 41.00% :construction:
csi/kms 18.00% 18.00% :construction:
debugd/internal/cdbg/cmd 0.00% 0.00% :construction:
debugd/internal/debugd/deploy 28.10% 28.30% :arrow_upper_right:
debugd/internal/debugd/server 36.20% 36.20% :construction:
debugd/service 0.00% 0.00% :construction:
disk-mapper/internal/recoveryserver 38.00% 38.00% :construction:
disk-mapper/internal/rejoinclient 27.50% 27.50% :construction:
disk-mapper/recoverproto 0.00% 0.00% :construction:
hack/bazel-deps-mirror 0.00% 0.00% :construction:
hack/bazel-deps-mirror/internal/bazelfiles 75.00% 75.00% :left_right_arrow:
internal/constellation 19.00% 19.00% :construction:
internal/grpc/atlscredentials 18.70% 18.40% :arrow_lower_right:
internal/grpc/dialer 25.30% 25.30% :construction:
internal/logger 0.00% 0.00% :construction:
internal/versions/components 44.30% 44.30% :construction:
joinservice/internal/kms 15.90% 15.90% :construction:
joinservice/internal/server 21.30% 21.30% :construction:
joinservice/joinproto 0.00% 0.00% :construction:
keyservice/internal/server 15.90% 15.90% :construction:
keyservice/keyserviceproto 0.00% 0.00% :construction:
operators/constellation-node-operator/internal/upgrade 0.00% 0.00% :construction:
s3proxy/internal/kms 15.90% 15.90% :construction:
upgrade-agent/internal/server 9.60% 9.60% :construction:
upgrade-agent/upgradeproto 0.00% 0.00% :construction:
verify/server 43.30% 43.30% :construction:
verify/verifyproto 0.00% 0.00% :construction: