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

Skip prompt when --yes is set on 'up' command #7614

Conversation

dominikbraun
Copy link
Contributor

Signed-off-by: Dominik Braun mail@dominikbraun.io

This PR enables docker-compose up to be run non-interactively, opting-in to the yes/no prompt described in #7591. Similiar to commands like apt-get, this can be accomplished using docker-compose up -y.

Resolves #7591

Signed-off-by: Dominik Braun <mail@dominikbraun.io>
@dominikbraun
Copy link
Contributor Author

I can't figure out why the Jenkins build fails at all. Any ideas? 🤔

@aiordache
Copy link
Contributor

I can't figure out why the Jenkins build fails at all. Any ideas? 🤔

@dominikbraun Seems that flake8 failed, you can click on Details that will take you to the jenkins pipeline and inspect the failures:

...
 Flake8...................................................................Failed
[2020-07-18T19:58:48.706Z] - hook id: flake8
[2020-07-18T19:58:48.706Z] - exit code: 1
[2020-07-18T19:58:48.706Z] 
[2020-07-18T19:58:48.706Z] compose/cli/main.py:973:5: C901 'TopLevelCommand.up' is too complex (12)

Check the flake8 rules please on how to get rid of the complexity, you can run it locally to catch this sort of issues.

@glours
Copy link
Contributor

glours commented Jul 27, 2022

Thanks for taking the time to create this issue/pull request!

Unfortunately, Docker Compose V1 has reached end-of-life and we are not accepting any more changes (except for security issues). Please try and reproduce your issue with Compose V2 or rewrite your pull request to be based on the v2 branch and create a new issue or PR with the relevant Compose V2 information.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Disable interactivity of up command
4 participants