mirror of
https://github.com/kubevirt/containerized-data-importer.git
synced 2025-06-03 06:30:22 +00:00

* s390x enablement Signed-off-by: cfilleke <cfilleke@redhat.com> * should resolve remaining merge conflicts Signed-off-by: cfilleke <cfilleke@redhat.com> * correct prev commit to resolve merge conflicts Signed-off-by: cfilleke <cfilleke@redhat.com> * to resolve generate-verify issue Signed-off-by: cfilleke <cfilleke@redhat.com> * provide registry container for s390x, vddk datasource stub fix and util data type fix Signed-off-by: cfilleke <cfilleke@redhat.com> * get the linter to fix things Signed-off-by: cfilleke <cfilleke@redhat.com> * fix linter issue Signed-off-by: cfilleke <cfilleke@redhat.com> --------- Signed-off-by: cfilleke <cfilleke@redhat.com> Signed-off-by: cfillekes <cfilleke@redhat.com>
43 lines
1.1 KiB
Python
43 lines
1.1 KiB
Python
load("@io_bazel_rules_docker//container:container.bzl", "container_image")
|
|
|
|
container_image(
|
|
name = "vcenter-simulator",
|
|
base = "//:testimage_base",
|
|
cmd = "mkdir -p /opt",
|
|
directory = "/usr/bin",
|
|
entrypoint = "/usr/bin/entrypoint.sh",
|
|
files = [
|
|
"entrypoint.sh",
|
|
"@vcenter-govc-tar//file",
|
|
"@vcenter-vcsim-tar//file",
|
|
],
|
|
visibility = ["//visibility:public"],
|
|
)
|
|
|
|
container_image(
|
|
name = "vddk-test-image",
|
|
entrypoint = "mkdir -p /opt/testing && cp -f /libvddk-test-plugin.so /opt/testing/libvddk-test-plugin.so && cp -f /cirros.raw /opt/testing/nbdtest.img",
|
|
files = [
|
|
":vddk-test-plugin",
|
|
"//tests:images/cirros.raw",
|
|
],
|
|
tars = select({
|
|
"@io_bazel_rules_go//go/platform:linux_s390x": [
|
|
"//rpm:testimage_s390x",
|
|
],
|
|
"@io_bazel_rules_go//go/platform:linux_arm64": [
|
|
"//rpm:testimage_aarch64",
|
|
],
|
|
"//conditions:default": [
|
|
"//rpm:testimage_x86_64",
|
|
],
|
|
}),
|
|
user = "1001",
|
|
visibility = ["//visibility:public"],
|
|
)
|
|
|
|
cc_library(
|
|
name = "vddk-test-plugin",
|
|
srcs = ["vddk-test-plugin.c"],
|
|
)
|