Use alpine/helm for tests

This commit is contained in:
Alexander "Ace" Olofsson 2022-12-20 20:24:55 +01:00
parent 131a099c87
commit 70c1616a2d
No known key found for this signature in database
GPG key ID: D439C9470CB04C73

View file

@ -4,17 +4,13 @@ stages:
- deploy - deploy
lint:charts: lint:charts:
image: image: alpine/helm
name: codenest/helm
entrypoint: ["/bin/sh", "-c"]
stage: test stage: test
script: script:
- helm lint charts/* - helm lint charts/*
pages: pages:
image: image: alpine/helm
name: codenest/helm
entrypoint: ["/bin/sh", "-c"]
stage: deploy stage: deploy
before_script: before_script:
- grep 'repository:' charts/*/Chart.yaml | awk '{ print $3 }' | uniq | xargs -rn1 sh -c 'helm repo add $(basename $0) $0' - grep 'repository:' charts/*/Chart.yaml | awk '{ print $3 }' | uniq | xargs -rn1 sh -c 'helm repo add $(basename $0) $0'