mirror of
https://gitlab.com/deepcypher/dc-kc.git
synced 2026-01-27 11:12:08 +00:00
Added testing section
This commit is contained in:
@@ -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:
|
||||
|
||||
Reference in New Issue
Block a user