Skip to content

Commit

Permalink
Modified starting of Valkey
Browse files Browse the repository at this point in the history
Signed-off-by: Guian Gumpac <[email protected]>
  • Loading branch information
GumpacG committed Sep 19, 2024
1 parent a877b66 commit 4fc2cf4
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion .github/workflows/java-cd.yml
Original file line number Diff line number Diff line change
Expand Up @@ -253,15 +253,18 @@ jobs:
id: port
run:
PORT=$(python3 ./cluster_manager.py start -r 0 | tail -1 | sed 's/.*://')
echo $PORT
echo "PORT=$PORT" >> $GITHUB_OUTPUT

- name: Test deployment
working-directory: java
env:
PORT: ${{ steps.port.outputs.PORT }}
run: |
export ORG_GRADLE_PROJECT_centralManualTestingAuthHeaderName="Authorization"
export ORG_GRADLE_PROJECT_centralManualTestingAuthHeaderValue="Bearer $(echo "${{ secrets.CENTRAL_TOKEN_USERNAME }}:${{ secrets.CENTRAL_TOKEN_PASSWORD }}" | base64)"
export GLIDE_RELEASE_VERSION=${{ env.RELEASE_VERSION }}
./gradlew :benchmarks:run --args="--minimal --clients glide --port ${{ steps.port.outputs.PORT }}"
./gradlew :benchmarks:run --args="--minimal --clients glide --port ${{ env.PORT }}"
#
# publish-release-to-maven:
# if: ${{ inputs.maven_publish == true || github.event_name == 'push' }}
Expand Down

0 comments on commit 4fc2cf4

Please sign in to comment.