Added testing section

This commit is contained in:
GeorgeRaven
2025-05-24 10:07:29 +01:00
parent 06f0cfab5d
commit 2bbdda7af1

View File

@@ -128,6 +128,10 @@ spec:
- name: name
value: {{ urlquery "helm lint" }}
#########
# Testing
#########
###########
# TEMPLATES
###########
@@ -220,32 +224,6 @@ spec:
- name: charts
path: /repository/charts
- name: helm-dependency-update
inputs:
artifacts:
- name: repository
path: /repository
container:
image: docker.io/alpine/helm:3.17.3
command:
- sh
- -c
args:
- |
cd /repository
ls -al
for dir in charts/*/
do
echo "******************************"
dir=${dir%*/} # removes trailing "/"
echo "helm dependency update ${dir}"
helm dependency update "${dir}"
done
outputs:
artifacts:
- name: charts
path: /repository/charts
- name: helm-lint
inputs:
artifacts: