FPDC: Add the permission to add modify and delete releases to releng
Signed-off-by: Clement Verna <cverna@tutanota.com>
This commit is contained in:
parent
35fdf52ad3
commit
3a3abd2fea
1 changed files with 13 additions and 1 deletions
|
@ -18,7 +18,19 @@ spec:
|
||||||
failurePolicy: Abort
|
failurePolicy: Abort
|
||||||
execNewPod:
|
execNewPod:
|
||||||
containerName: fpdc
|
containerName: fpdc
|
||||||
command: [ "django-admin", "migrate", "--no-input"]
|
command: ["django-admin", "migrate", "--no-input"]
|
||||||
|
env:
|
||||||
|
- name: PYTHONPATH
|
||||||
|
value: /opt/app-root/src
|
||||||
|
- name: DJANGO_SETTINGS_MODULE
|
||||||
|
value: fpdc.settings.prod
|
||||||
|
volumes:
|
||||||
|
- config-volume
|
||||||
|
post:
|
||||||
|
failurePolicy: Ignore
|
||||||
|
execNewPod:
|
||||||
|
containerName: fpdc
|
||||||
|
command: ["django-admin", "add_permissions", "releng-team"]
|
||||||
env:
|
env:
|
||||||
- name: PYTHONPATH
|
- name: PYTHONPATH
|
||||||
value: /opt/app-root/src
|
value: /opt/app-root/src
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue