From 50e7622b67441f3e44b84e989a0ad007e5282bd5 Mon Sep 17 00:00:00 2001 From: Ajay Mudgal Date: Thu, 18 Sep 2025 17:03:11 +0100 Subject: [PATCH] Fixing broken test cases for net tester image --- .../build-deploy-test-release-buildspec.yml | 8 ++++---- .../build_cicd_blue_green_deployment_artefact.tf | 4 ++-- .../build_cicd_shared_resources_artefact.tf | 4 ++-- .../build_deploy_test_release.tf | 4 ++-- .../build_tools_image.tf | 4 ++-- .../cicd_blue_green_rollback.tf | 4 ++-- .../delete_blue_green_environment.tf | 4 ++-- .../delete_nonprod_environment_from_tag.tf | 4 ++-- .../delete_nonprod_environment_on_pr_merged.tf | 4 ++-- .../pipeline_stages.tf | 16 ++++++++-------- .../setup_dos_environment.tf | 4 ++-- .../task_env_deploy_and_test.tf | 4 ++-- 12 files changed, 32 insertions(+), 32 deletions(-) diff --git a/infrastructure/stacks/development-and-deployment-tools/batch-buildspecs/build-deploy-test-release-buildspec.yml b/infrastructure/stacks/development-and-deployment-tools/batch-buildspecs/build-deploy-test-release-buildspec.yml index 00d0ac332..9073e3a97 100644 --- a/infrastructure/stacks/development-and-deployment-tools/batch-buildspecs/build-deploy-test-release-buildspec.yml +++ b/infrastructure/stacks/development-and-deployment-tools/batch-buildspecs/build-deploy-test-release-buildspec.yml @@ -107,8 +107,8 @@ batch: - identifier: deploy env: compute-type: BUILD_GENERAL1_SMALL - image: aws/codebuild/amazonlinux2-aarch64-standard:3.0 - type: ARM_CONTAINER + image: aws/codebuild/amazonlinux2-x86_64-standard:5.0 + type: LINUX_CONTAINER privileged-mode: true variables: PROFILE: dev @@ -142,8 +142,8 @@ batch: - identifier: undeploy env: compute-type: BUILD_GENERAL1_SMALL - image: aws/codebuild/amazonlinux2-aarch64-standard:3.0 - type: ARM_CONTAINER + image: aws/codebuild/amazonlinux2-x86_64-standard:5.0 + type: LINUX_CONTAINER privileged-mode: true variables: PROFILE: dev diff --git a/infrastructure/stacks/development-and-deployment-tools/build_cicd_blue_green_deployment_artefact.tf b/infrastructure/stacks/development-and-deployment-tools/build_cicd_blue_green_deployment_artefact.tf index 054b0c7f9..46ad6cfb7 100644 --- a/infrastructure/stacks/development-and-deployment-tools/build_cicd_blue_green_deployment_artefact.tf +++ b/infrastructure/stacks/development-and-deployment-tools/build_cicd_blue_green_deployment_artefact.tf @@ -33,8 +33,8 @@ resource "aws_codebuild_project" "build_cicd_blue_green_artefact" { environment { compute_type = "BUILD_GENERAL1_SMALL" - image = "aws/codebuild/amazonlinux2-aarch64-standard:3.0" - type = "ARM_CONTAINER" + image = "aws/codebuild/amazonlinux2-x86_64-standard:5.0" + type = "LINUX_CONTAINER" image_pull_credentials_type = "CODEBUILD" privileged_mode = true diff --git a/infrastructure/stacks/development-and-deployment-tools/build_cicd_shared_resources_artefact.tf b/infrastructure/stacks/development-and-deployment-tools/build_cicd_shared_resources_artefact.tf index e9c298c51..3ec419d58 100644 --- a/infrastructure/stacks/development-and-deployment-tools/build_cicd_shared_resources_artefact.tf +++ b/infrastructure/stacks/development-and-deployment-tools/build_cicd_shared_resources_artefact.tf @@ -34,8 +34,8 @@ resource "aws_codebuild_project" "build_cicd_shared_resources_artefact" { environment { compute_type = "BUILD_GENERAL1_SMALL" - image = "aws/codebuild/amazonlinux2-aarch64-standard:3.0" - type = "ARM_CONTAINER" + image = "aws/codebuild/amazonlinux2-x86_64-standard:5.0" + type = "LINUX_CONTAINER" image_pull_credentials_type = "CODEBUILD" privileged_mode = true diff --git a/infrastructure/stacks/development-and-deployment-tools/build_deploy_test_release.tf b/infrastructure/stacks/development-and-deployment-tools/build_deploy_test_release.tf index 9af175dee..1c93e0655 100644 --- a/infrastructure/stacks/development-and-deployment-tools/build_deploy_test_release.tf +++ b/infrastructure/stacks/development-and-deployment-tools/build_deploy_test_release.tf @@ -41,8 +41,8 @@ resource "aws_codebuild_project" "build_deploy_test_release" { environment { compute_type = "BUILD_GENERAL1_SMALL" - image = "aws/codebuild/amazonlinux2-aarch64-standard:3.0" - type = "ARM_CONTAINER" + image = "aws/codebuild/amazonlinux2-x86_64-standard:5.0" + type = "LINUX_CONTAINER" image_pull_credentials_type = "CODEBUILD" privileged_mode = true diff --git a/infrastructure/stacks/development-and-deployment-tools/build_tools_image.tf b/infrastructure/stacks/development-and-deployment-tools/build_tools_image.tf index 63fd688d7..a0c255ab4 100644 --- a/infrastructure/stacks/development-and-deployment-tools/build_tools_image.tf +++ b/infrastructure/stacks/development-and-deployment-tools/build_tools_image.tf @@ -45,8 +45,8 @@ resource "aws_codebuild_project" "build_image" { environment { compute_type = "BUILD_GENERAL1_SMALL" - image = "aws/codebuild/amazonlinux2-aarch64-standard:3.0" - type = "ARM_CONTAINER" + image = "aws/codebuild/amazonlinux2-x86_64-standard:5.0" + type = "LINUX_CONTAINER" image_pull_credentials_type = "CODEBUILD" privileged_mode = true diff --git a/infrastructure/stacks/development-and-deployment-tools/cicd_blue_green_rollback.tf b/infrastructure/stacks/development-and-deployment-tools/cicd_blue_green_rollback.tf index 8bc15b2c9..4b5bffadc 100644 --- a/infrastructure/stacks/development-and-deployment-tools/cicd_blue_green_rollback.tf +++ b/infrastructure/stacks/development-and-deployment-tools/cicd_blue_green_rollback.tf @@ -34,8 +34,8 @@ resource "aws_codebuild_project" "blue_green_rollback_stage" { environment { compute_type = "BUILD_GENERAL1_SMALL" - image = "aws/codebuild/amazonlinux2-aarch64-standard:3.0" - type = "ARM_CONTAINER" + image = "aws/codebuild/amazonlinux2-x86_64-standard:5.0" + type = "LINUX_CONTAINER" image_pull_credentials_type = "CODEBUILD" privileged_mode = true diff --git a/infrastructure/stacks/development-and-deployment-tools/delete_blue_green_environment.tf b/infrastructure/stacks/development-and-deployment-tools/delete_blue_green_environment.tf index 4274653fd..d26c72240 100644 --- a/infrastructure/stacks/development-and-deployment-tools/delete_blue_green_environment.tf +++ b/infrastructure/stacks/development-and-deployment-tools/delete_blue_green_environment.tf @@ -11,8 +11,8 @@ resource "aws_codebuild_project" "delete_blue_green_environment" { environment { compute_type = "BUILD_GENERAL1_SMALL" - image = "aws/codebuild/amazonlinux2-aarch64-standard:3.0" - type = "ARM_CONTAINER" + image = "aws/codebuild/amazonlinux2-x86_64-standard:5.0" + type = "LINUX_CONTAINER" image_pull_credentials_type = "CODEBUILD" privileged_mode = true diff --git a/infrastructure/stacks/development-and-deployment-tools/delete_nonprod_environment_from_tag.tf b/infrastructure/stacks/development-and-deployment-tools/delete_nonprod_environment_from_tag.tf index bc7534ca2..02936c0e4 100644 --- a/infrastructure/stacks/development-and-deployment-tools/delete_nonprod_environment_from_tag.tf +++ b/infrastructure/stacks/development-and-deployment-tools/delete_nonprod_environment_from_tag.tf @@ -33,8 +33,8 @@ resource "aws_codebuild_project" "destroy_environment_from_tag" { environment { compute_type = "BUILD_GENERAL1_SMALL" - image = "aws/codebuild/amazonlinux2-aarch64-standard:3.0" - type = "ARM_CONTAINER" + image = "aws/codebuild/amazonlinux2-x86_64-standard:5.0" + type = "LINUX_CONTAINER" image_pull_credentials_type = "CODEBUILD" privileged_mode = true diff --git a/infrastructure/stacks/development-and-deployment-tools/delete_nonprod_environment_on_pr_merged.tf b/infrastructure/stacks/development-and-deployment-tools/delete_nonprod_environment_on_pr_merged.tf index e000641d9..df919470b 100644 --- a/infrastructure/stacks/development-and-deployment-tools/delete_nonprod_environment_on_pr_merged.tf +++ b/infrastructure/stacks/development-and-deployment-tools/delete_nonprod_environment_on_pr_merged.tf @@ -31,8 +31,8 @@ resource "aws_codebuild_project" "destroy_nonprod_environment_on_pr_merged" { environment { compute_type = "BUILD_GENERAL1_SMALL" - image = "aws/codebuild/amazonlinux2-aarch64-standard:3.0" - type = "ARM_CONTAINER" + image = "aws/codebuild/amazonlinux2-x86_64-standard:5.0" + type = "LINUX_CONTAINER" image_pull_credentials_type = "CODEBUILD" privileged_mode = true diff --git a/infrastructure/stacks/development-and-deployment-tools/pipeline_stages.tf b/infrastructure/stacks/development-and-deployment-tools/pipeline_stages.tf index 0847eab29..c375c0fb7 100644 --- a/infrastructure/stacks/development-and-deployment-tools/pipeline_stages.tf +++ b/infrastructure/stacks/development-and-deployment-tools/pipeline_stages.tf @@ -105,8 +105,8 @@ resource "aws_codebuild_project" "full_deploy_stage" { environment { compute_type = "BUILD_GENERAL1_SMALL" - image = "aws/codebuild/amazonlinux2-aarch64-standard:3.0" - type = "ARM_CONTAINER" + image = "aws/codebuild/amazonlinux2-x86_64-standard:5.0" + type = "LINUX_CONTAINER" image_pull_credentials_type = "CODEBUILD" privileged_mode = true @@ -145,8 +145,8 @@ resource "aws_codebuild_project" "deploy_blue_green_environment_stage" { environment { compute_type = "BUILD_GENERAL1_SMALL" - image = "aws/codebuild/amazonlinux2-aarch64-standard:3.0" - type = "ARM_CONTAINER" + image = "aws/codebuild/amazonlinux2-x86_64-standard:5.0" + type = "LINUX_CONTAINER" image_pull_credentials_type = "CODEBUILD" privileged_mode = true @@ -203,8 +203,8 @@ resource "aws_codebuild_project" "deploy_shared_resources_environment_stage" { environment { compute_type = "BUILD_GENERAL1_SMALL" - image = "aws/codebuild/amazonlinux2-aarch64-standard:3.0" - type = "ARM_CONTAINER" + image = "aws/codebuild/amazonlinux2-x86_64-standard:5.0" + type = "LINUX_CONTAINER" image_pull_credentials_type = "CODEBUILD" privileged_mode = true @@ -293,8 +293,8 @@ resource "aws_codebuild_project" "trigger_rollback" { environment { compute_type = "BUILD_GENERAL1_SMALL" - image = "aws/codebuild/amazonlinux2-aarch64-standard:3.0" - type = "ARM_CONTAINER" + image = "aws/codebuild/amazonlinux2-x86_64-standard:5.0" + type = "LINUX_CONTAINER" image_pull_credentials_type = "CODEBUILD" privileged_mode = true diff --git a/infrastructure/stacks/development-and-deployment-tools/setup_dos_environment.tf b/infrastructure/stacks/development-and-deployment-tools/setup_dos_environment.tf index aaeb8a0d8..a62efaa49 100644 --- a/infrastructure/stacks/development-and-deployment-tools/setup_dos_environment.tf +++ b/infrastructure/stacks/development-and-deployment-tools/setup_dos_environment.tf @@ -29,8 +29,8 @@ resource "aws_codebuild_project" "setup_dos_environment" { environment { compute_type = "BUILD_GENERAL1_SMALL" - image = "aws/codebuild/amazonlinux2-aarch64-standard:3.0" - type = "ARM_CONTAINER" + image = "aws/codebuild/amazonlinux2-x86_64-standard:5.0" + type = "LINUX_CONTAINER" image_pull_credentials_type = "CODEBUILD" privileged_mode = true diff --git a/infrastructure/stacks/development-and-deployment-tools/task_env_deploy_and_test.tf b/infrastructure/stacks/development-and-deployment-tools/task_env_deploy_and_test.tf index 808aafb54..0d2c8e5f4 100644 --- a/infrastructure/stacks/development-and-deployment-tools/task_env_deploy_and_test.tf +++ b/infrastructure/stacks/development-and-deployment-tools/task_env_deploy_and_test.tf @@ -42,8 +42,8 @@ resource "aws_codebuild_project" "task_env_deploy_and_test" { environment { compute_type = "BUILD_GENERAL1_SMALL" - image = "aws/codebuild/amazonlinux2-aarch64-standard:3.0" - type = "ARM_CONTAINER" + image = "aws/codebuild/amazonlinux2-x86_64-standard:5.0" + type = "LINUX_CONTAINER" image_pull_credentials_type = "CODEBUILD" privileged_mode = true