aloof-gpu-1340601/06/2023, 6:34 PM
just outputs "Step command includes global options that will be ignored...". Nothing else in the steps object has any of the logs I'd expect from my script. Is there any way to save or bubble stdout that happens within the Garden Exec, or do I need to just save to file from the script in question? Thanks!
quaint-dress-83101/09/2023, 3:00 PM
aloof-gpu-1340601/10/2023, 10:05 PM
kind: Workflow steps: - name: hideslogs script: | garden exec --interactive=false whereIWantScriptToExectute "runscript.sh"
(Python script using
.echo to stdout) Whether I define it as a script or a command step, stdout ranges from (1) graph resolution logs then nothing from my actual script to (2) no logs at all. When I pipe the stdout, same thing. I could change the script to log to file, but then I'd need to do some file mounting to get that log file out, and it feels like there should be a way to just bubble stdout up through the garden exec Note: Since my original question, I was able to test - running the garden exec command from the command line seemed to show the logs in stdout that we expected, so the cause of this issue is with the Garden workflow, not the garden exec command
garden exec --interactive=false whereIWantScriptToExectute logs.log<(runscript.sh)
quaint-dress-83101/14/2023, 6:00 AM
aloof-gpu-1340601/14/2023, 6:23 PM
ancient-diamond-8001101/17/2023, 2:14 PM
aloof-gpu-1340601/17/2023, 5:05 PM
ancient-diamond-8001101/18/2023, 7:27 AM
glamorous-caravan-2661901/18/2023, 2:05 PM
aloof-gpu-1340601/27/2023, 5:30 PM