Skip to content

Commit 4192fc3

Browse files
authored
chore(ci): fix interop tests region, and run them again on each PR (#5666)
1 parent a9b6799 commit 4192fc3

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

.github/workflows/interop-test.yml

+1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
name: Interoperability Testing
22
on:
3+
pull_request:
34
push:
45
branches:
56
- "master"

scripts/build-interop-image.sh

+2-2
Original file line numberDiff line numberDiff line change
@@ -6,13 +6,13 @@ CACHE_TO=""
66

77
# If we have credentials, write to cache
88
if [[ -n "${AWS_SECRET_ACCESS_KEY}" ]]; then
9-
CACHE_TO="--cache-to type=s3,mode=max,bucket=${AWS_BUCKET_NAME},region=us-east-1,prefix=buildCache,name=${FLAVOUR}-rust-libp2p-head"
9+
CACHE_TO="--cache-to type=s3,mode=max,bucket=${AWS_BUCKET_NAME},region=ap-southeast-2,prefix=buildCache,name=${FLAVOUR}-rust-libp2p-head"
1010
fi
1111

1212
docker buildx build \
1313
--load \
1414
$CACHE_TO \
15-
--cache-from type=s3,mode=max,bucket=${AWS_BUCKET_NAME},region=us-east-1,prefix=buildCache,name=${FLAVOUR}-rust-libp2p-head \
15+
--cache-from type=s3,mode=max,bucket=${AWS_BUCKET_NAME},region=ap-southeast-2,prefix=buildCache,name=${FLAVOUR}-rust-libp2p-head \
1616
-t ${FLAVOUR}-rust-libp2p-head \
1717
. \
1818
-f interop-tests/Dockerfile.${FLAVOUR}

0 commit comments

Comments
 (0)