Use for loop to run CI per charts

Grabbing changes from https://github.com/rancher/charts/pull/695 to fix CI.
pull/41/head
Arvind Iyengar 2020-09-24 16:35:49 -07:00
parent e992f6054d
commit 79d010856a
1 changed files with 4 additions and 3 deletions

View File

@ -11,6 +11,7 @@ git checkout origin/${1} ./sha256sum || true
charts=$(./scripts/produce-sha256)
if [[ -n ${charts} ]]; then
echo $charts | xargs ./scripts/ci
fi
# produce-sha256 produces sha256 and print out chart name that has changed, and only run CI against changed chart
for i in $(./scripts/produce-sha256); do
./scripts/ci $i
done