...

Text file src/edge-infra.dev/third_party/k8s/piraeus-distributed-storage/version.bzl

Documentation: edge-infra.dev/third_party/k8s/piraeus-distributed-storage

     1"""
     2Name: Piraeus Operator
     3Description: Distributed Storage Provider
     4Repo: https://github.com/piraeusdatastore/piraeus-operator
     5Release Cadence: Upgrade to every minor version, which occurs every two or three months.
     6
     7Upgrade Steps:
     81. Set the `VERSION` variable to the new version.
     92. Replace the container image digests, which can be found by running;
    10    bazel run @com_github_google_go_containerregistry//cmd/crane -- digest --platform=linux/amd64 quay.io/piraeusdatastore/{IMAGE}:v{VERSION}
    113. Update digest for the release manifest;
    12    sha256sum <path to downloaded manifest.yaml>
    134. Run `just third_party/k8s/piraeus-distributed-storage/update`
    14"""
    15
    16load("@bazel_tools//tools/build_defs/repo:http.bzl", "http_file")
    17
    18PIRAEUS_OPERATOR_VERSION = "2.7.1"
    19QUAY_REGISTRY = "quay.io"
    20K8S_REGISTRY = "registry.k8s.io"
    21
    22def fetch_piraeus_distributed_storage_manifests():
    23    """Returns all http_* targets for the distributed storage manifest bundles we rely on"""
    24
    25    http_file(
    26        name = "piraeus_distributed_storage_manifests",
    27        sha256 = "ef845c5c873364df7728618b2dff01fba3c8cb06e459874b022cd5800fb902b5",
    28        urls = ["https://github.com/piraeusdatastore/piraeus-operator/releases/download/v{version}/manifest.yaml".format(
    29            version = PIRAEUS_OPERATOR_VERSION,
    30        )],
    31    )

View as plain text