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
This commit is contained in:
Gage Hugo 2020-12-04 17:31:18 -06:00
parent 9187633822
commit 4047ff0fd4

View File

@ -27,7 +27,7 @@
- name: updates the requirements due to the lack of helm serve in helm 3 - name: updates the requirements due to the lack of helm serve in helm 3
shell: | 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: args:
executable: /bin/bash executable: /bin/bash