Open david-homley opened 2 years ago
This is because of the change we made here: https://github.com/brightsparklabs/appcli/blob/develop/appcli/orchestrators.py#L701
By setting capture_output=True
, we capture the stdout from the docker-compose command, and it isn't shown.
We needed to set capture_output=True
to be able to capture and use the output of the docker-compose command with the orchestrator in custom_commands.
We need to think about how we can support both use-cases.
We run docker-compose
for a few commands, most of which we need to see the output:
When running a Task that is 'attached' (eg not run in
detach
mode), no output from stdout/stderr is shown.This can be shown via the following snippet, which is attempting to run a
task
that executes a static SQL script in amcr.microsoft.com/mssql-tools
docker image:Running the same task on an older release of the same app gives:
Hence the expected behaviour is for the
Sqlcmd
error logs to be included.