constellation/e2e/miniconstellation/BUILD.bazel
renovate[bot] 2835db3b1e
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>
2025-05-21 15:22:12 +02:00

46 lines
956 B
Text

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(
name = "dependencies",
srcs = [
".terraform.lock.hcl",
"cloud-init.yaml",
"main.tf",
"output.tf",
"test-remote.sh",
"variables.tf",
],
)
sh_library(
name = "dependencies_lib",
srcs = [
":dependencies",
],
)
sh_template(
name = "remote_test",
data = [
"//cli:cli_enterprise_linux_amd64",
],
substitutions = {
"@@PATH_CLI@@": "$(rootpath //cli:cli_enterprise_linux_amd64)",
},
template = "main.sh.in",
deps = [
":dependencies_lib",
],
)
multirun(
name = "push_remote_test",
commands = [
"//bazel/release:push",
":remote_test",
],
jobs = 1, # execute sequentially
visibility = ["//visibility:public"],
)