mirror of
https://github.com/edgelesssys/constellation.git
synced 2025-11-09 15:24:58 -05:00
deps: update bazel (modules) (#3817)
* deps: update bazel (modules) * bazel: add rules_shell dependency * deps: tidy all modules --------- Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> Co-authored-by: Moritz Sanft <58110325+msanft@users.noreply.github.com> Co-authored-by: edgelessci <edgelessci@users.noreply.github.com>
This commit is contained in:
parent
acec154846
commit
2835db3b1e
6 changed files with 45 additions and 2799 deletions
|
|
@ -1,6 +1,6 @@
|
|||
module(name = "constellation")
|
||||
|
||||
bazel_dep(name = "aspect_bazel_lib", version = "2.14.0")
|
||||
bazel_dep(name = "aspect_bazel_lib", version = "2.16.0")
|
||||
|
||||
bazel_lib = use_extension("@aspect_bazel_lib//lib:extensions.bzl", "toolchains")
|
||||
bazel_lib.yq()
|
||||
|
|
@ -14,9 +14,10 @@ bazel_dep(name = "rules_cc", version = "0.1.1")
|
|||
bazel_dep(name = "rules_go", version = "0.54.0", repo_name = "io_bazel_rules_go")
|
||||
bazel_dep(name = "rules_pkg", version = "1.1.0")
|
||||
bazel_dep(name = "rules_proto", version = "7.1.0")
|
||||
bazel_dep(name = "rules_python", version = "1.3.0")
|
||||
bazel_dep(name = "rules_python", version = "1.4.1")
|
||||
bazel_dep(name = "rules_shell", version = "0.4.1")
|
||||
|
||||
bazel_dep(name = "buildifier_prebuilt", version = "8.0.1", dev_dependency = True)
|
||||
bazel_dep(name = "buildifier_prebuilt", version = "8.0.3", dev_dependency = True)
|
||||
|
||||
go_sdk = use_extension("@io_bazel_rules_go//go:extensions.bzl", "go_sdk")
|
||||
go_sdk.download(
|
||||
|
|
|
|||
2824
MODULE.bazel.lock
generated
2824
MODULE.bazel.lock
generated
File diff suppressed because it is too large
Load diff
|
|
@ -1,3 +1,5 @@
|
|||
load("@rules_shell//shell:sh_library.bzl", "sh_library")
|
||||
|
||||
exports_files([
|
||||
"repo_command.sh.in",
|
||||
"noop_warn.sh.in",
|
||||
|
|
|
|||
|
|
@ -1,6 +1,8 @@
|
|||
"""Bazel rules for CI and dev tooling"""
|
||||
|
||||
load("@bazel_skylib//lib:shell.bzl", "shell")
|
||||
load("@rules_shell//shell:sh_binary.bzl", "sh_binary")
|
||||
load("@rules_shell//shell:sh_test.bzl", "sh_test")
|
||||
|
||||
def _sh_template_impl(ctx):
|
||||
out_file = ctx.actions.declare_file(ctx.label.name + ".bash")
|
||||
|
|
@ -66,8 +68,7 @@ def sh_template(name, **kwargs):
|
|||
template = template,
|
||||
toolchains = toolchains,
|
||||
)
|
||||
|
||||
native.sh_binary(
|
||||
sh_binary(
|
||||
name = name,
|
||||
srcs = [script_name],
|
||||
data = [script_name] + data,
|
||||
|
|
@ -95,8 +96,7 @@ def sh_test_template(name, **kwargs):
|
|||
substitutions = substitutions,
|
||||
template = template,
|
||||
)
|
||||
|
||||
native.sh_test(
|
||||
sh_test(
|
||||
name = name,
|
||||
srcs = [script_name],
|
||||
data = [script_name] + data,
|
||||
|
|
|
|||
|
|
@ -1,4 +1,5 @@
|
|||
load("@com_github_ash2k_bazel_tools//multirun:def.bzl", "multirun")
|
||||
load("@rules_shell//shell:sh_library.bzl", "sh_library")
|
||||
load("//bazel/sh:def.bzl", "sh_template")
|
||||
|
||||
filegroup(
|
||||
|
|
|
|||
|
|
@ -1,3 +1,5 @@
|
|||
load("@rules_shell//shell:sh_binary.bzl", "sh_binary")
|
||||
|
||||
sh_binary(
|
||||
name = "update_packages",
|
||||
srcs = ["update_packages.sh"],
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue