From 4047ff0fd4ea72c52441ae057f5e7312a8334edb Mon Sep 17 00:00:00 2001 From: Gage Hugo Date: Fri, 4 Dec 2020 17:31:18 -0600 Subject: [PATCH] Update build-chart playbook The build-chart playbook task to point each chart to helm-toolkit has a find command that when used with another repo, will include the charts for osh-infra as well. This change modifies the playbook to only modify requirements in charts in the repo being published. Change-Id: I493b4c64fe2525bac0acae06bd40c3896c918e20 --- playbooks/build-chart.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/playbooks/build-chart.yaml b/playbooks/build-chart.yaml index 8d0c0af2d..e068468a2 100644 --- a/playbooks/build-chart.yaml +++ b/playbooks/build-chart.yaml @@ -27,7 +27,7 @@ - name: updates the requirements due to the lack of helm serve in helm 3 shell: | - find . -type f -name "requirements.yaml" -exec sed -i "s#http://localhost:8879/charts#https://tarballs.opendev.org/openstack/openstack-helm-infra#g" {} \; + find "{{ zuul.project.src_dir }}" -type f -name "requirements.yaml" -exec sed -i "s#http://localhost:8879/charts#https://tarballs.opendev.org/openstack/openstack-helm-infra#g" {} \; args: executable: /bin/bash