diff --git a/.drone.yml b/.drone.yml new file mode 100644 index 0000000..e3ab061 --- /dev/null +++ b/.drone.yml @@ -0,0 +1,40 @@ +--- +kind: pipeline +type: docker +name: default + +steps: +- name: submodules + image: alpine/git + commands: + - git submodule update --init --recursive + +- name: build + image: alpine/helm + volumes: + - name: result + path: /output + commands: + - helm lint --set redis.enabled=false + - helm package -d chart . + - mv chart/glitchtip*.tgz /output/glitchtip.tgz + +- name: upload + image: curlimages/curl:latest + environment: + GIT_HOST: git.kurocon.nl + GIT_PACKAGE_OWNER: KuroNET + GIT_USER: + from_secret: git_username + GIT_TOKEN: + from_secret: git_password_or_token + volumes: + - name: result + path: /output + commands: + - curl --user $GIT_USER:$GIT_TOKEN -X POST --upload-file /output/glitchtip.tgz https://$GIT_HOST/api/packages/{$GIT_PACKAGE_OWNER}/helm/api/charts + + +volumes: +- name: result + temp: {} diff --git a/.gitmodules b/.gitmodules index 1ad4fb4..0290350 100644 --- a/.gitmodules +++ b/.gitmodules @@ -1,3 +1,3 @@ [submodule "django-helm-chart"] path = django-helm-chart - url = https://gitlab.com/burke-software/django-helm-chart.git + url = https://git.kurocon.nl/KuroNET/django-helm-chart.git diff --git a/Chart.yaml b/Chart.yaml index 64b5a28..048d1ae 100644 --- a/Chart.yaml +++ b/Chart.yaml @@ -14,11 +14,11 @@ type: application # This is the chart version. This version number should be incremented each time you make changes # to the chart and its templates, including the app version. -version: 4.0.0 +version: 4.0.1 # This is the version number of the application being deployed. This version number should be # incremented each time you make changes to the application. -appVersion: 4.1.0 +appVersion: 4.1.1 icon: https://glitchtip.gitlab.io/glitchtip-helm-chart/icon.svg diff --git a/django-helm-chart b/django-helm-chart index 7428819..4c7256e 160000 --- a/django-helm-chart +++ b/django-helm-chart @@ -1 +1 @@ -Subproject commit 74288199f63f3894345e1393433b247e66280ea0 +Subproject commit 4c7256e5c96d18e4f187074354690a11d65b57fe diff --git a/values.yaml b/values.yaml index c634639..415b0b5 100644 --- a/values.yaml +++ b/values.yaml @@ -1,7 +1,7 @@ # Default values for glitchtip. image: repository: glitchtip/glitchtip - tag: v4.1.0 + tag: v4.1.1 pullPolicy: IfNotPresent imagePullSecrets: []