File tree Expand file tree Collapse file tree 1 file changed +3
-5
lines changed
Expand file tree Collapse file tree 1 file changed +3
-5
lines changed Original file line number Diff line number Diff line change @@ -481,16 +481,14 @@ jobs:
481481 # fi
482482 - name : Set redis hostname, port and docker network for self-hosted runner
483483 if : env.GH_ACTIONS_SELF_HOSTED_NETWORK_NAME != ''
484+ env :
485+ REDIS_HOSTNAME : redis_${{ github.job }}_${{ inputs.deduplication_id }}_${{ github.run_id }}_${{ github.run_attempt }}
486+ REDIS_PORT : 6379
484487 run : |
485488 {
486- #echo "POSTGRES_HOSTNAME=postgres_${{ github.job }}_${{ inputs.deduplication_id }}_${{ github.run_id }}_${{ github.run_attempt }}"
487- #echo "POSTGRES_PORT=5432"
488489 echo "REDIS_HOSTNAME=redis_${{ github.job }}_${{ inputs.deduplication_id }}_${{ github.run_id }}_${{ github.run_attempt }}"
489490 echo "REDIS_PORT=6379"
490491 } >> "$GITHUB_ENV"
491- source "$GITHUB_ENV"
492- echo "$GITHUB_ENV"
493- #docker network connect ${{ env.GH_ACTIONS_SELF_HOSTED_NETWORK_NAME }} ${{ env.POSTGRES_HOSTNAME }}
494492 docker network connect ${{ env.GH_ACTIONS_SELF_HOSTED_NETWORK_NAME }} ${{ env.REDIS_HOSTNAME }}
495493
496494 - name : Set service connection details to hosted runner
You can’t perform that action at this time.
0 commit comments