Skip to content

Commit

Permalink
Update base ec2 test host for graviton 3 to latest, improve naming co…
Browse files Browse the repository at this point in the history
…nvention for hosts, and add logging
  • Loading branch information
andrewhop committed Jan 11, 2024
1 parent c2b14df commit b489eb3
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion tests/ci/cdk/cdk/codebuild/ec2_test_framework_omnibus.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,6 @@ batch:
compute-type: BUILD_GENERAL1_LARGE
image: 620771051181.dkr.ecr.us-west-2.amazonaws.com/aws-lc-docker-images-linux-x86:ubuntu-20.04_clang-7x-bm-framework_latest
variables:
EC2_AMI: "ami-0c79a55dda52434da"
EC2_AMI: "ami-0a24e6e101933d294"
EC2_INSTANCE_TYPE: "c7g.2xlarge"
ECR_DOCKER_TAG: "amazonlinux-2023_clang-15x_sanitizer"
1 change: 1 addition & 0 deletions tests/ci/cdk/cdk/ssm/general_test_run_ssm_document.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -41,3 +41,4 @@ mainSteps:
- $exec_docker ./tests/ci/run_posix_sanitizers.sh
- chmod +x ./tests/ci/run_fips_tests.sh
- $exec_docker ./tests/ci/run_fips_tests.sh
- echo All ec2 test framework tests passed
2 changes: 1 addition & 1 deletion tests/ci/run_ec2_test_framework.sh
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ create_ec2_instances() {
instance_id="$(aws ec2 run-instances --image-id "$1" --count 1 \
--instance-type "$2" --security-group-ids "${sg_id}" --subnet-id "${subnet_id}" \
--block-device-mappings 'DeviceName="/dev/sda1",Ebs={DeleteOnTermination=True,VolumeSize=200}' \
--tag-specifications 'ResourceType="instance",Tags=[{Key="aws-lc",Value="aws-lc-ci-ec2-test-framework-ec2-x86-instance"}]' \
--tag-specifications 'ResourceType="instance",Tags=[{Key="name",Value="ec2-test-'"$CODEBUILD_WEBHOOK_TRIGGER"'"}]' \
--iam-instance-profile Name=aws-lc-ci-ec2-test-framework-ec2-profile \
--placement 'AvailabilityZone=us-west-2a' \
--instance-initiated-shutdown-behavior terminate \
Expand Down

0 comments on commit b489eb3

Please sign in to comment.