mirror of
https://github.com/edgelesssys/constellation.git
synced 2025-04-20 15:35:55 -04:00
Merge 67b730d2f142fa2b899c935dd43a6c88ca204ba2 into 1e3cba499758563060ec4eed807a73ea6bbb07d2
This commit is contained in:
commit
f77783a2fe
@ -16,7 +16,7 @@ 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 = "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(
|
||||
|
50
MODULE.bazel.lock
generated
50
MODULE.bazel.lock
generated
@ -39,8 +39,8 @@
|
||||
"https://bcr.bazel.build/modules/bazel_skylib/1.7.0/MODULE.bazel": "0db596f4563de7938de764cc8deeabec291f55e8ec15299718b93c4423e9796d",
|
||||
"https://bcr.bazel.build/modules/bazel_skylib/1.7.1/MODULE.bazel": "3120d80c5861aa616222ec015332e5f8d3171e062e3e804a2a0253e1be26e59b",
|
||||
"https://bcr.bazel.build/modules/bazel_skylib/1.7.1/source.json": "f121b43eeefc7c29efbd51b83d08631e2347297c95aac9764a701f2a6a2bb953",
|
||||
"https://bcr.bazel.build/modules/buildifier_prebuilt/8.0.1/MODULE.bazel": "66ea722b98a7ce0b790d913e82163ebe04509073b269539403936d8f65bef027",
|
||||
"https://bcr.bazel.build/modules/buildifier_prebuilt/8.0.1/source.json": "1bebf90699bb94cb232b417a6e20ac8b21ad4ccfbcb506116635825c4c87b10b",
|
||||
"https://bcr.bazel.build/modules/buildifier_prebuilt/8.0.3/MODULE.bazel": "4791b031727d1183c183a0b8fd5fc0fe8d8834c45f9a22efd26be6c962b9cfee",
|
||||
"https://bcr.bazel.build/modules/buildifier_prebuilt/8.0.3/source.json": "68ee16210562f325ff961aabeb4d46ed10e6638b5e842cd48d8d83dea220dfbd",
|
||||
"https://bcr.bazel.build/modules/buildozer/7.1.2/MODULE.bazel": "2e8dd40ede9c454042645fd8d8d0cd1527966aa5c919de86661e62953cd73d84",
|
||||
"https://bcr.bazel.build/modules/buildozer/7.1.2/source.json": "c9028a501d2db85793a6996205c8de120944f50a0d570438fcae0457a5f9d1f8",
|
||||
"https://bcr.bazel.build/modules/gazelle/0.32.0/MODULE.bazel": "b499f58a5d0d3537f3cf5b76d8ada18242f64ec474d8391247438bf04f58c7b8",
|
||||
@ -196,8 +196,8 @@
|
||||
},
|
||||
"@@buildifier_prebuilt~//:defs.bzl%buildifier_prebuilt_deps_extension": {
|
||||
"general": {
|
||||
"bzlTransitiveDigest": "rGFwP53kZJt1xitZcYx6affAvfHqnyxx2HCrewFcWTc=",
|
||||
"usagesDigest": "sy21t1r/nZFzoEm0sKKNEtD2MI9TRY4JhsxxM03nWJw=",
|
||||
"bzlTransitiveDigest": "iJF3Ti5GHJEiRxMrIeawImDqrsi/K3YJ2iOANQ9PgTY=",
|
||||
"usagesDigest": "7usdeKzpXVqoKoZ61Dnl/vDdUwqpKKsBnVxdfeIzpH4=",
|
||||
"recordedFileInputs": {},
|
||||
"recordedDirentsInputs": {},
|
||||
"envVariables": {},
|
||||
@ -207,11 +207,11 @@
|
||||
"ruleClassName": "http_file",
|
||||
"attributes": {
|
||||
"urls": [
|
||||
"https://github.com/bazelbuild/buildtools/releases/download/v8.0.1/buildifier-darwin-amd64"
|
||||
"https://github.com/bazelbuild/buildtools/releases/download/v8.0.3/buildifier-darwin-amd64"
|
||||
],
|
||||
"downloaded_file_path": "buildifier",
|
||||
"executable": true,
|
||||
"sha256": "802b013211dbcf91e3c0658ba33ecb3932ef5a6f6764a0b13efcec4e2df04c83"
|
||||
"sha256": "b7a3152cde0b3971b1107f2274afe778c5c154dcdf6c9c669a231e3c004f047e"
|
||||
}
|
||||
},
|
||||
"buildifier_darwin_arm64": {
|
||||
@ -219,11 +219,11 @@
|
||||
"ruleClassName": "http_file",
|
||||
"attributes": {
|
||||
"urls": [
|
||||
"https://github.com/bazelbuild/buildtools/releases/download/v8.0.1/buildifier-darwin-arm64"
|
||||
"https://github.com/bazelbuild/buildtools/releases/download/v8.0.3/buildifier-darwin-arm64"
|
||||
],
|
||||
"downloaded_file_path": "buildifier",
|
||||
"executable": true,
|
||||
"sha256": "833e2afc331b9ad8f6b038ad3d69ceeaf97651900bf2a3a45f54f42cafe0bfd3"
|
||||
"sha256": "674c663f7b5cd03c002f8ca834a8c1c008ccb527a0a2a132d08a7a355883b22d"
|
||||
}
|
||||
},
|
||||
"buildifier_linux_amd64": {
|
||||
@ -231,11 +231,11 @@
|
||||
"ruleClassName": "http_file",
|
||||
"attributes": {
|
||||
"urls": [
|
||||
"https://github.com/bazelbuild/buildtools/releases/download/v8.0.1/buildifier-linux-amd64"
|
||||
"https://github.com/bazelbuild/buildtools/releases/download/v8.0.3/buildifier-linux-amd64"
|
||||
],
|
||||
"downloaded_file_path": "buildifier",
|
||||
"executable": true,
|
||||
"sha256": "1976053ed4decd6dd93170885b4387eddc76ec70dc2697b2e91a9af83269418a"
|
||||
"sha256": "c969487c1af85e708576c8dfdd0bb4681eae58aad79e68ae48882c70871841b7"
|
||||
}
|
||||
},
|
||||
"buildifier_linux_arm64": {
|
||||
@ -243,11 +243,11 @@
|
||||
"ruleClassName": "http_file",
|
||||
"attributes": {
|
||||
"urls": [
|
||||
"https://github.com/bazelbuild/buildtools/releases/download/v8.0.1/buildifier-linux-arm64"
|
||||
"https://github.com/bazelbuild/buildtools/releases/download/v8.0.3/buildifier-linux-arm64"
|
||||
],
|
||||
"downloaded_file_path": "buildifier",
|
||||
"executable": true,
|
||||
"sha256": "93078c57763493bdc2914ed340544500b8f3497341a62e90f00e9e184c4d9c2c"
|
||||
"sha256": "bdd9b92e2c65d46affeecaefb54e68d34c272d1f4a8c5b54929a3e92ab78820a"
|
||||
}
|
||||
},
|
||||
"buildifier_windows_amd64": {
|
||||
@ -255,11 +255,11 @@
|
||||
"ruleClassName": "http_file",
|
||||
"attributes": {
|
||||
"urls": [
|
||||
"https://github.com/bazelbuild/buildtools/releases/download/v8.0.1/buildifier-windows-amd64.exe"
|
||||
"https://github.com/bazelbuild/buildtools/releases/download/v8.0.3/buildifier-windows-amd64.exe"
|
||||
],
|
||||
"downloaded_file_path": "buildifier.exe",
|
||||
"executable": true,
|
||||
"sha256": "6edc9247e6d42d27fb67b9509bb795d159a12468faa89e9f290dcadc26571c31"
|
||||
"sha256": "63a242f57e253efe7b9573d739c08a3d0e628efd84015c8dad17d87b6429e443"
|
||||
}
|
||||
},
|
||||
"buildozer_darwin_amd64": {
|
||||
@ -267,11 +267,11 @@
|
||||
"ruleClassName": "http_file",
|
||||
"attributes": {
|
||||
"urls": [
|
||||
"https://github.com/bazelbuild/buildtools/releases/download/v8.0.1/buildozer-darwin-amd64"
|
||||
"https://github.com/bazelbuild/buildtools/releases/download/v8.0.3/buildozer-darwin-amd64"
|
||||
],
|
||||
"downloaded_file_path": "buildozer",
|
||||
"executable": true,
|
||||
"sha256": "799be47db682fb06bfc677438d0c910032dda783606b1eec77669f2c1a17c65a"
|
||||
"sha256": "7aa7929faddcee5a879135356bb4d38af3e895893c78d361e7cdb8dfb3e7d5e4"
|
||||
}
|
||||
},
|
||||
"buildozer_darwin_arm64": {
|
||||
@ -279,11 +279,11 @@
|
||||
"ruleClassName": "http_file",
|
||||
"attributes": {
|
||||
"urls": [
|
||||
"https://github.com/bazelbuild/buildtools/releases/download/v8.0.1/buildozer-darwin-arm64"
|
||||
"https://github.com/bazelbuild/buildtools/releases/download/v8.0.3/buildozer-darwin-arm64"
|
||||
],
|
||||
"downloaded_file_path": "buildozer",
|
||||
"executable": true,
|
||||
"sha256": "118f2ff581c49e03aeb77e34fddebab10923b93e381185e43e0c1835ba189cd9"
|
||||
"sha256": "33b776862c31bfb4e2e6e88186cae02746d9084da8b7341930e77d42718277cc"
|
||||
}
|
||||
},
|
||||
"buildozer_linux_amd64": {
|
||||
@ -291,11 +291,11 @@
|
||||
"ruleClassName": "http_file",
|
||||
"attributes": {
|
||||
"urls": [
|
||||
"https://github.com/bazelbuild/buildtools/releases/download/v8.0.1/buildozer-linux-amd64"
|
||||
"https://github.com/bazelbuild/buildtools/releases/download/v8.0.3/buildozer-linux-amd64"
|
||||
],
|
||||
"downloaded_file_path": "buildozer",
|
||||
"executable": true,
|
||||
"sha256": "4f5a91d4f7fb61ff4d39cdedb7dcf93bb17f3b7737b07175ad4456dc6bdafac1"
|
||||
"sha256": "775d17118aecd023352e75611dbe7c12a340e23615ffb270a1dec3f339239949"
|
||||
}
|
||||
},
|
||||
"buildozer_linux_arm64": {
|
||||
@ -303,11 +303,11 @@
|
||||
"ruleClassName": "http_file",
|
||||
"attributes": {
|
||||
"urls": [
|
||||
"https://github.com/bazelbuild/buildtools/releases/download/v8.0.1/buildozer-linux-arm64"
|
||||
"https://github.com/bazelbuild/buildtools/releases/download/v8.0.3/buildozer-linux-arm64"
|
||||
],
|
||||
"downloaded_file_path": "buildozer",
|
||||
"executable": true,
|
||||
"sha256": "a7eec1ddcf5075ef3b869f1bf476fce174f0226a35f7e20734caa5a55b10ce26"
|
||||
"sha256": "058ad60f279a7b1db339bb287aed2056a992eddfe1b5d2e56d86256bdc9a93b3"
|
||||
}
|
||||
},
|
||||
"buildozer_windows_amd64": {
|
||||
@ -315,18 +315,18 @@
|
||||
"ruleClassName": "http_file",
|
||||
"attributes": {
|
||||
"urls": [
|
||||
"https://github.com/bazelbuild/buildtools/releases/download/v8.0.1/buildozer-windows-amd64.exe"
|
||||
"https://github.com/bazelbuild/buildtools/releases/download/v8.0.3/buildozer-windows-amd64.exe"
|
||||
],
|
||||
"downloaded_file_path": "buildozer.exe",
|
||||
"executable": true,
|
||||
"sha256": "3b51ae3dd0221eb9d43614206f0886ea36d78e6bb4f8dea69f7bc4cc285d1f15"
|
||||
"sha256": "5ba106b25230e0e321b7259bee325ae6fa5b5771e54163ad865b1d18856f59ca"
|
||||
}
|
||||
},
|
||||
"buildifier_prebuilt_toolchains": {
|
||||
"bzlFile": "@@buildifier_prebuilt~//:defs.bzl",
|
||||
"ruleClassName": "_buildifier_toolchain_setup",
|
||||
"attributes": {
|
||||
"assets_json": "[{\"arch\":\"amd64\",\"name\":\"buildifier\",\"platform\":\"darwin\",\"sha256\":\"802b013211dbcf91e3c0658ba33ecb3932ef5a6f6764a0b13efcec4e2df04c83\",\"version\":\"v8.0.1\"},{\"arch\":\"arm64\",\"name\":\"buildifier\",\"platform\":\"darwin\",\"sha256\":\"833e2afc331b9ad8f6b038ad3d69ceeaf97651900bf2a3a45f54f42cafe0bfd3\",\"version\":\"v8.0.1\"},{\"arch\":\"amd64\",\"name\":\"buildifier\",\"platform\":\"linux\",\"sha256\":\"1976053ed4decd6dd93170885b4387eddc76ec70dc2697b2e91a9af83269418a\",\"version\":\"v8.0.1\"},{\"arch\":\"arm64\",\"name\":\"buildifier\",\"platform\":\"linux\",\"sha256\":\"93078c57763493bdc2914ed340544500b8f3497341a62e90f00e9e184c4d9c2c\",\"version\":\"v8.0.1\"},{\"arch\":\"amd64\",\"name\":\"buildifier\",\"platform\":\"windows\",\"sha256\":\"6edc9247e6d42d27fb67b9509bb795d159a12468faa89e9f290dcadc26571c31\",\"version\":\"v8.0.1\"},{\"arch\":\"amd64\",\"name\":\"buildozer\",\"platform\":\"darwin\",\"sha256\":\"799be47db682fb06bfc677438d0c910032dda783606b1eec77669f2c1a17c65a\",\"version\":\"v8.0.1\"},{\"arch\":\"arm64\",\"name\":\"buildozer\",\"platform\":\"darwin\",\"sha256\":\"118f2ff581c49e03aeb77e34fddebab10923b93e381185e43e0c1835ba189cd9\",\"version\":\"v8.0.1\"},{\"arch\":\"amd64\",\"name\":\"buildozer\",\"platform\":\"linux\",\"sha256\":\"4f5a91d4f7fb61ff4d39cdedb7dcf93bb17f3b7737b07175ad4456dc6bdafac1\",\"version\":\"v8.0.1\"},{\"arch\":\"arm64\",\"name\":\"buildozer\",\"platform\":\"linux\",\"sha256\":\"a7eec1ddcf5075ef3b869f1bf476fce174f0226a35f7e20734caa5a55b10ce26\",\"version\":\"v8.0.1\"},{\"arch\":\"amd64\",\"name\":\"buildozer\",\"platform\":\"windows\",\"sha256\":\"3b51ae3dd0221eb9d43614206f0886ea36d78e6bb4f8dea69f7bc4cc285d1f15\",\"version\":\"v8.0.1\"}]"
|
||||
"assets_json": "[{\"arch\":\"amd64\",\"name\":\"buildifier\",\"platform\":\"darwin\",\"sha256\":\"b7a3152cde0b3971b1107f2274afe778c5c154dcdf6c9c669a231e3c004f047e\",\"version\":\"v8.0.3\"},{\"arch\":\"arm64\",\"name\":\"buildifier\",\"platform\":\"darwin\",\"sha256\":\"674c663f7b5cd03c002f8ca834a8c1c008ccb527a0a2a132d08a7a355883b22d\",\"version\":\"v8.0.3\"},{\"arch\":\"amd64\",\"name\":\"buildifier\",\"platform\":\"linux\",\"sha256\":\"c969487c1af85e708576c8dfdd0bb4681eae58aad79e68ae48882c70871841b7\",\"version\":\"v8.0.3\"},{\"arch\":\"arm64\",\"name\":\"buildifier\",\"platform\":\"linux\",\"sha256\":\"bdd9b92e2c65d46affeecaefb54e68d34c272d1f4a8c5b54929a3e92ab78820a\",\"version\":\"v8.0.3\"},{\"arch\":\"amd64\",\"name\":\"buildifier\",\"platform\":\"windows\",\"sha256\":\"63a242f57e253efe7b9573d739c08a3d0e628efd84015c8dad17d87b6429e443\",\"version\":\"v8.0.3\"},{\"arch\":\"amd64\",\"name\":\"buildozer\",\"platform\":\"darwin\",\"sha256\":\"7aa7929faddcee5a879135356bb4d38af3e895893c78d361e7cdb8dfb3e7d5e4\",\"version\":\"v8.0.3\"},{\"arch\":\"arm64\",\"name\":\"buildozer\",\"platform\":\"darwin\",\"sha256\":\"33b776862c31bfb4e2e6e88186cae02746d9084da8b7341930e77d42718277cc\",\"version\":\"v8.0.3\"},{\"arch\":\"amd64\",\"name\":\"buildozer\",\"platform\":\"linux\",\"sha256\":\"775d17118aecd023352e75611dbe7c12a340e23615ffb270a1dec3f339239949\",\"version\":\"v8.0.3\"},{\"arch\":\"arm64\",\"name\":\"buildozer\",\"platform\":\"linux\",\"sha256\":\"058ad60f279a7b1db339bb287aed2056a992eddfe1b5d2e56d86256bdc9a93b3\",\"version\":\"v8.0.3\"},{\"arch\":\"amd64\",\"name\":\"buildozer\",\"platform\":\"windows\",\"sha256\":\"5ba106b25230e0e321b7259bee325ae6fa5b5771e54163ad865b1d18856f59ca\",\"version\":\"v8.0.3\"}]"
|
||||
}
|
||||
}
|
||||
},
|
||||
|
@ -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…
x
Reference in New Issue
Block a user