-
Notifications
You must be signed in to change notification settings - Fork 9
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Support non-interactive mode (IDFGH-13828) #18
Comments
We will consider this feature request but with lower priority. I just want to point out that ESP-IDF, This is not a rejection of the idea, just an explanation why we don't jump into the implementation immediately. |
Just to add, for testing ESP-IDF-based applications in CI, we generally recommend pytest-embedded. It allows checking the application output as well as sending commands to the application. (If there is a specific reason why you'd like to run specifically |
Thanks for the feedback, makes sense. Dagger supports more than just running as part of an automated CI pipeline, it enables local development, ie running and debugging pipelines locally - in this situation, being able to run With my module, on a clean machine with just Git, Docker/Podman and Dagger installed, you can trivially and repeatably run any |
Checklist
Feature description
I am adding esp-idf integration to Dagger (see https://daggerverse.dev/mod/github.com/alanmosely/daggerverse/esp-idf) and one of the things I'd like to support is running
idf.py monitor
within the official Espressif IDF Docker image.This is not currently possible using Dagger as it does not pass in stdin (see with_exec docs) so I get the error:
Monitor requires standard input to be attached to TTY
In #14233, which covers a related issue, @dobairoland suggests creating a non-interactive mode for IDF monitor where if no stdin is attached, all interactive features are disabled with a warning - this is what this task is requesting
Use cases
Running
monitor
as part of an automated pipeline, in my case, a Dagger buildAlternatives
Modify Dagger SDK to be able to attach stdin - this would be a Dagger-specific workaround
Additional context
No response
The text was updated successfully, but these errors were encountered: