fix fetch task

This commit is contained in:
kjeld Schouten-Lebbing 2021-08-17 14:29:16 +02:00
parent 66b8bb6da3
commit 8a4427d3f0
No known key found for this signature in database
GPG Key ID: 4CDAD4A532BC1EDB
1 changed files with 5 additions and 6 deletions

View File

@ -294,12 +294,11 @@ jobs:
- name: fetch dependencies
run: |
fetchtask(){
if [ -d "$2/SCALE" ]; then
if [ -d "${chart}" ]; then
cd ${chart}
helm dependency update --skip-refresh
cd -
fi
if [ -d "$1" ]; then
cd $1
helm dependency update --skip-refresh
cd -
fi
}
for train in stable incubator develop non-free deprecated
do