charts/.gitlab-ci.yml

29 lines
521 B
YAML
Raw Normal View History

2019-05-17 08:57:08 +00:00
---
stages:
- test
- deploy
lint:charts:
image:
2020-08-10 08:17:50 +00:00
name: codenest/helm
2019-05-17 08:57:08 +00:00
entrypoint: ["/bin/sh", "-c"]
stage: test
script:
- helm lint charts/*
pages:
image:
2020-08-10 08:17:50 +00:00
name: codenest/helm
2019-05-17 08:57:08 +00:00
entrypoint: ["/bin/sh", "-c"]
stage: deploy
script:
2020-05-24 09:52:24 +00:00
- mkdir -p public
2019-05-17 08:57:08 +00:00
- "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