sources: { topolvmChart: { kind: "helmchart" spec: { url: "https://topolvm.github.io/topolvm" name: "topolvm" kind: "semver" } } topolvmImageVersion: { kind: "yaml" spec: { file: "https://github.com/topolvm/topolvm/raw/refs/tags/topolvm-chart-v{{ source `topolvmChart` }}/charts/topolvm/Chart.yaml" key: "$.appVersion" } } topolvmImageDigest: { kind: "dockerdigest" spec: { image: "ghcr.io/topolvm/topolvm-with-sidecar" tag: "{{ source `topolvmImageVersion` }}" hidetag: true } transformers: [{trimprefix: "@"}] } topolvmProto: { kind: "file" dependson: ["source#topolvmImageVersion"] spec: { file: "https://github.com/topolvm/topolvm/raw/refs/tags/v{{ source `topolvmImageVersion` }}/pkg/lvmd/proto/lvmd.proto" } } } targets: { topolvmChart: { kind: "file" disablesourceinput: true spec: { file: "tests/vm/Tiltfile" matchpattern: "(--version=)([\\d.]+)" replacepattern: "${1}{{ source `topolvmChart` }}" } } topolvmImageVersion: { kind: "file" disablesourceinput: true spec: { file: "MODULE.bazel" matchpattern: "(tag = )\"([\\d.]+)\"," replacepattern: #"$1"{{ source `topolvmImageVersion` }}","# } } topolvmImageDigest: { kind: "file" disablesourceinput: true dependson: ["source#topolvmImageDigest"] spec: { file: "MODULE.bazel" matchpattern: #"(digest = )"[^"]+","# replacepattern: #"$1"{{ source `topolvmImageDigest` }}","# } } topolvmProto: { kind: "file" sourceid: "topolvmProto" spec: { file: "proto/lvmd.proto" } } topolvmProtoLicense: { kind: "file" disablesourceinput: true dependson: ["source#topolvmImageVersion"] spec: { file: "proto/LICENSE" content: """ Files in this folder are part of TopoLVM and licensed under the Apache License 2.0: https://github.com/topolvm/topolvm/blob/v0.37.0/LICENSE """ } } }