mirror of
https://github.com/edgelesssys/constellation.git
synced 2024-12-26 07:59:37 -05:00
ae6b22a143
rules_oci spawns local container registry processes and in the past, those would not be cleaned up explicitly, leading to an accumulation of processes when using remote execution with buildbarn. This pre-release contains a fix: https://github.com/bazel-contrib/rules_oci/pull/421 Additionally, windows support for rules_oci was removed in this fork, since it is currently broken.
18 lines
847 B
Python
18 lines
847 B
Python
"""Bazel rules for building OCI images"""
|
|
|
|
load("@bazel_tools//tools/build_defs/repo:http.bzl", "http_archive")
|
|
|
|
def oci_deps():
|
|
# TODO(malt3): This uses a patch on top of the normal rules_oci that removes broken Windows support.
|
|
# Remove this override once https://github.com/bazel-contrib/rules_oci/issues/420 is fixed.
|
|
http_archive(
|
|
name = "rules_oci",
|
|
strip_prefix = "rules_oci-c622bf79d269473d3d9bc33510e16cfd9a1142bc",
|
|
type = "tar.gz",
|
|
urls = [
|
|
"https://cdn.confidential.cloud/constellation/cas/sha256/dca0cfa2a8eb4ab79c231617964fc821f6d1a3bb9d996358975a5ceee5b8d25f",
|
|
"https://github.com/bazel-contrib/rules_oci/archive/c622bf79d269473d3d9bc33510e16cfd9a1142bc.tar.gz",
|
|
],
|
|
sha256 = "dca0cfa2a8eb4ab79c231617964fc821f6d1a3bb9d996358975a5ceee5b8d25f",
|
|
)
|