From afc35fc4eefe6b03bf9ecd883287b7875840584c Mon Sep 17 00:00:00 2001 From: David Igandan Date: Thu, 2 Jul 2026 13:59:56 +0100 Subject: [PATCH 1/3] add dls filesystem mount --- wss/templates/dc-sim.yaml | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/wss/templates/dc-sim.yaml b/wss/templates/dc-sim.yaml index dcec79c..05fa281 100644 --- a/wss/templates/dc-sim.yaml +++ b/wss/templates/dc-sim.yaml @@ -11,7 +11,7 @@ spec: arguments: parameters: - name: RECIPEWRAP - value: "" + value: "" # default value templates: - name: run-dc-sim @@ -21,6 +21,9 @@ spec: script: image: ghcr.io/diamondlightsource/dlstbx command: [bash] + volumeMounts: + - name: "dlsfilesystem" + mountPath: "{{ inputs.parameters.RECIPEWRAP }}" source: | echo dlstbx.wrap --wrap dc_sim --recipewrapper "{{`{{inputs.parameters.RECIPEWRAP}}`}}" >runinfo dlstbx.wrap --wrap dc_sim --recipewrapper "{{`{{inputs.parameters.RECIPEWRAP}}`}}" From aea79b1c931a7f707466679f7a2e5be8883b8e66 Mon Sep 17 00:00:00 2001 From: David Igandan Date: Thu, 2 Jul 2026 14:04:04 +0100 Subject: [PATCH 2/3] correct mounting --- wss/templates/dc-sim.yaml | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/wss/templates/dc-sim.yaml b/wss/templates/dc-sim.yaml index 05fa281..09d74b7 100644 --- a/wss/templates/dc-sim.yaml +++ b/wss/templates/dc-sim.yaml @@ -23,10 +23,15 @@ spec: command: [bash] volumeMounts: - name: "dlsfilesystem" - mountPath: "{{ inputs.parameters.RECIPEWRAP }}" + 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: From 8ed58005a36ac47efa5a1cfd428acc4dc357bbd7 Mon Sep 17 00:00:00 2001 From: David Igandan Date: Thu, 2 Jul 2026 14:07:22 +0100 Subject: [PATCH 3/3] update wss/chart.yaml to have new name --- wss/Chart.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/wss/Chart.yaml b/wss/Chart.yaml index 3d45a40..7c45e91 100644 --- a/wss/Chart.yaml +++ b/wss/Chart.yaml @@ -1,5 +1,5 @@ apiVersion: v2 -name: dc-sim +name: wss description: run dc-sim type: application