mirror of
https://github.com/edgelesssys/constellation.git
synced 2024-12-25 07:29:38 -05:00
image: add upload rules for images
This commit is contained in:
parent
f237ae8ae2
commit
5ec03c5b9d
@ -1,4 +1,5 @@
|
||||
load("//bazel/mkosi:mkosi_image.bzl", "mkosi_image")
|
||||
load("//bazel/osimage:upload_os_images.bzl", "upload_os_images")
|
||||
load(":variants.bzl", "CSPS", "STREAMS", "VARIANTS", "autologin", "constellation_packages", "images_for_csp", "images_for_csp_and_stream", "images_for_stream", "kernel_command_line", "kernel_command_line_dict")
|
||||
|
||||
[
|
||||
@ -38,6 +39,16 @@ load(":variants.bzl", "CSPS", "STREAMS", "VARIANTS", "autologin", "constellation
|
||||
"no-cache",
|
||||
],
|
||||
version_file = "//bazel/settings:tag",
|
||||
visibility = ["//visibility:public"],
|
||||
)
|
||||
for variant in VARIANTS
|
||||
for stream in STREAMS
|
||||
]
|
||||
|
||||
[
|
||||
upload_os_images(
|
||||
name = "upload_" + variant["csp"] + "_" + variant["attestation_variant"] + "_" + stream,
|
||||
image_dirs = [":" + variant["csp"] + "_" + variant["attestation_variant"] + "_" + stream],
|
||||
)
|
||||
for variant in VARIANTS
|
||||
for stream in STREAMS
|
||||
@ -51,6 +62,15 @@ load(":variants.bzl", "CSPS", "STREAMS", "VARIANTS", "autologin", "constellation
|
||||
"manual",
|
||||
"no-cache",
|
||||
],
|
||||
visibility = ["//visibility:public"],
|
||||
)
|
||||
for stream in STREAMS
|
||||
]
|
||||
|
||||
[
|
||||
upload_os_images(
|
||||
name = "upload_" + stream,
|
||||
image_dirs = [":" + stream],
|
||||
)
|
||||
for stream in STREAMS
|
||||
]
|
||||
@ -63,6 +83,7 @@ load(":variants.bzl", "CSPS", "STREAMS", "VARIANTS", "autologin", "constellation
|
||||
"manual",
|
||||
"no-cache",
|
||||
],
|
||||
visibility = ["//visibility:public"],
|
||||
)
|
||||
for csp in CSPS
|
||||
]
|
||||
@ -75,6 +96,7 @@ load(":variants.bzl", "CSPS", "STREAMS", "VARIANTS", "autologin", "constellation
|
||||
"manual",
|
||||
"no-cache",
|
||||
],
|
||||
visibility = ["//visibility:public"],
|
||||
)
|
||||
for csp in CSPS
|
||||
for stream in STREAMS
|
||||
|
Loading…
Reference in New Issue
Block a user