This repository has been archived on 2025-07-30. You can view files and clone it, but you cannot make any changes to it's state, such as pushing and creating new issues, pull requests or comments.
glitchtip-helm-chart/.gitlab-ci.yml
2022-12-29 11:16:44 -05:00

29 lines
629 B
YAML

variables:
GIT_SUBMODULE_STRATEGY: recursive
stages:
- build
- upload
build:
image:
name: alpine/helm
entrypoint: ["/bin/sh", "-c"]
stage: build
script:
- helm lint --set redis.enabled=false
- helm package -d chart .
- mv chart/glitchtip*.tgz chart/glitchtip.tgz
artifacts:
paths:
- chart
upload:
image: curlimages/curl:latest
stage: upload
dependencies:
- build
script:
- 'curl --request POST --user gitlab-ci-token:$CI_JOB_TOKEN --form "chart=@chart/glitchtip.tgz" "${CI_API_V4_URL}/projects/${CI_PROJECT_ID}/packages/helm/api/stable/charts"'
only:
- tags