chore(pkg): updates the chart packaging

Part 2. This patch set adjusts the url once the initial packages are
make available.

Change-Id: Idfb69146d606b43c98c552d1d2c5680ccd503282
Signed-off-by: Tin Lam <tin@irrational.io>
This commit is contained in:
Tin Lam 2020-10-21 00:58:16 -05:00
parent 738c89b342
commit 62b10c7d49
2 changed files with 1 additions and 10 deletions

View File

@ -25,10 +25,9 @@
args:
executable: /bin/bash
# Note: This needs to be adjusted once the initial tarball is seeded.
- 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#file://../helm-toolkit#g" {} \;
find . -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

View File

@ -30,14 +30,6 @@
when: _get_url.status_code == 200
shell: helm repo index {{ zuul.project.src_dir }} --merge {{ zuul.project.src_dir }}/index.yaml --url https://tarballs.opendev.org/openstack/openstack-helm-infra
# TODO: Remove this once HTK is seeded in tarballs.o.o
- name: Update the HTK dependencies
shell: |
sed -i 's#file://../helm-toolkit#https://tarballs.opendev.org/openstack/openstack-helm-infra#g' index.yaml
args:
executable: /bin/bash
chdir: "{{ zuul.project.src_dir }}"
- name: Ensure artifact directory exists
file:
path: "{{ zuul.executor.work_root }}/artifacts/"