Skip to content

Commit 64eec78

Browse files
committed
Added HOME env and pointed to /tmp
1 parent 2b9af49 commit 64eec78

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

i14/templates/dpc-template.yaml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,6 @@ spec:
3636
command: [bash]
3737
source: |
3838
echo '{{ .Files.Get "notebooks/dpc_autoprocess3.ipynb" | b64enc }}' | base64 -d > /tmp/notebook.ipynb
39-
ls /tmp
4039
volumeMounts:
4140
- name: tmp
4241
mountPath: /tmp
@@ -49,6 +48,9 @@ spec:
4948
value: 280793
5049
script:
5150
image: gitlab.diamond.ac.uk:5050/i14/i14_utility/dpc:v0.1
51+
env:
52+
- name: HOME
53+
value: /tmp
5254
command: [bash]
5355
source: |
5456
python -m papermill /tmp/notebook.ipynb /tmp/notebook-parametrized.ipynb \

0 commit comments

Comments
 (0)