[
https://issues.apache.org/jira/browse/SOLR-15361?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17326933#comment-17326933
]
Chris M. Hostetter commented on SOLR-15361:
-------------------------------------------
Sorry ... it was just something i played with for a few minutes based on the
existing {{plugins.withType(DistributionPlugin)}} logic in {{releasing.gradle}}
-- but it didn't remotely work (i don't even remember if it failed explicitly
on configuration or just didn't do anything) and i assumed i was just just
grossly misunderstanding something and didn't investigate very much.
it was basically just...
{code}
allprojects {
if (plugins.hasPlugin(DistributionPlugin) && plugins.hasPlugin(SigningPlugin))
signing {
useGpgCmd() // so gpg-agent can be used
sign distTar, distZip
}
}
}
{code}
> update gradle build to support gpg signing of tgz/zip distributions
> -------------------------------------------------------------------
>
> Key: SOLR-15361
> URL: https://issues.apache.org/jira/browse/SOLR-15361
> Project: Solr
> Issue Type: Task
> Security Level: Public(Default Security Level. Issues are Public)
> Reporter: Chris M. Hostetter
> Assignee: Chris M. Hostetter
> Priority: Major
> Fix For: main (9.0)
>
> Attachments: SOLR-15361.patch
>
>
> the gradle build does not currently have any support for gpg signing the
> distributions we produce.
> this is neccessary for releases, and for being able to "smoke test" our
> Dockerfiles prior to release (by creating mock download servers to confirm
> {{docker build}} can correctly fetch the {{tgz}} & {{tgz.asc}} files we point
> it at)
--
This message was sent by Atlassian Jira
(v8.3.4#803005)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]