Compare commits

...

35 commits

Author SHA1 Message Date
Kevin Alberts e890358e10 Add Drone build pipeline
All checks were successful
continuous-integration/drone/push Build is passing
2024-09-06 14:48:09 +02:00
Kevin Alberts cccf8e5396 Update django-helm-chart submodule to fixed version 2024-09-06 14:13:24 +02:00
James Kiger da2f8b2472 Update GT to v4.1.1 2024-08-30 12:37:56 -04:00
James Kiger d94ce977d3 Update GT version to 4.1.0 2024-08-29 12:52:45 -04:00
james kiger 92ff751a4d Merge branch '4-0-0' into 'master'
Start work on 4.0.0 release

See merge request glitchtip/glitchtip-helm-chart!13
2024-07-25 18:21:18 +00:00
David Burke 7959103b0e Start work on 4.0.0 release 2024-07-15 16:31:52 -04:00
James Kiger 68a5568447 Update GT to 4.0.12 2024-07-12 11:23:15 -04:00
James Kiger 07e65f2c4e Update GT to v4.0.11 2024-07-09 12:24:55 -04:00
James Kiger 5ad0dd06ca Upgrade GT to 4.0.10 2024-06-28 13:53:45 -04:00
James Kiger 12942a25f0 Update GT version to 4.0.9 2024-05-07 12:22:55 -04:00
David Burke 61c97590fc GlitchTip 4.0.8 2024-04-28 14:34:21 -04:00
David Burke 04b8e546a8 Glichtip 4.0.7 2024-04-25 19:26:38 -04:00
David Burke a8d36d85d4 Update GT version 2024-04-19 09:02:03 -04:00
James Kiger 2e454ac8c5 Upgrade GT to v4.0.5 2024-04-17 15:27:38 -04:00
James Kiger 746bad0434 Update GT to v4.0.4 2024-04-16 12:47:41 -04:00
James Kiger ed53238b5f Increase GT version to 4.0.3 2024-04-15 16:55:19 -04:00
David Burke b3481d8080 Merge branch 'v-3-0-0' into 'master'
Chart v3.0.0 - upgrade GT to 4.0

See merge request glitchtip/glitchtip-helm-chart!12
2024-04-10 17:30:16 +00:00
James Kiger 4fdd5b988f Update redis and psql, upgrade GT to 4.0 2024-04-10 12:12:49 -04:00
James Kiger fc3daf2e11 Update Gt version to 3.4.6 2024-01-22 12:11:50 -05:00
James Kiger f2f59be3bb Update version in values.yaml 2024-01-17 11:03:43 -05:00
David Burke 1298f1160e Update app version and charts 2023-12-22 09:09:22 -05:00
James Kiger 393f31dd0e Update app and chart version 2023-12-04 13:08:44 -05:00
James Kiger 0bd05d79df Make this a minor version update for chart 2023-10-05 14:39:30 -04:00
James Kiger 574cecf95b Update gt to 3.4.0 2023-10-05 14:37:09 -04:00
David Burke 16a80bb95b Update dependencies. Use mehr/flower docker image. 2023-10-04 09:29:57 -04:00
David Burke 623ef3f3b3 Update GT 2023-09-15 14:59:56 -04:00
David Burke ea3456720d Update charts, glitchtip 3.3.0 2023-07-15 21:07:22 -04:00
David Burke 3be60a11ba Merge branch 'Zebradil-master-patch-80180' into 'master'
Fix key name of the postgresql chart values

See merge request glitchtip/glitchtip-helm-chart!11
2023-07-14 00:24:27 +00:00
German Lashevich d0ad5893b9
docs: add links to upstream charts documentation 2023-07-13 22:55:11 +02:00
David Burke d6b850a189 Version 3.2.2 2023-07-09 11:41:51 -04:00
David Burke ff0e47cb00 Chart updates. Change default worker settings to use less ram. 2023-07-09 11:27:55 -04:00
David Burke 7038527dae Update charts 2023-06-18 13:12:29 -04:00
German Lashevich c83e9cd164 Fix key name of the postgresql chart values 2023-06-09 19:18:19 +00:00
David Burke 837b05a987 Update dependencies
Allow for more flexible worker liveness probe
2023-05-19 10:43:01 -04:00
James Kiger 6030aa42d6 Update Gt to 3.2.0 2023-05-16 07:44:37 -04:00
12 changed files with 84 additions and 27 deletions

