2023-03-14 12:29:54 -04:00
|
|
|
load("//bazel/sh:def.bzl", "sh_template")
|
2023-05-30 03:05:36 -04:00
|
|
|
load(":def.bzl", "cli_edition")
|
2023-03-14 08:57:39 -04:00
|
|
|
|
|
|
|
sh_template(
|
|
|
|
name = "devbuild",
|
|
|
|
data = [
|
2023-05-30 03:05:36 -04:00
|
|
|
":devbuild_cli_edition",
|
2023-04-03 12:13:17 -04:00
|
|
|
"//bazel/release:container_sums",
|
2023-03-16 11:13:48 -04:00
|
|
|
"//bootstrapper/cmd/bootstrapper:bootstrapper_linux_amd64",
|
2023-05-30 03:05:36 -04:00
|
|
|
"//cli:cli_edition_host",
|
2023-03-14 08:57:39 -04:00
|
|
|
"//debugd/cmd/cdbg:cdbg_host",
|
2023-03-16 11:13:48 -04:00
|
|
|
"//upgrade-agent/cmd:upgrade_agent_linux_amd64",
|
2023-07-06 02:46:06 -04:00
|
|
|
"@yq_toolchains//:resolved_toolchain",
|
2023-03-14 08:57:39 -04:00
|
|
|
],
|
|
|
|
substitutions = {
|
2023-03-16 11:13:48 -04:00
|
|
|
"@@BOOTSTRAPPER@@": "$(rootpath //bootstrapper/cmd/bootstrapper:bootstrapper_linux_amd64)",
|
2023-03-14 08:57:39 -04:00
|
|
|
"@@CDBG@@": "$(rootpath //debugd/cmd/cdbg:cdbg_host)",
|
2023-05-30 03:05:36 -04:00
|
|
|
"@@CLI@@": "$(rootpath //cli:cli_edition_host)",
|
2023-04-03 12:13:17 -04:00
|
|
|
"@@CONTAINER_SUMS@@": "$(rootpath //bazel/release:container_sums)",
|
2023-05-30 03:05:36 -04:00
|
|
|
"@@EDITION@@": "$(rootpath :devbuild_cli_edition)",
|
2023-03-16 11:13:48 -04:00
|
|
|
"@@UPGRADE_AGENT@@": "$(rootpath //upgrade-agent/cmd:upgrade_agent_linux_amd64)",
|
2023-07-06 02:46:06 -04:00
|
|
|
"@@YQ@@": "$(YQ_BIN)",
|
2023-03-14 08:57:39 -04:00
|
|
|
},
|
|
|
|
template = "prepare_developer_workspace.sh.in",
|
2023-07-06 02:46:06 -04:00
|
|
|
toolchains = ["@yq_toolchains//:resolved_toolchain"],
|
2023-03-14 08:57:39 -04:00
|
|
|
visibility = ["//visibility:public"],
|
|
|
|
)
|
2023-05-30 03:05:36 -04:00
|
|
|
|
|
|
|
cli_edition(
|
|
|
|
name = "devbuild_cli_edition",
|
|
|
|
)
|