From 3aa9dfda6589f558d51455a45eab1ab0308c5fd8 Mon Sep 17 00:00:00 2001 From: Alputer Date: Tue, 6 Aug 2024 16:04:02 +0200 Subject: [PATCH] docs(authors): add Alp Tuna --- AUTHORS.md | 1 + .../schemas/reana_analysis_schema.json | 33 +++++++++++-------- 2 files changed, 21 insertions(+), 13 deletions(-) diff --git a/AUTHORS.md b/AUTHORS.md index 373cd589..596b796a 100644 --- a/AUTHORS.md +++ b/AUTHORS.md @@ -4,6 +4,7 @@ The list of contributors in alphabetical order: - [Adelina Lintuluoto](https://orcid.org/0000-0002-0726-1452) - [Agisilaos Kounelis](https://orcid.org/0000-0001-9312-3189) +- [Alp Tuna](https://orcid.org/0009-0001-1915-3993) - [Audrius Mecionis](https://orcid.org/0000-0002-3759-1663) - [Bruno Rosendo](https://orcid.org/0000-0002-0923-3148) - [Burt Holzman](https://orcid.org/0000-0001-5235-6314) diff --git a/reana_commons/validation/schemas/reana_analysis_schema.json b/reana_commons/validation/schemas/reana_analysis_schema.json index 3b3e4a18..c49ad4d7 100644 --- a/reana_commons/validation/schemas/reana_analysis_schema.json +++ b/reana_commons/validation/schemas/reana_analysis_schema.json @@ -111,20 +111,27 @@ }, "dask": { "$id": "/properties/workflow/properties/resources/properties/dask", - "type": "object", - "properties": { - "version": { - "type": "string", - "pattern": "^[1-9][0-9]*\\.[0-9]+\\.[0-9]+" - }, - "cores": { - "type": "string", - "pattern": "^[1-9][0-9]*$" + "type": "array", + "title": "Dask clusters to be used by the workflow", + "items": { + "type": "object", + "properties": { + "name": { + "type": "string" + }, + "version": { + "type": "string", + "pattern": "^[1-9][0-9]*\\.[0-9]+\\.[0-9]+" + }, + "cores": { + "type": "number" + }, + "memory": { + "type": "string", + "pattern": "^[1-9][0-9]*[KMG]$" + } }, - "memory": { - "type": "string", - "pattern": "^[1-9][0-9]*[KMG]$" - } + "required": ["name", "version", "cores", "memory"] } } },