Skip to content

Commit 33617c1

Browse files
committed
test 54
1 parent 3505938 commit 33617c1

File tree

1 file changed

+3
-5
lines changed

1 file changed

+3
-5
lines changed

.github/workflows/build-node-python.yml

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff 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

0 commit comments

Comments
 (0)