diff --git a/README.md b/README.md index 084c40bc3..330f7af0a 100644 --- a/README.md +++ b/README.md @@ -192,7 +192,7 @@ To run ruff on you branch: List all the type of test suites included and provide instructions how to execute them -- Unit +- Unit Testing - Integration - Performance 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 79019f418..00d0ac332 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-x86_64-standard:5.0 - type: LINUX_CONTAINER + image: aws/codebuild/amazonlinux2-aarch64-standard:3.0 + type: ARM_CONTAINER privileged-mode: true variables: PROFILE: dev @@ -128,8 +128,8 @@ batch: - identifier: integration_test env: compute-type: BUILD_GENERAL1_LARGE - image: aws/codebuild/amazonlinux2-x86_64-standard:5.0 - type: LINUX_CONTAINER + image: aws/codebuild/amazonlinux2-aarch64-standard:3.0 + type: ARM_CONTAINER privileged-mode: true variables: PROFILE: dev @@ -142,8 +142,8 @@ batch: - identifier: undeploy env: compute-type: BUILD_GENERAL1_SMALL - image: aws/codebuild/amazonlinux2-x86_64-standard:5.0 - type: LINUX_CONTAINER + image: aws/codebuild/amazonlinux2-aarch64-standard:3.0 + type: ARM_CONTAINER privileged-mode: true variables: PROFILE: dev diff --git a/infrastructure/stacks/development-and-deployment-tools/batch-buildspecs/task-env-deploy-and-test-buildspec.yml b/infrastructure/stacks/development-and-deployment-tools/batch-buildspecs/task-env-deploy-and-test-buildspec.yml index f6cfc4a08..4991ee13e 100644 --- a/infrastructure/stacks/development-and-deployment-tools/batch-buildspecs/task-env-deploy-and-test-buildspec.yml +++ b/infrastructure/stacks/development-and-deployment-tools/batch-buildspecs/task-env-deploy-and-test-buildspec.yml @@ -139,8 +139,8 @@ batch: - identifier: integration_test_reporting env: compute-type: BUILD_GENERAL1_LARGE - image: aws/codebuild/amazonlinux2-x86_64-standard:5.0 - type: LINUX_CONTAINER + image: aws/codebuild/amazonlinux2-aarch64-standard:3.0 + type: ARM_CONTAINER privileged-mode: true variables: PROFILE: dev @@ -153,8 +153,8 @@ batch: - identifier: integration_test_validation env: compute-type: BUILD_GENERAL1_LARGE - image: aws/codebuild/amazonlinux2-x86_64-standard:5.0 - type: LINUX_CONTAINER + image: aws/codebuild/amazonlinux2-aarch64-standard:3.0 + type: ARM_CONTAINER privileged-mode: true variables: PROFILE: dev @@ -167,8 +167,8 @@ batch: - identifier: integration_test_opening_times env: compute-type: BUILD_GENERAL1_LARGE - image: aws/codebuild/amazonlinux2-x86_64-standard:5.0 - type: LINUX_CONTAINER + image: aws/codebuild/amazonlinux2-aarch64-standard:3.0 + type: ARM_CONTAINER privileged-mode: true variables: PROFILE: dev @@ -181,8 +181,8 @@ batch: - identifier: integration_test_general env: compute-type: BUILD_GENERAL1_LARGE - image: aws/codebuild/amazonlinux2-x86_64-standard:5.0 - type: LINUX_CONTAINER + image: aws/codebuild/amazonlinux2-aarch64-standard:3.0 + type: ARM_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 46ad6cfb7..054b0c7f9 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-x86_64-standard:5.0" - type = "LINUX_CONTAINER" + image = "aws/codebuild/amazonlinux2-aarch64-standard:3.0" + type = "ARM_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 3ec419d58..e9c298c51 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-x86_64-standard:5.0" - type = "LINUX_CONTAINER" + image = "aws/codebuild/amazonlinux2-aarch64-standard:3.0" + type = "ARM_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 1c93e0655..9af175dee 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-x86_64-standard:5.0" - type = "LINUX_CONTAINER" + image = "aws/codebuild/amazonlinux2-aarch64-standard:3.0" + type = "ARM_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 a0c255ab4..63fd688d7 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-x86_64-standard:5.0" - type = "LINUX_CONTAINER" + image = "aws/codebuild/amazonlinux2-aarch64-standard:3.0" + type = "ARM_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 4b5bffadc..8bc15b2c9 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-x86_64-standard:5.0" - type = "LINUX_CONTAINER" + image = "aws/codebuild/amazonlinux2-aarch64-standard:3.0" + type = "ARM_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 d26c72240..4274653fd 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-x86_64-standard:5.0" - type = "LINUX_CONTAINER" + image = "aws/codebuild/amazonlinux2-aarch64-standard:3.0" + type = "ARM_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 02936c0e4..bc7534ca2 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-x86_64-standard:5.0" - type = "LINUX_CONTAINER" + image = "aws/codebuild/amazonlinux2-aarch64-standard:3.0" + type = "ARM_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 df919470b..e000641d9 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-x86_64-standard:5.0" - type = "LINUX_CONTAINER" + image = "aws/codebuild/amazonlinux2-aarch64-standard:3.0" + type = "ARM_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 738472ddd..0847eab29 100644 --- a/infrastructure/stacks/development-and-deployment-tools/pipeline_stages.tf +++ b/infrastructure/stacks/development-and-deployment-tools/pipeline_stages.tf @@ -16,8 +16,8 @@ resource "aws_codebuild_project" "unit_tests_stage" { environment { compute_type = "BUILD_GENERAL1_SMALL" - image = "aws/codebuild/amazonlinux2-x86_64-standard:5.0" - type = "LINUX_CONTAINER" + image = "aws/codebuild/amazonlinux2-aarch64-standard:3.0" + type = "ARM_CONTAINER" image_pull_credentials_type = "CODEBUILD" privileged_mode = true @@ -105,8 +105,8 @@ resource "aws_codebuild_project" "full_deploy_stage" { environment { compute_type = "BUILD_GENERAL1_SMALL" - image = "aws/codebuild/amazonlinux2-x86_64-standard:5.0" - type = "LINUX_CONTAINER" + image = "aws/codebuild/amazonlinux2-aarch64-standard:3.0" + type = "ARM_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-x86_64-standard:5.0" - type = "LINUX_CONTAINER" + image = "aws/codebuild/amazonlinux2-aarch64-standard:3.0" + type = "ARM_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-x86_64-standard:5.0" - type = "LINUX_CONTAINER" + image = "aws/codebuild/amazonlinux2-aarch64-standard:3.0" + type = "ARM_CONTAINER" image_pull_credentials_type = "CODEBUILD" privileged_mode = true @@ -249,8 +249,8 @@ resource "aws_codebuild_project" "integration_tests" { environment { compute_type = "BUILD_GENERAL1_LARGE" - image = "aws/codebuild/amazonlinux2-x86_64-standard:5.0" - type = "LINUX_CONTAINER" + image = "aws/codebuild/amazonlinux2-aarch64-standard:3.0" + type = "ARM_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-x86_64-standard:5.0" - type = "LINUX_CONTAINER" + image = "aws/codebuild/amazonlinux2-aarch64-standard:3.0" + type = "ARM_CONTAINER" image_pull_credentials_type = "CODEBUILD" privileged_mode = true @@ -350,8 +350,8 @@ resource "aws_codebuild_project" "production_smoke_test" { environment { compute_type = "BUILD_GENERAL1_SMALL" - image = "aws/codebuild/amazonlinux2-x86_64-standard:5.0" - type = "LINUX_CONTAINER" + image = "aws/codebuild/amazonlinux2-aarch64-standard:3.0" + type = "ARM_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 a62efaa49..aaeb8a0d8 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-x86_64-standard:5.0" - type = "LINUX_CONTAINER" + image = "aws/codebuild/amazonlinux2-aarch64-standard:3.0" + type = "ARM_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 0d2c8e5f4..808aafb54 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-x86_64-standard:5.0" - type = "LINUX_CONTAINER" + image = "aws/codebuild/amazonlinux2-aarch64-standard:3.0" + type = "ARM_CONTAINER" image_pull_credentials_type = "CODEBUILD" privileged_mode = true