forked from kubevirt/kubevirt
-
Notifications
You must be signed in to change notification settings - Fork 0
/
BUILD.bazel
59 lines (53 loc) · 1.8 KB
/
BUILD.bazel
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
load("@io_bazel_rules_docker//container:container.bzl", "container_image")
container_image(
name = "alpine-container-disk-image",
directory = "/disk",
files = select({
"@io_bazel_rules_go//go/platform:linux_ppc64le": ["@alpine_image_ppc64le//file"],
"//conditions:default": ["@alpine_image//file"],
}),
visibility = ["//visibility:public"],
)
container_image(
name = "cirros-container-disk-image",
directory = "/disk",
files = select({
"@io_bazel_rules_go//go/platform:linux_ppc64le": ["@cirros_image_ppc64le//file"],
"//conditions:default": ["@cirros_image//file"],
}),
visibility = ["//visibility:public"],
)
# used for e2e testing of custom base baths
container_image(
name = "cirros-custom-container-disk-image",
directory = "/custom-disk",
files = select({
"@io_bazel_rules_go//go/platform:linux_ppc64le": ["@cirros_image_ppc64le//file"],
"//conditions:default": ["@cirros_image//file"],
}),
visibility = ["//visibility:public"],
)
container_image(
name = "fedora-cloud-container-disk-image",
directory = "/disk",
files = select({
"@io_bazel_rules_go//go/platform:linux_ppc64le": ["@fedora_image_ppc64le//file"],
"//conditions:default": ["@fedora_image//file"],
}),
visibility = ["//visibility:public"],
)
container_image(
name = "fedora30-cloud-container-disk-image",
directory = "/disk",
files = select({
"@io_bazel_rules_go//go/platform:linux_ppc64le": ["@fedora30_image_ppc64le//file"],
"//conditions:default": ["@fedora30_image//file"],
}),
visibility = ["//visibility:public"],
)
container_image(
name = "virtio-container-disk-image",
directory = "/disk",
files = ["@virtio_win_image//file"],
visibility = ["//visibility:public"],
)