charts/.gitlab-ci.yml
Alexander Olofsson c8476d492e Initial commit
2019-05-17 10:57:08 +02:00

29 lines
568 B
YAML

---
stages:
- test
- deploy
lint:charts:
image:
name: linkyard/docker-helm
entrypoint: ["/bin/sh", "-c"]
stage: test
script:
- helm lint charts/*
pages:
image:
name: linkyard/docker-helm
entrypoint: ["/bin/sh", "-c"]
stage: deploy
script:
- helm init --client-only
- mkdir -p ./public/
- "echo \"User-Agent: *\nDisallow: /\" > ./public/robots.txt"
- (cd public; helm package ../charts/*)
- helm repo index public --url ${CI_PAGES_URL}
artifacts:
paths:
- public
only:
- master@ananace/charts