File tree Expand file tree Collapse file tree 1 file changed +24
-0
lines changed Expand file tree Collapse file tree 1 file changed +24
-0
lines changed Original file line number Diff line number Diff line change
1
+ ---
2
+ - name : Run EESSI test job
3
+ hosts : login # TODO: Limit this to single node when there are multiple?
4
+ tasks :
5
+ - name : Clone eessi-demo repo
6
+ ansible.builtin.git :
7
+ repo : " https://github.com/eessi/eessi-demo.git"
8
+ dest : ~/eessi-demo
9
+
10
+ - name : Run test job
11
+ ansible.builtin.shell :
12
+ cmd : |
13
+ source /cvmfs/pilot.eessi-hpc.org/latest/init/bash
14
+ srun ./run.sh
15
+ chdir : ~/eessi-demo/TensorFlow
16
+ executable : /bin/bash
17
+ register : job_output
18
+
19
+ - name : Fail if job output contains error
20
+ fail :
21
+ # Note: Job prints live progress bar to terminal, so use regex filter to remove this from stdout
22
+ msg : " Test job using EESSI modules failed. Job output was: {{ job_output.stdout | regex_replace('\b ', '') }}"
23
+ when : ' "Epoch 5/5" not in job_output.stdout'
24
+
You can’t perform that action at this time.
0 commit comments