Skip to content

Commit

Permalink
feat(dask): update reana.yaml schema (#467)
Browse files Browse the repository at this point in the history
  • Loading branch information
Alputer committed Aug 28, 2024
1 parent 5e390bb commit 50952aa
Show file tree
Hide file tree
Showing 2 changed files with 21 additions and 13 deletions.
1 change: 1 addition & 0 deletions AUTHORS.md
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down
33 changes: 20 additions & 13 deletions reana_commons/validation/schemas/reana_analysis_schema.json
Original file line number Diff line number Diff line change
Expand Up @@ -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"]
}
}
},
Expand Down

0 comments on commit 50952aa

Please sign in to comment.