tweak parallel execution
This commit is contained in:
@@ -239,11 +239,6 @@ jobs:
|
|||||||
~/.cache/helm/repository
|
~/.cache/helm/repository
|
||||||
~/.config/helm/repositories.yaml
|
~/.config/helm/repositories.yaml
|
||||||
|
|
||||||
|
|
||||||
- name: Block concurrent jobs
|
|
||||||
uses: softprops/turnstyle@v1
|
|
||||||
with:
|
|
||||||
continue-after-seconds: 180
|
|
||||||
- uses: actions/checkout@v2
|
- uses: actions/checkout@v2
|
||||||
name: Checkout
|
name: Checkout
|
||||||
|
|
||||||
@@ -300,10 +295,11 @@ jobs:
|
|||||||
cd -
|
cd -
|
||||||
fi
|
fi
|
||||||
}
|
}
|
||||||
|
i=0
|
||||||
for train in stable incubator develop non-free deprecated
|
for train in stable incubator develop non-free deprecated
|
||||||
do
|
do
|
||||||
for chart in master/charts/${train}/*; do
|
for chart in master/charts/${train}/*; do
|
||||||
((i=i%10)); ((i++==0)) && wait
|
((i=i%9)); ((i++)) && wait
|
||||||
fetchtask "${chart}" &
|
fetchtask "${chart}" &
|
||||||
done
|
done
|
||||||
done
|
done
|
||||||
|
|||||||
Reference in New Issue
Block a user