Skip to content

Commit

Permalink
Added API and UI schema to ptypy cpu template
Browse files Browse the repository at this point in the history
  • Loading branch information
daurer committed Oct 22, 2024
1 parent 861c4d5 commit 48401c1
Show file tree
Hide file tree
Showing 3 changed files with 1,115 additions and 0 deletions.
28 changes: 28 additions & 0 deletions ptypy/ptypy-cpu-workflow-template.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,34 @@ apiVersion: argoproj.io/v1alpha1
kind: ClusterWorkflowTemplate
metadata:
name: ptypy-cpu-job
annotations:
workflows.argoproj.io/title: PtyPy CPU Job Submitter
workflows.argoproj.io/description: |
Runs a PtyPy reconstruction job inside a container.
workflows.diamond.ac.uk/parameter-schema.config: |
{{- .Files.Get "schema/ptypy_moonflower.json" | nindent 6 }}
workflows.diamond.ac.uk/parameter-schema.id: |
{
"type": "string",
}
workflows.diamond.ac.uk/parameter-schema.output: |
{
"type": "string",
"default": "/tmp/output"
}
workflows.diamond.ac.uk/parameter-schema.nprocs: |
{
"type": "integer",
"default": 1
}
workflows.diamond.ac.uk/parameter-schema.memory: |
{
"type": "string",
"pattern": "^[0-9]+[GMK]i$",
"default": "20Gi"
}
workflows.diamond.ac.uk/ui-schema: |
{{- .Files.Get "schema/ptypy_moonflower_ui.json" | nindent 6 }}
spec:
entrypoint: ptypy-run
volumeClaimTemplates:
Expand Down
Loading

0 comments on commit 48401c1

Please sign in to comment.