Add buildset registry to minikube /etc/hosts

Change-Id: I24b2b909817e5e8970ef61eaf91218eec2147fc3
This commit is contained in:
Radosław Piliszek 2024-02-16 07:42:53 +01:00
parent f816bb4197
commit 8ef14d201c

@ -9,6 +9,9 @@
- name: Start minikube
command: minikube start --cpus max --memory max --container-runtime cri-o
- name: Add buildset registry to minikube /etc/hosts
command: "minikube ssh 'echo -e \"\n{{ buildset_registry.host }}\tzuul-jobs.buildset-registry\" | sudo tee -a /etc/hosts'"
- name: Replace minikube registries.conf
block:
- name: Copy registries.conf from the host to minikube