django-helm-chart/.gitlab-ci.yml
2021-08-13 17:48:44 -04:00

23 lines
390 B
YAML

image:
name: alpine/helm:3.6.3
entrypoint: ["/bin/sh", "-c"]
lint:
stage: test
script:
- helm lint
pages:
stage: deploy
script:
- mkdir public
- helm package .
- helm repo index --url https://${CI_PROJECT_NAMESPACE}.gitlab.io/${CI_PROJECT_NAME} .
- mv index.yaml django-*.tgz ./public
artifacts:
paths:
- public
only:
- master
- tags