-
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 2057855
Showing
12 changed files
with
123 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 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,40 +13,72 @@ 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 | ||
artifact-id: | ||
description: "" | ||
required: true | ||
|
||
runs: | ||
using: "composite" | ||
steps: | ||
- name: Set up JFrog credentials | ||
id: setup-jfrog-cli | ||
uses: jfrog/setup-jfrog-cli@v4 | ||
env: | ||
JF_URL: ${{ inputs.jfrog-platform-url }} | ||
with: | ||
version: 2.72.2 | ||
oidc-provider-name: ${{ inputs.oidc-provider }} | ||
oidc-audience: ${{ inputs.oidc-audience }} | ||
|
||
- name: Set crypto dependency | ||
- 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: Configure jf cli | ||
shell: bash | ||
run: | | ||
./set_crypto ${{ inputs.crypto-type }} | ||
jf mvn-config \ | ||
--repo-deploy-releases=${{ inputs.jfrog-releases-repo-name }} \ | ||
--repo-deploy-snapshots=${{ inputs.jfrog-snapshots-repo-name }} \ | ||
--exclude-patterns="*client${{ inputs.crypto-type != 'bouncycastle' && '-bc' || '' }}-jdk21*" | ||
- name: Deploy release | ||
- name: Debug | ||
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 rt bp | ||
ls -la target | ||
- name: Deploy client release | ||
shell: bash | ||
working-directory: client | ||
run: | | ||
jf mvn source:jar javadoc:jar install | ||
- name: Debug | ||
shell: bash | ||
working-directory: client | ||
run: | | ||
ls -la target | ||
- name: Publish build info | ||
shell: bash | ||
run: | | ||
# Collect environment variables for the build | ||
jf rt bce | ||
# Collect VCS details from git and add them to the build | ||
jf rt bag | ||
# Publish build info | ||
jf rt bp clients-java-push-to-dev ${{ github.run_number }} |
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
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