Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
CloWM Workflow Service
Manage
Activity
Members
Code
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Admin message
Looking for advice? Join the
Matrix channel for GitLab users in Bielefeld
!
This is an archived project. Repository and other project resources are read-only.
Show more breadcrumbs
Computational Metagenomics
CloWM
CloWM Workflow Service
Commits
6d0ba02b
Verified
Commit
6d0ba02b
authored
2 years ago
by
Daniel Göbel
Browse files
Options
Downloads
Patches
Plain Diff
Exclude server header from response
#15
parent
fb7e1adc
No related branches found
Branches containing commit
No related tags found
No related merge requests found
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
.gitlab-ci.yml
+1
-0
1 addition, 0 deletions
.gitlab-ci.yml
app/crud/crud_workflow_execution.py
+2
-0
2 additions, 0 deletions
app/crud/crud_workflow_execution.py
start_service.sh
+1
-1
1 addition, 1 deletion
start_service.sh
with
4 additions
and
1 deletion
.gitlab-ci.yml
+
1
−
0
View file @
6d0ba02b
...
...
@@ -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
...
...
This diff is collapsed.
Click to expand it.
app/crud/crud_workflow_execution.py
+
2
−
0
View file @
6d0ba02b
...
...
@@ -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
)
...
...
This diff is collapsed.
Click to expand it.
start_service.sh
+
1
−
1
View file @
6d0ba02b
...
...
@@ -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
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment