Skip to content
Snippets Groups Projects
Verified Commit 6d0ba02b authored by Daniel Göbel's avatar Daniel Göbel
Browse files

Exclude server header from response

#15
parent fb7e1adc
No related branches found
No related tags found
No related merge requests found
......@@ -130,6 +130,7 @@ build-publish-dev-docker-container-job:
--context "${CI_PROJECT_DIR}"
--dockerfile "${CI_PROJECT_DIR}/Dockerfile"
--destination "${CI_REGISTRY_IMAGE}:dev-${CI_COMMIT_SHA}"
--destination "${CI_REGISTRY_IMAGE}:dev-latest"
build-publish-docker-container-job:
stage: deploy
......
......@@ -157,6 +157,8 @@ class CRUDWorkflowExecution:
Async database session to perform query on.
execution_id : uuid.UUID | bytes
ID of the workflow execution
slurm_job_id : int
New slurm job ID
"""
eid = execution_id.bytes if isinstance(execution_id, UUID) else execution_id
stmt = update(WorkflowExecution).where(WorkflowExecution._execution_id == eid).values(slurm_job_id=slurm_job_id)
......
......@@ -6,4 +6,4 @@ python app/check_ceph_connection.py
python app/check_database_connection.py
# Start webserver
uvicorn app.main:app --host 0.0.0.0 --port 8000
uvicorn app.main:app --host 0.0.0.0 --port 8000 --no-server-header
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment