Skip to content
Snippets Groups Projects
Commit 2495b661 authored by Daniel Göbel's avatar Daniel Göbel
Browse files

Merge branch 'bugfix/15-exclude-server-header-from-response' into 'development'

Resolve "Exclude server header from response"

Closes #15

See merge request cmg/clowm/clowm-workflow-service!14
parents fb7e1adc 6d0ba02b
Branches
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.
Please register or to comment