Skip to content

Commit 360ae38

Browse files
Merge pull request #142 from IABTechLab/cbc-UID2-4761-setup-bore
Updating to use private bore server
2 parents 14f6a27 + 69382e0 commit 360ae38

File tree

2 files changed

+6
-3
lines changed

2 files changed

+6
-3
lines changed

.github/workflows/shared-run-e2e-tests.yaml

+3
Original file line numberDiff line numberDiff line change
@@ -170,6 +170,9 @@ jobs:
170170
- name: Bring up bore
171171
id: bore
172172
if: ${{ inputs.operator_type == 'gcp' || inputs.operator_type == 'azure' || inputs.operator_type == 'aws' || inputs.operator_type == 'eks'}}
173+
env:
174+
BORE_URL: ${{ secrets.BORE_URL }}
175+
BORE_SECRET: ${{ secrets.BORE_SECRET }}
173176
run: |
174177
bash uid2-shared-actions/scripts/setup_bore.sh
175178

scripts/setup_bore.sh

+3-3
Original file line numberDiff line numberDiff line change
@@ -3,9 +3,9 @@ set -ex
33

44
ROOT="."
55

6-
docker run --init --rm --network e2e_default ekzhang/bore local --local-host localstack --to bore.pub 5001 > ${ROOT}/bore_localstack.out &
7-
docker run --init --rm --network e2e_default ekzhang/bore local --local-host core --to bore.pub 8088 > ${ROOT}/bore_core.out &
8-
docker run --init --rm --network e2e_default ekzhang/bore local --local-host optout --to bore.pub 8081 > ${ROOT}/bore_optout.out &
6+
docker run --init --rm --network e2e_default ekzhang/bore local --local-host localstack --to ${BORE_URL} --secret ${BORE_SECRET} 5001 > ${ROOT}/bore_localstack.out &
7+
docker run --init --rm --network e2e_default ekzhang/bore local --local-host core --to ${BORE_URL} --secret ${BORE_SECRET} 8088 > ${ROOT}/bore_core.out &
8+
docker run --init --rm --network e2e_default ekzhang/bore local --local-host optout --to ${BORE_URL} --secret ${BORE_SECRET} 8081 > ${ROOT}/bore_optout.out &
99

1010
until [ -f ${ROOT}/bore_localstack.out ] && [ -f ${ROOT}/bore_core.out ] && [ -f ${ROOT}/bore_optout.out ]
1111
do

0 commit comments

Comments
 (0)