yq := "bazel run --config=quiet //hack/tools:yq --" push := "bazel run --config=quiet //cmd/tools/pusha --" version := "edge-24.5.5" proxy_init_version := "v2.4.0" push_repo := "us-east1-docker.pkg.dev/ret-edge-pltf-infra/workloads" # update version.bzl with new linkerd version and run the following update: bazel build --config=quiet //third_party/k8s/linkerd:* bazel run --config=quiet //third_party/k8s/linkerd:write_linkerd_manifests bazel run --config=quiet //third_party/k8s/linkerd/helm:write_linkerd_version bazel run --config=quiet //third_party/k8s/linkerd:write_rendered_crd_manifests # prints out the version of proxy init container based on the linkerd version print-proxy-init-version: {{yq}} -e '.proxyInit.image.version' helm/linkerd/charts/linkerd-control-plane/values.yaml test-container-pull: bazel fetch @linkerd_controller bazel fetch @linkerd_policy_controller bazel fetch @linkerd_proxy bazel fetch @linkerd_proxy_debug bazel fetch @linkerd_proxy_init push: {{push}} --tag={{version}} --repo={{push_repo}} //third_party/k8s/linkerd:container_push {{push}} --tag={{version}} --repo={{push_repo}} //hack/deps:linkerd_controller_container_push {{push}} --tag={{version}} --repo={{push_repo}} //hack/deps:linkerd_policy_controller_container_push {{push}} --tag={{version}} --repo={{push_repo}} //hack/deps:linkerd_proxy_container_push {{push}} --tag={{version}} --repo={{push_repo}} //hack/deps:linkerd_proxy_debug_container_push {{push}} --tag={{proxy_init_version}} --repo={{push_repo}} //hack/deps:linkerd_proxy_init_container_push