mirror of
https://github.com/edgelesssys/constellation.git
synced 2024-12-23 14:39:40 -05:00
bazel: migrate aspect_bazel_lib to bzlmod
This commit is contained in:
parent
fd70709192
commit
7e5f56f3ba
@ -1,5 +1,6 @@
|
||||
module(name = "constellation")
|
||||
|
||||
bazel_dep(name = "aspect_bazel_lib", version = "2.7.3")
|
||||
bazel_dep(name = "bazel_skylib", version = "1.6.1")
|
||||
bazel_dep(name = "hermetic_cc_toolchain", version = "3.1.0")
|
||||
bazel_dep(name = "rules_cc", version = "0.0.9")
|
||||
|
@ -246,19 +246,6 @@ register_toolchains(
|
||||
"@zig_sdk//toolchain:windows_amd64",
|
||||
)
|
||||
|
||||
# Aspect Bazel Lib
|
||||
load("//bazel/toolchains:aspect_bazel_lib.bzl", "aspect_bazel_lib")
|
||||
|
||||
aspect_bazel_lib()
|
||||
|
||||
load("@aspect_bazel_lib//lib:repositories.bzl", "aspect_bazel_lib_dependencies", "aspect_bazel_lib_register_toolchains", "register_coreutils_toolchains", "register_yq_toolchains")
|
||||
|
||||
aspect_bazel_lib_dependencies()
|
||||
|
||||
aspect_bazel_lib_register_toolchains()
|
||||
|
||||
register_coreutils_toolchains()
|
||||
|
||||
# OCI rules
|
||||
load("//bazel/toolchains:oci_deps.bzl", "oci_deps")
|
||||
|
||||
@ -279,8 +266,6 @@ load("//bazel/toolchains:container_images.bzl", "containter_image_deps")
|
||||
|
||||
containter_image_deps()
|
||||
|
||||
register_yq_toolchains()
|
||||
|
||||
# Multirun
|
||||
load("//bazel/toolchains:multirun_deps.bzl", "multirun_deps")
|
||||
|
||||
|
@ -1,15 +0,0 @@
|
||||
"""aspect bazel library"""
|
||||
|
||||
load("@bazel_tools//tools/build_defs/repo:http.bzl", "http_archive")
|
||||
|
||||
def aspect_bazel_lib():
|
||||
http_archive(
|
||||
name = "aspect_bazel_lib",
|
||||
sha256 = "87ab4ec479ebeb00d286266aca2068caeef1bb0b1765e8f71c7b6cfee6af4226",
|
||||
strip_prefix = "bazel-lib-2.7.3",
|
||||
urls = [
|
||||
"https://cdn.confidential.cloud/constellation/cas/sha256/87ab4ec479ebeb00d286266aca2068caeef1bb0b1765e8f71c7b6cfee6af4226",
|
||||
"https://github.com/aspect-build/bazel-lib/releases/download/v2.7.3/bazel-lib-v2.7.3.tar.gz",
|
||||
],
|
||||
type = "tar.gz",
|
||||
)
|
Loading…
Reference in New Issue
Block a user