This PR allows the client to choose between "local" mode and "remote" mode for Docker. In local mode, which was the only choice until now, a directory that is to be mounted into the test container is created, and populated with a script to be run. Smelt then writes the stdout and stderr from the test into a log file in that directory, in addition to sending logging events. In remote mode, none of this happens. This is intended for use in settings where the Docker daemon is running on a separate machine, in which case it's impossible to mount files on the local drive to the container.
To do: Let the user choose between remote and local mode, right now remote is hardcoded for development purposes.
This PR allows the client to choose between "local" mode and "remote" mode for Docker. In local mode, which was the only choice until now, a directory that is to be mounted into the test container is created, and populated with a script to be run. Smelt then writes the stdout and stderr from the test into a log file in that directory, in addition to sending logging events. In remote mode, none of this happens. This is intended for use in settings where the Docker daemon is running on a separate machine, in which case it's impossible to mount files on the local drive to the container.
To do: Let the user choose between remote and local mode, right now remote is hardcoded for development purposes.