Skip to content

Conversation

@fax4ever
Copy link
Contributor

https://hibernate.atlassian.net/browse/HSEARCH-4415

This change should be limited to where a new deploy/release is performed.

To test the deploy run the maven command:

mvn clean deploy -X -DskipTests -DperformRelease=true

There are a series of pre requirements:

  1. The Maven settings.xml file must contain the nexus coordinates and the GPG passphrase:
<servers>
  <server>
    <id>ossrh</id>
    <username>ossrh-username</username>
    <password>ossrh-password</password>
  </server>
  <server>
    <id>gpg.passphrase</id>
    <passphrase>fax</passphrase>
  </server>
</servers>
  1. The private key must be imported into the local machine GPG process
gpg --batch --import $gpg_secret

To make the worker node we could consider the idea of this blog.

@fax4ever
Copy link
Contributor Author

Running in on my local machine:
image

@yrodiere
Copy link
Member

It turns out you cannot add the gpg passphrase to the settings.xml using Jenkins credentials (https://issues.jenkins.io/browse/JENKINS-40703) ; I'll find another way and push additional commits.

@yrodiere
Copy link
Member

I pushed a commit to enable artifact signing in the Jenkinsfile. It requires hibernate/hibernate-noorm-release-scripts#9, which hasn't been merged yet.

Now I need to think about how I'll test all this. Please don't merge just yet.

@fax4ever
Copy link
Contributor Author

I added a comment here: hibernate/hibernate-noorm-release-scripts#9

@yrodiere yrodiere marked this pull request as draft January 20, 2022 17:37
@sonarqubecloud
Copy link

Kudos, SonarCloud Quality Gate passed!    Quality Gate passed

Bug A 0 Bugs
Vulnerability A 0 Vulnerabilities
Security Hotspot A 0 Security Hotspots
Code Smell A 0 Code Smells

No Coverage information No Coverage information
No Duplication information No Duplication information

@yrodiere yrodiere marked this pull request as ready for review January 24, 2022 14:30
@yrodiere yrodiere merged commit 34850c1 into hibernate:main Jan 24, 2022
@yrodiere
Copy link
Member

Merged with a few additional commits, thanks.

@fax4ever fax4ever deleted the HSEARCH-4415 branch January 25, 2022 10:56
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