Use alternative entrypoint for alpine/helm
This commit is contained in:
parent
70c1616a2d
commit
c87880e5fb
1 changed files with 6 additions and 2 deletions
|
@ -4,13 +4,17 @@ stages:
|
||||||
- deploy
|
- deploy
|
||||||
|
|
||||||
lint:charts:
|
lint:charts:
|
||||||
image: alpine/helm
|
image:
|
||||||
|
name: alpine/helm
|
||||||
|
entrypoint: ["/bin/sh", "-c"]
|
||||||
stage: test
|
stage: test
|
||||||
script:
|
script:
|
||||||
- helm lint charts/*
|
- helm lint charts/*
|
||||||
|
|
||||||
pages:
|
pages:
|
||||||
image: alpine/helm
|
image:
|
||||||
|
name: alpine/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'
|
||||||
|
|
Loading…
Reference in a new issue