-
Notifications
You must be signed in to change notification settings - Fork 219
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Updated maven central gpg refferrences and credentials
- Loading branch information
1 parent
c164cf3
commit 798fed2
Showing
10 changed files
with
221 additions
and
76 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,4 @@ | ||
name: Promote to Prod | ||
run-name: promote-to-prod | ||
|
||
permissions: | ||
# This is required for requesting the OIDC token | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
name: Publish release | ||
|
||
on: | ||
workflow_dispatch: | ||
inputs: | ||
maven_central-release-id: | ||
type: string | ||
required: true | ||
description: Maven central staged release id | ||
|
||
jobs: | ||
publish-release-to-maven-central: | ||
name: Publish release to Maven Centraal | ||
uses: ./.github/workflows/publish.yaml | ||
with: | ||
maven_central-release-id: ${{ inputs.maven_central-release-id }} | ||
secrets: inherit |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,22 @@ | ||
on: | ||
workflow_call: | ||
inputs: | ||
maven_central-release-id: | ||
type: string | ||
description: Build number used to build artifact to be promoted | ||
secrets: | ||
SONATYPE_MAVEN_USER: | ||
required: true | ||
SONATYPE_MAVEN_PASSWORD: | ||
required: true | ||
|
||
jobs: | ||
publish-release: | ||
runs-on: ${{ vars.BUILD_CONTAINER_DISTRO_VERSION }} | ||
steps: | ||
- name: Validate staged build is valid and ready to be published | ||
run: | | ||
TOKEN=$(printf "${{ inputs.publish-user }}:${{ inputs.publish-password }}" | base64) | ||
echo "Request: curl --request POST --silent --header "Authorization: Bearer ${TOKEN}" --form bundle=@${{ steps.create-artifact.outputs.artifact-name }} ${{ inputs.sonatype_domain_name }}api/v1/publisher/deployment/${{ inputs.maven_central-release-id }}" | ||
echo stage-release-id=$(curl --request POST --silent --header "Authorization: Bearer ${TOKEN}" --form bundle=@${{ steps.create-artifact.outputs.artifact-name }} ${{ inputs.sonatype_domain_name }}api/v1/publisher/deployment/${{ inputs.maven_central-release-id }}) >> $GITHUB_OUTPUT |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -21,6 +21,26 @@ | |
<connection>scm:git:[email protected]:aerospike/aerospike-client-java.git</connection> | ||
<url>https://github.com/aerospike/aerospike-client-java</url> | ||
</scm> | ||
<developers> | ||
<developer> | ||
<name>Brian Nichols</name> | ||
<email>[email protected]</email> | ||
<organization>Aerospike</organization> | ||
<organizationUrl>https://aerospike.com/</organizationUrl> | ||
<roles> | ||
<role>developer</role> | ||
</roles> | ||
</developer> | ||
<developer> | ||
<name>Mirza Karacic</name> | ||
<email>[email protected]</email> | ||
<organization>Aerospike</organization> | ||
<organizationUrl>https://aerospike.com/</organizationUrl> | ||
<roles> | ||
<role>developer</role> | ||
</roles> | ||
</developer> | ||
</developers> | ||
<dependencies> | ||
<dependency> | ||
<groupId>org.bouncycastle</groupId> | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -21,6 +21,26 @@ | |
<connection>scm:git:[email protected]:aerospike/aerospike-client-java.git</connection> | ||
<url>https://github.com/aerospike/aerospike-client-java</url> | ||
</scm> | ||
<developers> | ||
<developer> | ||
<name>Brian Nichols</name> | ||
<email>[email protected]</email> | ||
<organization>Aerospike</organization> | ||
<organizationUrl>https://aerospike.com/</organizationUrl> | ||
<roles> | ||
<role>developer</role> | ||
</roles> | ||
</developer> | ||
<developer> | ||
<name>Mirza Karacic</name> | ||
<email>[email protected]</email> | ||
<organization>Aerospike</organization> | ||
<organizationUrl>https://aerospike.com/</organizationUrl> | ||
<roles> | ||
<role>developer</role> | ||
</roles> | ||
</developer> | ||
</developers> | ||
<dependencies> | ||
<dependency> | ||
<groupId>org.gnu</groupId> | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.