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

Make sure --no-daemon does indeed get used when quarkus-platform-descriptor-json module is built #10508

Merged
merged 1 commit into from
Jul 7, 2020

Conversation

jaikiran
Copy link
Member

@jaikiran jaikiran commented Jul 7, 2020

#10468 introduced the --no-daemon flag to help with #10454. But for reasons noted here #10454 (comment), that flag is effectively a no-op in its current state (as shown here #10454 (comment)).

The commit in this PR increases the default max heap size to something higher than 64m to make sure the --no-daemon option does get honoured.
I have tested this change locally and I can confirm that with this change the Gradle daemon process isn't launched or used. Whether or not this is the cause of the hang will be known once this gets tested by @galderz. But keeping the hang aside, if we do want --no-daemon (which I think is the right thing) then we need to use this non-default Xmx value too.

…e use of --no-daemon option when launching gradlew to download the gradle wrapper
@boring-cyborg boring-cyborg bot added the area/devtools Issues/PR related to maven, gradle, platform and cli tooling/plugins label Jul 7, 2020
@jaikiran jaikiran requested a review from glefloch July 7, 2020 03:30
@galderz
Copy link
Member

galderz commented Jul 7, 2020

@jaikiran I'll try the branch today

@galderz
Copy link
Member

galderz commented Jul 7, 2020

@jaikiran Thx btw!!!

Copy link
Member

@glefloch glefloch left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Maybe we should use GRADLE_OPTS environment variable.
Regarding the value, I don't how resources work on github actions. Maybe @geoand could validate that part?

@geoand
Copy link
Contributor

geoand commented Jul 7, 2020

We should be fine with that value. If there were a problem, it would show up quickly in the CI runs :)

@galderz
Copy link
Member

galderz commented Jul 7, 2020

@jaikiran That worked :)

@geoand geoand merged commit 754eced into quarkusio:master Jul 7, 2020
@jaikiran
Copy link
Member Author

jaikiran commented Jul 7, 2020

Glad to hear it worked. @galderz, thank you for testing :)

@jaikiran jaikiran deleted the qk-10454 branch July 7, 2020 10:10
@jaikiran jaikiran added this to the 1.7.0 - master milestone Jul 7, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area/devtools Issues/PR related to maven, gradle, platform and cli tooling/plugins
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants