...
1yq := "bazel run --config=quiet //hack/tools:yq --"
2push := "bazel run --config=quiet //cmd/tools/pusha --"
3
4kube_virt_registry := "quay.io"
5kube_virt_repo := "kubevirt"
6kube_virt_version := "v1.4.0"
7push_repo := "us-east1-docker.pkg.dev/ret-edge-pltf-infra/workloads"
8
9# Ensure to update the image refs in //:hack/deps/images.bzl
10update:
11 bazel run //third_party/k8s/kubevirt:write_kubevirt_cr
12 bazel run //third_party/k8s/kubevirt:write_kubevirt_operator
13
14# push images to workloads registry
15push:
16 {{push}} --tag={{kube_virt_version}} --repo={{push_repo}} //third_party/k8s/kubevirt:virt_api_container_push
17 {{push}} --tag={{kube_virt_version}} --repo={{push_repo}} //third_party/k8s/kubevirt:virt_controller_container_push
18 {{push}} --tag={{kube_virt_version}} --repo={{push_repo}} //third_party/k8s/kubevirt:virt_export_server_container_push
19 {{push}} --tag={{kube_virt_version}} --repo={{push_repo}} //third_party/k8s/kubevirt:virt_export_proxy_container_push
20 {{push}} --tag={{kube_virt_version}} --repo={{push_repo}} //third_party/k8s/kubevirt:virt_handler_container_push
21 {{push}} --tag={{kube_virt_version}} --repo={{push_repo}} //third_party/k8s/kubevirt:virt_launcher_container_push
22 {{push}} --tag={{kube_virt_version}} --repo={{push_repo}} //third_party/k8s/kubevirt:virt_operator_container_push
23 {{push}} --tag={{kube_virt_version}} --repo={{push_repo}} //third_party/k8s/kubevirt:virtio_container_disk_container_push
24 {{push}} --tag={{kube_virt_version}} --repo={{push_repo}} //third_party/k8s/kubevirt:network_passt_binding_container_push
View as plain text