From 4fc2cf4315b96b3e425ab63a288930802a33774f Mon Sep 17 00:00:00 2001 From: Guian Gumpac Date: Thu, 19 Sep 2024 11:07:20 -0700 Subject: [PATCH] Modified starting of Valkey Signed-off-by: Guian Gumpac --- .github/workflows/java-cd.yml | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/.github/workflows/java-cd.yml b/.github/workflows/java-cd.yml index 7f27d83ec7..72b437d681 100644 --- a/.github/workflows/java-cd.yml +++ b/.github/workflows/java-cd.yml @@ -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' }}