|
36 | 36 | REANA_DASK_CLUSTER_MAX_NUMBER_OF_WORKERS, |
37 | 37 | REANA_DASK_CLUSTER_DEFAULT_SINGLE_WORKER_THREADS, |
38 | 38 | REANA_DASK_CLUSTER_MAX_SINGLE_WORKER_THREADS, |
| 39 | + REANA_GITLAB_HOST, |
39 | 40 | ) |
40 | 41 | from reana_server.decorators import signin_required |
41 | 42 |
|
@@ -355,6 +356,10 @@ def info(user, **kwargs): # noqa |
355 | 356 | "title": "Dask workflows allowed in the cluster", |
356 | 357 | "value": "False" |
357 | 358 | }, |
| 359 | + "gitlab_host": { |
| 360 | + "title": "GitLab host", |
| 361 | + "value": "gitlab.cern.ch" |
| 362 | + }, |
358 | 363 | "dask_autoscaler_enabled": { |
359 | 364 | "title": "Dask autoscaler enabled in the cluster", |
360 | 365 | "value": "False" |
@@ -477,6 +482,10 @@ def info(user, **kwargs): # noqa |
477 | 482 | title="Dask workflows allowed in the cluster", |
478 | 483 | value=bool(DASK_ENABLED), |
479 | 484 | ), |
| 485 | + gitlab_host=dict( |
| 486 | + title="GitLab host", |
| 487 | + value=REANA_GITLAB_HOST, |
| 488 | + ), |
480 | 489 | ) |
481 | 490 |
|
482 | 491 | if DASK_ENABLED: |
@@ -566,6 +575,8 @@ class InfoSchema(Schema): |
566 | 575 | yadage_engine_packtivity_version = fields.Nested(StringInfoValue) |
567 | 576 | snakemake_engine_version = fields.Nested(StringInfoValue) |
568 | 577 | dask_enabled = fields.Nested(StringInfoValue) |
| 578 | + gitlab_host = fields.Nested(StringInfoValue) |
| 579 | + |
569 | 580 | if DASK_ENABLED: |
570 | 581 | dask_autoscaler_enabled = fields.Nested(StringInfoValue) |
571 | 582 | dask_cluster_default_number_of_workers = fields.Nested(StringInfoValue) |
|
0 commit comments