Skip to content
Merged
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
13 changes: 11 additions & 2 deletions wss/templates/dc-sim.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -21,12 +21,17 @@ spec:
script:
image: ghcr.io/diamondlightsource/dlstbx
command: [bash]
workingDir: "/dls/tmp/wdr83388"
volumeMounts:
- name: "dlsfilesystem"
mountPath: "/dls/tmp/wdr83388"
source: |
echo dlstbx.wrap --wrap dc_sim --recipewrapper "{{inputs.parameters.RECIPEWRAP}}" >runinfo
dlstbx.wrap --wrap dc_sim --recipewrapper "{{inputs.parameters.RECIPEWRAP}}"
print("hello world")
ping google.com
ping rabbitmq1
curl rabbitmq1:15672
wget rabbitmq1:15672

volumes:
- name: dlsfilesystem
hostPath:
Expand All @@ -42,3 +47,7 @@ spec:
parameters:
- name: RECIPEWRAP
value: "{{workflow.parameters.RECIPEWRAP}}"


# echo dlstbx.wrap --wrap dc_sim --recipewrapper "{{inputs.parameters.RECIPEWRAP}}" >runinfo
# dlstbx.wrap --wrap dc_sim --recipewrapper "{{inputs.parameters.RECIPEWRAP}}"