config.yaml 1.0 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455
  1. net:
  2. id: 12245
  3. listen: tcp:localhost:12345
  4. as: tcp:10.0.0.1:12345
  5. command: unix:/tmp/bdjncl
  6. peers:
  7. - as: tcp:localhost:12346
  8. skills:
  9. - name: test
  10. inputs:
  11. - name: video
  12. mime: application/mod
  13. outputs:
  14. - name: result
  15. mime: application/json
  16. - as: tcp:localhost:12347
  17. skills:
  18. - name: test
  19. inputs:
  20. - name: video
  21. mime: application/mod
  22. outputs:
  23. - name: result
  24. mime: application/json
  25. jobs:
  26. - skill:
  27. name: test
  28. inputs:
  29. - name: video
  30. mime: application/mod
  31. outputs:
  32. - name: result
  33. mime: application/json
  34. step:
  35. - type: s3-download
  36. cmd: '"$input_video"'
  37. - type: sh
  38. cmd: /bin/echo "$input_video" "$output_result"
  39. - skill:
  40. name: test2
  41. inputs:
  42. - name: video
  43. mime: application/mod
  44. outputs:
  45. - name: result
  46. mime: application/json
  47. step:
  48. - type: sh
  49. cmd: /bin/echo "$input_video" "$output_result"
  50. - type: s3-download
  51. cmd: '"$input_video"'
  52. states:
  53. - name: test
  54. kind: running
  55. order: 1