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

Global config property to disable all DevServices #19133

Closed
edeandrea opened this issue Jul 30, 2021 · 4 comments · Fixed by #19332
Closed

Global config property to disable all DevServices #19133

edeandrea opened this issue Jul 30, 2021 · 4 comments · Fixed by #19332
Labels
Milestone

Comments

@edeandrea
Copy link
Contributor

Description

It would be nice to have a global config property to be able to enable/disable all DevServices, something like quarkus.devservices.enabled.

A global switch to shut things off (like if I need/want to run quarkus:dev in a remote IDE like Eclipse Che which doesn't allow you to start containers because you're already in a container). In such a case if my app uses, say, a postgres db, kafka, & apicurio, it would be really nice to just be able to shut devservices off completely.

Implementation ideas

No response

@edeandrea edeandrea added the kind/enhancement New feature or request label Jul 30, 2021
@quarkus-bot
Copy link

quarkus-bot bot commented Jul 30, 2021

/cc @stuartwdouglas

@OleKsimov
Copy link

OleKsimov commented Aug 10, 2021

It would be great to see this feature in the nearest future. It takes a long time to disable devservices for each module in a multimodule project for each group of props (vault, datasource, kafka etc). I believe DevServices should be disabled by default :(

@stuartwdouglas
Copy link
Member

I will add this, but TBH I don't really understand why it is an issue as if you have configured the relevant items Dev Services is automatically disabled. Are you adding extensions and then not using them?

@OleKsimov
Copy link

@stuartwdouglas I've just updated Quarkus version from 1.12 and noticed that tests started to work unstably. We are using testcontainers for vault, postgres and kafka (checking kafka topics in test for example), and in a lot of modules fix was just to add devservices.enabled=false to kafka configuration to fix all the problems. Currently, I have no time to investigate this issue in deep, but if you need some more information, I would explain it this way: tests preparation (after "Run Tests" button pressed on submodule) takes a bit more time and after that, I see next logs:
devservices.log

stuartwdouglas added a commit to stuartwdouglas/quarkus that referenced this issue Aug 16, 2021
stuartwdouglas added a commit to stuartwdouglas/quarkus that referenced this issue Aug 16, 2021
@quarkus-bot quarkus-bot bot added this to the 2.2 - main milestone Aug 16, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants