Skip to content
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

Add non-interactive mode when building images #669

Open
PGijsbers opened this issue Dec 11, 2024 · 0 comments
Open

Add non-interactive mode when building images #669

PGijsbers opened this issue Dec 11, 2024 · 0 comments
Labels
enhancement New feature or request

Comments

@PGijsbers
Copy link
Collaborator

PGijsbers commented Dec 11, 2024

Add a command line option for a non-interactive mode, which automatically accepts or rejects any input prompts.
For now, I would side on the making this specific to these prompts to be extra explicit and introduce two flags:

  • --allow-building-with-local-changes
  • --allow-building-different-branch

Currently when running in a mode which builds containers the automl benchmark will prompt you if you are not on the branch specified by your configuration or when you have local changes (here). This is great, but not very convenient when trying to run in a different branch on e.g., CI.

For now, just use yes | python runbenchmark.py ...

@PGijsbers PGijsbers added the enhancement New feature or request label Dec 11, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant