Skip to content
Merged
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
2 changes: 1 addition & 1 deletion wss/Chart.yaml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
apiVersion: v2
name: dc-sim
name: wss
description: run dc-sim
type: application

Expand Down
10 changes: 9 additions & 1 deletion wss/templates/dc-sim.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ spec:
arguments:
parameters:
- name: RECIPEWRAP
value: ""
value: "" # default value

templates:
- name: run-dc-sim
Expand All @@ -21,9 +21,17 @@ spec:
script:
image: ghcr.io/diamondlightsource/dlstbx
command: [bash]
volumeMounts:
- name: "dlsfilesystem"
mountPath: "/"
source: |
echo dlstbx.wrap --wrap dc_sim --recipewrapper "{{`{{inputs.parameters.RECIPEWRAP}}`}}" >runinfo
dlstbx.wrap --wrap dc_sim --recipewrapper "{{`{{inputs.parameters.RECIPEWRAP}}`}}"
volumes:
- name: dlsfilesystem
hostPath:
path: "{{ inputs.parameters.RECIPEWRAP }}"
type: Directory

- name: workflow-entry
dag:
Expand Down
Loading