orange-ability-181207/27/2023, 5:11 PM
environment and stream the logs to actually see the stack trace on the server side. It would be really awesome if there was a way to specify which services to capture logs for during a test run.
I tried doing something like this:
But it gives me an error that specifically it can't stream logs using workflows.
Is there a solution I'm missing, or is this something that would be a feature request?
- command: [deploy, --logs, api]
- command: [test, integration-tests]
chilly-gigabyte-8385307/28/2023, 9:15 AM
and in another window run the integration tests.
You could also use sync mode in a similar fashion:
- First you'd start the dev command with
garden logs api --follow
- then you'd deploy api in sync mode
and then you could go on
deploy api --sync
and check the api logs from the Live page (selecting the
from the Sources dropdown).
Of course those approaches won't work unfortunately if you are running the workflows or tests from a CI pipeline. What's your use case?
orange-ability-181207/28/2023, 12:17 PM
bright-policeman-4362607/29/2023, 3:19 AM
quaint-dress-83108/14/2023, 8:54 AM
orange-ability-181208/16/2023, 5:00 PM