mirror of
https://github.com/rocky-linux/peridot.git
synced 2024-06-05 20:50:14 +00:00
38 lines
1.2 KiB
Python
38 lines
1.2 KiB
Python
load("//rules_resf:defs.bzl", "RESFDEPLOY_OUTS_MIGRATE_CUSTOM", "container", "peridot_k8s")
|
|
|
|
container(
|
|
base = "//bases/bazel/go",
|
|
files = [
|
|
"//peridot/cmd/v1/peridotephemeral",
|
|
],
|
|
image_name = "peridotephemeral",
|
|
)
|
|
|
|
peridot_k8s(
|
|
name = "peridotephemeral",
|
|
src = "deploy.jsonnet",
|
|
outs = RESFDEPLOY_OUTS_MIGRATE_CUSTOM,
|
|
chart_yaml = "Chart.yaml",
|
|
dependent_push = select({
|
|
"//platforms:x86_64": [
|
|
"//peridot/cmd/v1/peridotbuilder/ci:peridotbuilder_amd64_container",
|
|
"//peridot/cmd/v1/peridotbuilder/ci:peridotbuilder_arm64_container",
|
|
"//peridot/cmd/v1/peridotbuilder/ci:peridotbuilder_s390x_container",
|
|
"//peridot/cmd/v1/peridotbuilder/ci:peridotbuilder_ppc64le_container",
|
|
],
|
|
"//platforms:arm64": [
|
|
"//peridot/cmd/v1/peridotbuilder/ci:peridotbuilder_arm64_container",
|
|
],
|
|
"//platforms:s390x": [
|
|
"//peridot/cmd/v1/peridotbuilder/ci:peridotbuilder_s390x_container",
|
|
],
|
|
"//platforms:ppc64le": [
|
|
"//peridot/cmd/v1/peridotbuilder/ci:peridotbuilder_ppc64le_container",
|
|
],
|
|
}),
|
|
values_yaml = "values.yaml",
|
|
deps = [
|
|
"//ci",
|
|
],
|
|
)
|