Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Added API and UI schema to ptypy cpu template #6

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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