...
1"""List of all pxe images"""
2
3load("//hack/build/rules/container:third_party_images.bzl", "third_party_container_dep")
4load(
5 ":digests.bzl",
6 "DNSMASQ_CONTROLLER_DIGEST",
7 "DNSMASQ_CONTROLLER_REGISTRY",
8 "DNSMASQ_CONTROLLER_REPOSITORY",
9 "DNSMASQ_CONTROLLER_VERSION",
10 "STATIC_FILE_SERVER_DIGEST",
11 "STATIC_FILE_SERVER_REGISTRY",
12 "STATIC_FILE_SERVER_REPOSITORY",
13 "STATIC_FILE_SERVER_VERSION",
14)
15
16def pxe_images():
17 """The pxe_images function collects all of the third_party_container_dep rules
18
19 together for the ease of incorporating into `hack/deps/images.bzl`
20 To add an additional dependency, create a new third_party_container_dep target
21 and add the required fields.
22 """
23
24 third_party_container_dep(
25 name = "dnsmasq_controller",
26 tag = DNSMASQ_CONTROLLER_VERSION,
27 digest = DNSMASQ_CONTROLLER_DIGEST,
28 repository = DNSMASQ_CONTROLLER_REPOSITORY,
29 registry = DNSMASQ_CONTROLLER_REGISTRY,
30 )
31
32 third_party_container_dep(
33 name = "static_file_server",
34 tag = STATIC_FILE_SERVER_VERSION,
35 digest = STATIC_FILE_SERVER_DIGEST,
36 repository = STATIC_FILE_SERVER_REPOSITORY,
37 registry = STATIC_FILE_SERVER_REGISTRY,
38 )
View as plain text