davidahouse / stampede-server

A node.js based workflow server
https://www.stampedeci.com
MIT License
4 stars 1 forks source link

Task execution details should come from the task definition, not the worker #81

Closed davidahouse closed 5 years ago

davidahouse commented 5 years ago

When requesting a task be executed, the server should pull the details on HOW to execute the task from the task definition (the file now in the /tasks folder in the config). This will include which command to executed and how to handle the log files.

This change will need to be coordinated with this worker change: https://github.com/davidahouse/stampede-worker/issues/64

davidahouse commented 5 years ago

Closing this as I think passing these intimate details over the queue isn't as secure as it should be. We don't want workers with the ability to execute arbitrary commands. So enhancements will be made to the worker instead to accommodate for this.