Fix some bugs and refactor the API server

This commit is contained in:
j3ssie
2025-04-21 21:12:47 +08:00
parent a30570cc6c
commit ee467daff7
36 changed files with 1828 additions and 190 deletions
+20
View File
@@ -0,0 +1,20 @@
name: loop-step
report:
final:
- "/tmp/ott/source.txt"
steps:
- scripts:
- "ExecCmd('mkdir -p /tmp/ott/')"
- "ExecCmd('seq 4 > /tmp/ott/source.txt')"
- source: '/tmp/ott/source.txt'
threads: '{{ 9 / 2 }}'
commands:
- "echo '---> {{line}} '"
- "sleep 2 && echo '---> done {{line}}'"
- scripts:
- "ExecCmd('sleep 3')"
- "ExecCmd('echo \\'<======\\' ')"