40
.drone.yml Normal file
View file

@ -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: {}

2
.gitmodules vendored
View file

@ -1,3 +1,3 @@
[submodule "django-helm-chart"] [submodule "django-helm-chart"]
path = 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

9
CHANGELOG Normal file
View file

@ -0,0 +1,9 @@
# Unreleased
# 4.0.0
- (Breaking) Rename value preInstall to migrationJob
- The migration job now runs the migrate script which includes pgpartition. This should help ensure it runs more often as a failsafe should celery fail.
- Add some support for volume mounts, not well tested
- Started this changelog
- Updated chart dependencies to latest versions

View file

@ -1,9 +1,9 @@
dependencies: dependencies:
- name: postgresql - name: postgresql
repository: https://charts.bitnami.com/bitnami repository: https://charts.bitnami.com/bitnami
version: 12.3.1 version: 15.5.16
- name: redis - name: redis
repository: https://charts.bitnami.com/bitnami repository: https://charts.bitnami.com/bitnami
version: 17.9.5 version: 19.6.1
digest: sha256:ae553a8fd4c534dfc568f711400449783b614f2ef13b6ca3feb3b446ffca2ab3 digest: sha256:39ccb3c76f7a8587ce6623d8b563cefcb3c63a7376768a901ae8092ca4fd9b82
generated: "2023-04-22T21:00:15.99152284-04:00" generated: "2024-07-15T16:16:16.67406353-04:00"

View file

@ -14,20 +14,20 @@ type: application
# This is the chart version. This version number should be incremented each time you make changes # 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. # to the chart and its templates, including the app version.
version: 2.3.1 version: 4.0.1
# This is the version number of the application being deployed. This version number should be # This is the version number of the application being deployed. This version number should be
# incremented each time you make changes to the application. # incremented each time you make changes to the application.
appVersion: 3.1.3 appVersion: 4.1.1
icon: https://glitchtip.gitlab.io/glitchtip-helm-chart/icon.svg icon: https://glitchtip.gitlab.io/glitchtip-helm-chart/icon.svg
dependencies: dependencies:
- name: postgresql - name: postgresql
version: ^12.2.7 version: ^15.2.5
repository: https://charts.bitnami.com/bitnami repository: https://charts.bitnami.com/bitnami
condition: postgresql.enabled condition: postgresql.enabled
- name: redis - name: redis
version: ^17.9.4 version: ^19.1.0
repository: https://charts.bitnami.com/bitnami repository: https://charts.bitnami.com/bitnami
condition: redis.enabled condition: redis.enabled

View file

@ -18,19 +18,21 @@ For postgresql, we recommend an externally managed database and providing only t
## Important Tips ## Important Tips
- Use [helm diff](https://github.com/databus23/helm-diff) to preview changes - Use [helm diff](https://github.com/databus23/helm-diff) to preview changes
- We don't update the chart version for app version updates at this time, set image.tag instead.
- Set image.pullPolicy to `IfNotPresent` after specifying the image.tag - Set image.pullPolicy to `IfNotPresent` after specifying the image.tag
- Set redis.auth.password to avoid redis being entirely remade on each release - Set redis.auth.password to avoid redis being entirely remade on each release
- If updating the chart, carefully review values for any new defaults - If updating the chart, carefully review values for any new defaults
## Updating ## Updating
See changes in this chart on [GitLab](https://gitlab.com/glitchtip/glitchtip-helm-chart/-/releases)
- `helm repo update` - `helm repo update`
- Set the image.tag to the [latest version](https://gitlab.com/glitchtip/glitchtip-frontend/-/releases) - Set the image.tag to the [latest version](https://gitlab.com/glitchtip/glitchtip-frontend/-/releases)
- `helm diff upgrade glitchtip glitchtip/glitchtip` - `helm diff upgrade glitchtip glitchtip/glitchtip`
- Carefully review diff - Carefully review diff
- `helm upgrade glitchtip glitchtip/glitchtip -f your-values.yaml` - `helm upgrade glitchtip glitchtip/glitchtip -f your-values.yaml`
# Contributing # Contributing
Please open issues only with potential solutions and be prepared to do some work or else fund it. Contributors are welcome. However, we kindly ask that feature requests and support requests not be opened in this repo. Please open issues only with potential solutions and be prepared to do some work or else fund it. Contributors are welcome. However, we kindly ask that feature requests and support requests not be opened in this repo.

Binary file not shown.

Binary file not shown.

Binary file not shown.

BIN
charts/redis-19.6.1.tgz Normal file

Binary file not shown.

@ -1 +1 @@
Subproject commit 466648631f63004b665ef8be701532af2a50a401 Subproject commit 4c7256e5c96d18e4f187074354690a11d65b57fe

View file

@ -1,7 +1,7 @@
# Default values for glitchtip. # Default values for glitchtip.
image: image:
repository: glitchtip/glitchtip repository: glitchtip/glitchtip
tag: v3.1.3 tag: v4.1.1
pullPolicy: IfNotPresent pullPolicy: IfNotPresent
imagePullSecrets: [] imagePullSecrets: []
@ -12,14 +12,16 @@ env:
normal: normal:
ENABLE_SOCIAL_AUTH: false ENABLE_SOCIAL_AUTH: false
GLITCHTIP_DOMAIN: https://example.com GLITCHTIP_DOMAIN: https://example.com
CELERY_WORKER_CONCURRENCY: "3" # Remove to set to number of cpus CELERY_WORKER_AUTOSCALE: "1,3"
CELERY_WORKER_MAX_TASKS_PER_CHILD: "10000"
secret: secret:
SECRET_KEY: # Required SECRET_KEY: # Required
# DATABASE_URL: Specify if using external postgres (not managed by this chart) # DATABASE_URL: Specify if using external postgres (not managed by this chart)
# REDIS_URL: Specify if using external redis (not managed by this chart) # REDIS_URL: Specify if using external redis (not managed by this chart)
preInstall: migrationJob:
enabled: true enabled: true
command: ["bin/run-migrate.sh"]
activeDeadlineSeconds: 900 activeDeadlineSeconds: 900
web: web:
@ -90,17 +92,16 @@ worker:
minReplicas: 1 minReplicas: 1
maxReplicas: 10 maxReplicas: 10
targetCPU: 100 targetCPU: 100
# targetMemory: 80 # targetMemory: 100
livenessProbe: livenessProbe:
enabled: true
initialDelaySeconds: 10 initialDelaySeconds: 10
periodSeconds: 60 periodSeconds: 60
timeoutSeconds: 30 timeoutSeconds: 30
exec:
command: command:
- /bin/sh - "bash"
- -c - "-c"
- exec - "celery -A glitchtip inspect ping -d celery@$HOSTNAME | grep -q OK"
- celery -A glitchtip inspect ping -d celery@$HOSTNAME | grep -q OK
resources: resources:
limits: limits:
cpu: 900m cpu: 900m
@ -117,11 +118,11 @@ beat:
enabled: true enabled: true
resources: resources:
limits: limits:
cpu: 100m cpu: 200m
memory: 130Mi memory: 150Mi
requests: requests:
cpu: 1m cpu: 1m
memory: 110Mi memory: 130Mi
nodeSelector: {} nodeSelector: {}
tolerations: [] tolerations: []
podAnnotations: {} podAnnotations: {}
@ -129,6 +130,10 @@ beat:
flower: flower:
enabled: false enabled: false
image:
repository: mher/flower
tag: latest
pullPolicy: IfNotPresent
resources: resources:
limits: limits:
cpu: 500m cpu: 500m
@ -166,7 +171,7 @@ serviceAccount:
# If not set and create is true, a name is generated using the fullname template # If not set and create is true, a name is generated using the fullname template
name: name:
# For configuration options, see https://artifacthub.io/packages/helm/bitnami/redis
redis: redis:
enabled: true enabled: true
architecture: standalone architecture: standalone
@ -177,7 +182,8 @@ redis:
enabled: false enabled: false
# Default to disabled, use a managed database service. But can be enabled here. # Default to disabled, use a managed database service. But can be enabled here.
# For configuration options, see https://artifacthub.io/packages/helm/bitnami/postgresql
postgresql: postgresql:
enabled: false enabled: false
#auth: # auth:
# password: # Must be set # postgresPassword: # Must be set