From 8ef14d201cb1e82d787b41e38531275792af9b4f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Rados=C5=82aw=20Piliszek?= Date: Fri, 16 Feb 2024 07:42:53 +0100 Subject: [PATCH] Add buildset registry to minikube /etc/hosts Change-Id: I24b2b909817e5e8970ef61eaf91218eec2147fc3 --- playbooks/helm/pre.yaml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/playbooks/helm/pre.yaml b/playbooks/helm/pre.yaml index bac8f0e..1c73729 100644 --- a/playbooks/helm/pre.yaml +++ b/playbooks/helm/pre.yaml @@ -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