Commit be09164f authored by Markus Scheidgen's avatar Markus Scheidgen
Browse files

Configuration changes. [skip ci]

parent 18912198
Pipeline #45315 skipped
......@@ -29,6 +29,18 @@ from .main import cli
def proc():
pass
@proc.command(help='List processing tasks')
def ls():
infrastructure.setup_logging()
infrastructure.setup_mongo()
def ls(query):
for proc in query:
print(proc)
ls(processing.Calc.objects(process_status=processing.PROCESS_RUNNING))
ls(processing.Upload.objects(process_status=processing.PROCESS_RUNNING))
@proc.command(help='Stop all running processing')
@click.option('--calcs', is_flag=True, help='Only stop calculation processing')
......
......@@ -104,12 +104,12 @@ spec:
path: {{ .Values.volumes.public }}
type: Directory
- name: staging-volume
{{ if eq( .Values.worker.routing "worker")}}
{{ if (eq .Values.worker.routing "worker") }}
emptyDir:
medium: 'Memory'
{{ else }}
hostPath:
path: {{ .Vallues.volumes.staging}}
path: {{ .Values.volumes.staging}}
type: Directory
{{ end }}
- name: nomad-volume
......
......@@ -115,12 +115,12 @@ spec:
path: {{ .Values.volumes.public }}
type: Directory
- name: staging-volume
{{ if eq( .Values.worker.routing "worker")}}
{{ if (eq .Values.worker.routing "worker") }}
emptyDir:
medium: 'Memory'
{{ else }}
hostPath:
path: {{ .Vallues.volumes.staging}}
path: {{ .Values.volumes.staging}}
type: Directory
{{ end }}
- name: nomad-volume
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment