🐛(CI) add helm release action

In order to avoird code duplication we have to release a helm chart
This commit is contained in:
Jacques ROUSSEL
2024-12-19 16:29:34 +01:00
committed by Anthony LC
parent 60dbf6c11d
commit 21205b4d19
3 changed files with 48 additions and 2 deletions

View File

@@ -225,6 +225,16 @@ backend:
- "--no-input"
restartPolicy: Never
## @param backend.createsuperuser.command backend migrate command
## @param backend.createsuperuser.restartPolicy backend migrate job restart policy
createsuperuser:
command:
- "/bin/sh"
- "-c"
- |
python manage.py createsuperuser --email $DJANGO_SUPERUSER_EMAIL --password $DJANGO_SUPERUSER_PASSWORD
restartPolicy: Never
## @param backend.probes.liveness.path [nullable] Configure path for backend HTTP liveness probe
## @param backend.probes.liveness.targetPort [nullable] Configure port for backend HTTP liveness probe
## @param backend.probes.liveness.initialDelaySeconds [nullable] Configure initial delay for backend liveness probe