Use for loop to run CI per charts
Grabbing changes from https://github.com/rancher/charts/pull/695 to fix CI.pull/41/head
parent
e992f6054d
commit
79d010856a
|
@ -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
|
Loading…
Reference in New Issue