Adjust AWS EC2 type in tests depending on CPU arch
This commit is contained in:
parent
769ffc617d
commit
647acfa2f4
1 changed files with 4 additions and 0 deletions
|
|
@ -245,6 +245,10 @@ tee "${TEMPDIR}/resource-file.json" <<EOF
|
|||
}
|
||||
EOF
|
||||
|
||||
if [ "$ARCH" == "aarch64" ]; then
|
||||
sed -i s/t3.medium/a1.large/ "${TEMPDIR}/resource-file.json"
|
||||
fi
|
||||
|
||||
sudo ${CONTAINER_RUNTIME} run \
|
||||
-a stdout -a stderr \
|
||||
-e AWS_ACCESS_KEY_ID="${V2_AWS_ACCESS_KEY_ID}" \
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue