You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@lucene.apache.org by "Jan Høydahl (Jira)" <ji...@apache.org> on 2021/10/19 08:24:00 UTC

[jira] [Comment Edited] (LUCENE-10174) Update buildAndPushRelease.py for new gradle build

    [ https://issues.apache.org/jira/browse/LUCENE-10174?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17430393#comment-17430393 ] 

Jan Høydahl edited comment on LUCENE-10174 at 10/19/21, 8:23 AM:
-----------------------------------------------------------------

When we skip "clean" step, the task does not need to re-compile, only to assemble the tar/zip and sign. I tested locally and {{--max-workers 8}} (my default) results in OOM, but {{\--max-workers 4}} works fine. So I'll settle on {{\--max-workers 2}} which on my laptop takes less than a minute, which should be acceptable for a release. The imporant thing to parallellize is the tests.


was (Author: janhoy):
When we skip "clean" step, the task does not need to re-compile, only to assemble the tar/zip and sign. I tested locally and {{--max-workers 8}} (my default) results in OOM, but {{--max-workers 4}} works fine. So I'll settle on {{--max-workers 2}} which on my laptop takes less than a minute, which should be acceptable for a release. The imporant thing to parallellize is the tests.

> Update buildAndPushRelease.py for new gradle build
> --------------------------------------------------
>
>                 Key: LUCENE-10174
>                 URL: https://issues.apache.org/jira/browse/LUCENE-10174
>             Project: Lucene - Core
>          Issue Type: Sub-task
>            Reporter: Jan Høydahl
>            Assignee: Jan Høydahl
>            Priority: Major
>             Fix For: main (9.0)
>
>          Time Spent: 40m
>  Remaining Estimate: 0h
>
> With LUCENE-9488 and LUCENE-10173 the gradle build was polished to properly build source and binary artifacts, and sign those using either gpg tool or a built-in java-based signing plugin. See [https://github.com/apache/lucene/blob/main/help/publishing.txt]
> This jira will update {{buildAndPushRelease.py}} script to use the correct build parameters. It will also add cmdline args to choose between gpg and built-in (gpg default), and to supply the location of {{gpgHome}} if you do not use gpg. We'll also add an option to NOT prompt for passphrase in the python script, which will fallback to defaults (gpg-agent, env.vars or gradle.properties).



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@lucene.apache.org
For additional commands, e-mail: issues-help@lucene.apache.org