
* Switch to using the OSH plugin for processing values_overrides. * Move override files into a separate directory, aligning with the structure of the openstack-helm-infra repository. * Clean up and streamline related Bash scripts. Change-Id: Ie14cb5c4885bff0572aa57eab18b690593f6c2f3
17 lines
395 B
Bash
Executable File
17 lines
395 B
Bash
Executable File
#!/bin/bash
|
|
|
|
: "${PORTHOLE_PATH:="../porthole"}"
|
|
|
|
cd "${PORTHOLE_PATH}" || exit
|
|
|
|
|
|
mkdir -p artifacts
|
|
|
|
make all || { echo "[!] Failed to build Helm charts. Aborting..."; exit 1; }
|
|
|
|
cd charts || exit
|
|
for i in $(find . -maxdepth 1 -name "*.tgz" -print | sed -e 's/\-[0-9.]*\.tgz//'| cut -d / -f 2 | sort)
|
|
do
|
|
find . -name "$i-[0-9.]*.tgz" -print -exec cp -av {} "../artifacts/$i.tgz" \;
|
|
done
|