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

stopContainers=true makes buildBeforeUp not build things #388

Open
neopaf opened this issue Nov 29, 2022 · 1 comment
Open

stopContainers=true makes buildBeforeUp not build things #388

neopaf opened this issue Nov 29, 2022 · 1 comment

Comments

@neopaf
Copy link

neopaf commented Nov 29, 2022

currently when stopContainers=true it makes buildBeforeUp ineffective:

> Task :composeUp
Cached services infos loaded while 'stopContainers' is set to 'false'.

What I'm after is fast integration tests run, and I need containers keep running.
But be recreated whenever anything changes.

Is anything like that possible now?

@neopaf
Copy link
Author

neopaf commented Nov 29, 2022

Currently I manually start IntelliJ run configuration for DockerCompose which does docker-compose up --build and it automatically rebuilds things and restarts whatever is needed.

But it's inconvenient :(

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

No branches or pull requests

2 participants