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

Add signing config #85

Merged
merged 3 commits into from
Oct 9, 2023
Merged

Add signing config #85

merged 3 commits into from
Oct 9, 2023

Conversation

mfussenegger
Copy link
Member

The closeSonatypeStagingRepository release task fails otherwise.
The nexus/oss.sonatype.org web ui shows errors like these:

failureMessage	Missing Signature: '/io/crate/crate-testing/0.11.0/crate-testing-0.11.0.pom.asc' does not exist for 'crate-testing-0.11.0.pom'.

@@ -128,6 +128,6 @@ nexusPublishing {
}

signing {
required { gradle.taskGraph.hasTask("publish") }
sign publishing.publications.mavenJava
useGpgCmd()
Copy link
Member Author

Choose a reason for hiding this comment

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

Ran into gradle/gradle#15718 using the crate-jdbc config:

    def signingKey = findProperty("signingKey")
    def signingPassword = findProperty("signingPassword")
    useInMemoryPgpKeys(signingKey, signingPassword)

Copy link
Member

Choose a reason for hiding this comment

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

Still wonder why useInMemoryPgpKeys doesn't work...

The `closeSonatypeStagingRepository` release task fails otherwise.
The nexus/oss.sonatype.org web ui shows errors like these:

    failureMessage	Missing Signature: '/io/crate/crate-testing/0.11.0/crate-testing-0.11.0.pom.asc' does not exist for 'crate-testing-0.11.0.pom'.
For a re-release. Looks like the 0.11.0 is now broken on sonatype
@mfussenegger mfussenegger merged commit d1d7b8e into master Oct 9, 2023
1 check passed
@mfussenegger mfussenegger deleted the signing branch October 9, 2023 09:04
seut added a commit that referenced this pull request Jun 28, 2024
Follow up of #85.

This setup was successfully tested on a jenkins slave with the
required environment variables set.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants