-
Notifications
You must be signed in to change notification settings - Fork 215
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
1a9f6b4
commit 1b801c0
Showing
10 changed files
with
107 additions
and
69 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 was deleted.
Oops, something went wrong.
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 |
---|---|---|
|
@@ -13,19 +13,20 @@ inputs: | |
jfrog-platform-url: | ||
description: "" | ||
required: false | ||
default: https://aerospike.jfrog.io/ | ||
default: https://aerospike.jfrog.io | ||
oidc-provider: | ||
description: "" | ||
required: false | ||
default: gh-aerospike-clients | ||
required: true | ||
oidc-audience: | ||
description: "" | ||
required: false | ||
default: aerospike/clients | ||
required: true | ||
crypto-type: | ||
description: "" | ||
required: false | ||
default: gnu | ||
artifact-name: | ||
description: "" | ||
required: true | ||
|
||
runs: | ||
using: "composite" | ||
|
@@ -38,15 +39,44 @@ runs: | |
oidc-provider-name: ${{ inputs.oidc-provider }} | ||
oidc-audience: ${{ inputs.oidc-audience }} | ||
|
||
- name: Debug | ||
shell: bash | ||
run: | | ||
echo "${{ inputs.crypto-type }}" && \ | ||
ls -la | ||
- name: Set crypto dependency | ||
shell: bash | ||
run: | | ||
./set_crypto ${{ inputs.crypto-type }} | ||
- name: Deploy release | ||
- name: Debug | ||
shell: bash | ||
run: | | ||
echo "${{ inputs.crypto-type }}" && \ | ||
ls -la | ||
- uses: s4u/[email protected] | ||
with: | ||
servers: | | ||
[{ | ||
"id": "jfrog", | ||
"username": "${{ steps.setup-jfrog-cli.outputs.oidc-user }}", | ||
"password": "${{ steps.setup-jfrog-cli.outputs.oidc-token }}" | ||
}] | ||
- name: Deploy client release | ||
shell: bash | ||
working-directory: client | ||
run: | | ||
jf mvn-config --repo-deploy-releases=${{ inputs.jfrog-releases-repo-name }} --repo-deploy-snapshots=${{ inputs.jfrog-snapshots-repo-name }} | ||
jf mvn source:jar javadoc:jar deploy -Dusername=${{ steps.setup-jfrog-cli.outputs.oidc-user }} ${{ steps.setup-jfrog-cli.outputs.oidc-token }} | ||
jf mvn-config --repo-deploy-releases=${{ inputs.jfrog-releases-repo-name }} --repo-deploy-snapshots=${{ inputs.jfrog-snapshots-repo-name }} && \ | ||
jf mvn source:jar javadoc:jar deploy:deploy-file -DpomFile=src/resources/${{ inputs.crypto-type }}_pom.xml \ | ||
-Dfile=target/${{ inputs.artifact-name }}.jar \ | ||
-Dfiles=target/${{ inputs.artifact-name }}-jar-with-dependencies.jar,target/${{ inputs.artifact-name }}-javadoc.jar,target/${{ inputs.artifact-name }}-sources.jar \ | ||
-Dclassifiers=jar-with-dependencies,javadoc,sources \ | ||
-Dtypes=jar,jar,jar \ | ||
-DrepositoryId=jfrog \ | ||
-Durl=${{ inputs.jfrog-platform-url }}/artifactory/${{ inputs.jfrog-releases-repo-name }} && \ | ||
jf rt bce && \ | ||
jf rt bag && \ | ||
jf rt bp |
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
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
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
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