diff --git a/codebuild_specs/aggregate_e2e_reports.yml b/codebuild_specs/aggregate_e2e_reports.yml index 9a57beb2644..e0e1e428477 100644 --- a/codebuild_specs/aggregate_e2e_reports.yml +++ b/codebuild_specs/aggregate_e2e_reports.yml @@ -4,7 +4,11 @@ env: phases: build: commands: - - source ./shared-scripts.sh && _waitForJobs $CODEBUILD_SOURCE_VERSION $WAIT_FOR_IDS + - cd ./scripts + - npm install -g ts-node + - npm install aws-sdk + - ts-node ./wait-for-all-codebuild.ts $CODEBUILD_RESOLVED_SOURCE_VERSION ../$WAIT_FOR_IDS_FILE_PATH AmplifyCLI-E2E-Testing + - cd .. - source ./shared-scripts.sh && _downloadReportsFromS3 $CODEBUILD_SOURCE_VERSION reports: e2e-reports: diff --git a/codebuild_specs/e2e_workflow_generated.yml b/codebuild_specs/e2e_workflow_generated.yml index c23a9343bda..ef6863006fb 100644 --- a/codebuild_specs/e2e_workflow_generated.yml +++ b/codebuild_specs/e2e_workflow_generated.yml @@ -100,7 +100,7 @@ batch: variables: TEST_SUITE: >- src/__tests__/datastore-modelgen.test.ts|src/__tests__/amplify-app.test.ts|src/__tests__/diagnose.test.ts|src/__tests__/hooks-a.test.ts - CLI_REGION: us-east-2 + CLI_REGION: ap-southeast-2 depend-on: - upload_pkg_binaries - identifier: >- @@ -111,7 +111,7 @@ batch: variables: TEST_SUITE: >- src/__tests__/mock-api.test.ts|src/__tests__/analytics-kinesis.test.ts|src/__tests__/analytics-pinpoint-flutter.test.ts|src/__tests__/analytics-pinpoint-js.test.ts - CLI_REGION: us-east-2 + CLI_REGION: us-east-1 depend-on: - upload_pkg_binaries - identifier: l_auth_2a_auth_2b_auth_2d_auth_2f @@ -132,7 +132,7 @@ batch: variables: TEST_SUITE: >- src/__tests__/notifications-lifecycle.test.ts|src/__tests__/uibuilder.test.ts|src/__tests__/notifications-analytics-compatibility-in-app-1.test.ts|src/__tests__/notifications-analytics-compatibility-sms-2.test.ts - CLI_REGION: us-east-2 + CLI_REGION: eu-central-1 depend-on: - upload_pkg_binaries - identifier: >- @@ -143,7 +143,7 @@ batch: variables: TEST_SUITE: >- src/__tests__/analytics-2.test.ts|src/__tests__/global_sandbox-c.test.ts|src/__tests__/hooks-b.test.ts|src/__tests__/notifications-analytics-compatibility-sms-1.test.ts - CLI_REGION: us-east-2 + CLI_REGION: ap-southeast-2 depend-on: - upload_pkg_binaries - identifier: >- @@ -154,7 +154,7 @@ batch: variables: TEST_SUITE: >- src/__tests__/plugin.test.ts|src/__tests__/studio-modelgen.test.ts|src/__tests__/graphql-v2/custom-transformers.test.ts|src/__tests__/notifications-in-app-messaging-env-1.test.ts - CLI_REGION: us-east-2 + CLI_REGION: us-east-1 depend-on: - upload_pkg_binaries - identifier: l_notifications_sms_pull_pull_auth_10_container_hosting @@ -164,7 +164,7 @@ batch: variables: TEST_SUITE: >- src/__tests__/notifications-sms-pull.test.ts|src/__tests__/pull.test.ts|src/__tests__/auth_10.test.ts|src/__tests__/container-hosting.test.ts - CLI_REGION: eu-west-2 + CLI_REGION: us-east-1 depend-on: - upload_pkg_binaries - identifier: >- @@ -175,7 +175,7 @@ batch: variables: TEST_SUITE: >- src/__tests__/init_b.test.ts|src/__tests__/notifications-apns.test.ts|src/__tests__/notifications-fcm.test.ts|src/__tests__/notifications-in-app-messaging-env-2.test.ts - CLI_REGION: ap-southeast-1 + CLI_REGION: us-east-2 depend-on: - upload_pkg_binaries - identifier: l_with_babel_config_amplify_configure_env_2_init_d @@ -185,7 +185,7 @@ batch: variables: TEST_SUITE: >- src/__tests__/with-babel-config.test.ts|src/__tests__/amplify-configure.test.ts|src/__tests__/env-2.test.ts|src/__tests__/init_d.test.ts - CLI_REGION: us-west-2 + CLI_REGION: ap-southeast-1 depend-on: - upload_pkg_binaries - identifier: l_init_f_auth_5d_configure_project_git_clone_attach @@ -195,7 +195,7 @@ batch: variables: TEST_SUITE: >- src/__tests__/init_f.test.ts|src/__tests__/auth_5d.test.ts|src/__tests__/configure-project.test.ts|src/__tests__/git-clone-attach.test.ts - CLI_REGION: us-east-1 + CLI_REGION: eu-west-2 depend-on: - upload_pkg_binaries - identifier: l_init_c_layer_4_function_2c_function_3b @@ -205,7 +205,7 @@ batch: variables: TEST_SUITE: >- src/__tests__/init_c.test.ts|src/__tests__/layer-4.test.ts|src/__tests__/function_2c.test.ts|src/__tests__/function_3b.test.ts - CLI_REGION: us-east-1 + CLI_REGION: ap-northeast-1 depend-on: - upload_pkg_binaries - identifier: l_function_4_interactions_schema_model_a_tags @@ -225,7 +225,7 @@ batch: variables: TEST_SUITE: >- src/__tests__/auth_1a.test.ts|src/__tests__/auth-trigger.test.ts|src/__tests__/custom_policies_function.test.ts|src/__tests__/function_6.test.ts - CLI_REGION: ap-southeast-2 + CLI_REGION: eu-central-1 depend-on: - upload_pkg_binaries - identifier: l_storage_2_export_iam_permissions_boundary_node_function @@ -235,7 +235,7 @@ batch: variables: TEST_SUITE: >- src/__tests__/storage-2.test.ts|src/__tests__/export.test.ts|src/__tests__/iam-permissions-boundary.test.ts|src/__tests__/migration/node.function.test.ts - CLI_REGION: ap-northeast-1 + CLI_REGION: eu-west-2 depend-on: - upload_pkg_binaries - identifier: l_notifications_sms_schema_auth_4b_schema_model_e_schema_versioned @@ -245,7 +245,7 @@ batch: variables: TEST_SUITE: >- src/__tests__/notifications-sms.test.ts|src/__tests__/schema-auth-4b.test.ts|src/__tests__/schema-model-e.test.ts|src/__tests__/schema-versioned.test.ts - CLI_REGION: eu-west-2 + CLI_REGION: us-east-2 depend-on: - upload_pkg_binaries - identifier: l_auth_1c_auth_5e_auth_8b_geo_add_b @@ -255,7 +255,7 @@ batch: variables: TEST_SUITE: >- src/__tests__/auth_1c.test.ts|src/__tests__/auth_5e.test.ts|src/__tests__/auth_8b.test.ts|src/__tests__/geo-add-b.test.ts - CLI_REGION: ap-northeast-1 + CLI_REGION: us-east-1 depend-on: - upload_pkg_binaries - identifier: l_s3_sse_schema_auth_4a_schema_model_b_schema_model_d @@ -286,7 +286,7 @@ batch: variables: TEST_SUITE: >- src/__tests__/schema-auth-6a.test.ts|src/__tests__/schema-data-access-patterns.test.ts|src/__tests__/schema-model-c.test.ts|src/__tests__/schema-predictions.test.ts - CLI_REGION: ap-southeast-1 + CLI_REGION: ap-northeast-1 depend-on: - upload_pkg_binaries - identifier: l_model_migration_auth_3c_auth_4c_auth_5a @@ -296,7 +296,7 @@ batch: variables: TEST_SUITE: >- src/__tests__/transformer-migrations/model-migration.test.ts|src/__tests__/auth_3c.test.ts|src/__tests__/auth_4c.test.ts|src/__tests__/auth_5a.test.ts - CLI_REGION: eu-west-2 + CLI_REGION: eu-central-1 depend-on: - upload_pkg_binaries - identifier: l_auth_5c_env_1_geo_add_a_init_a @@ -306,7 +306,7 @@ batch: variables: TEST_SUITE: >- src/__tests__/auth_5c.test.ts|src/__tests__/env-1.test.ts|src/__tests__/geo-add-a.test.ts|src/__tests__/init_a.test.ts - CLI_REGION: ap-northeast-1 + CLI_REGION: us-east-1 depend-on: - upload_pkg_binaries - identifier: l_schema_auth_4c_schema_auth_5c_auth_5b_auth_9 @@ -316,7 +316,7 @@ batch: variables: TEST_SUITE: >- src/__tests__/schema-auth-4c.test.ts|src/__tests__/schema-auth-5c.test.ts|src/__tests__/auth_5b.test.ts|src/__tests__/auth_9.test.ts - CLI_REGION: us-east-2 + CLI_REGION: ap-southeast-1 depend-on: - upload_pkg_binaries - identifier: l_custom_resources_env_5_function_10_function_9c @@ -336,7 +336,7 @@ batch: variables: TEST_SUITE: >- src/__tests__/function-permissions.test.ts|src/__tests__/geo-import-1a.test.ts|src/__tests__/geo-import-2.test.ts|src/__tests__/global_sandbox-b.test.ts - CLI_REGION: ap-southeast-2 + CLI_REGION: us-west-2 depend-on: - upload_pkg_binaries - identifier: l_schema_auth_5d_schema_auth_6b_schema_auth_8c_auth_3a @@ -346,7 +346,7 @@ batch: variables: TEST_SUITE: >- src/__tests__/schema-auth-5d.test.ts|src/__tests__/schema-auth-6b.test.ts|src/__tests__/schema-auth-8c.test.ts|src/__tests__/auth_3a.test.ts - CLI_REGION: us-east-2 + CLI_REGION: eu-central-1 depend-on: - upload_pkg_binaries - identifier: l_auth_3b_auth_4a_auth_7a_auth_8c @@ -356,7 +356,7 @@ batch: variables: TEST_SUITE: >- src/__tests__/auth_3b.test.ts|src/__tests__/auth_4a.test.ts|src/__tests__/auth_7a.test.ts|src/__tests__/auth_8c.test.ts - CLI_REGION: us-east-1 + CLI_REGION: ap-southeast-1 depend-on: - upload_pkg_binaries - identifier: l_feature_flags_geo_import_1b_global_sandbox_a_init_e @@ -366,7 +366,7 @@ batch: variables: TEST_SUITE: >- src/__tests__/feature-flags.test.ts|src/__tests__/geo-import-1b.test.ts|src/__tests__/global_sandbox-a.test.ts|src/__tests__/init_e.test.ts - CLI_REGION: us-east-2 + CLI_REGION: ap-northeast-1 depend-on: - upload_pkg_binaries - identifier: >- @@ -377,7 +377,7 @@ batch: variables: TEST_SUITE: >- src/__tests__/notifications-analytics-compatibility-in-app-2.test.ts|src/__tests__/schema-auth-11-c.test.ts|src/__tests__/schema-auth-2b.test.ts|src/__tests__/schema-auth-6c.test.ts - CLI_REGION: us-west-2 + CLI_REGION: eu-central-1 depend-on: - upload_pkg_binaries - identifier: l_schema_auth_6d_schema_auth_7c_schema_auth_8a_function_migration @@ -387,7 +387,7 @@ batch: variables: TEST_SUITE: >- src/__tests__/schema-auth-6d.test.ts|src/__tests__/schema-auth-7c.test.ts|src/__tests__/schema-auth-8a.test.ts|src/__tests__/transformer-migrations/function-migration.test.ts - CLI_REGION: ap-southeast-1 + CLI_REGION: eu-central-1 depend-on: - upload_pkg_binaries - identifier: l_api_10_api_7_export_pull_a_function_9a @@ -397,7 +397,7 @@ batch: variables: TEST_SUITE: >- src/__tests__/api_10.test.ts|src/__tests__/api_7.test.ts|src/__tests__/export-pull-a.test.ts|src/__tests__/function_9a.test.ts - CLI_REGION: ap-northeast-1 + CLI_REGION: ap-southeast-2 depend-on: - upload_pkg_binaries - identifier: l_geo_headless_api_key_migration5_schema_auth_1a_schema_auth_5b @@ -407,7 +407,7 @@ batch: variables: TEST_SUITE: >- src/__tests__/geo-headless.test.ts|src/__tests__/migration/api.key.migration5.test.ts|src/__tests__/schema-auth-1a.test.ts|src/__tests__/schema-auth-5b.test.ts - CLI_REGION: ap-southeast-1 + CLI_REGION: ap-southeast-2 depend-on: - upload_pkg_binaries - identifier: l_schema_auth_8b_schema_auth_9_a_schema_auth_9_c_storage_3 @@ -437,7 +437,7 @@ batch: variables: TEST_SUITE: >- src/__tests__/geo-add-d.test.ts|src/__tests__/geo-import-3.test.ts|src/__tests__/hosting.test.ts|src/__tests__/layer-3.test.ts - CLI_REGION: ap-southeast-1 + CLI_REGION: us-east-2 depend-on: - upload_pkg_binaries - identifier: >- @@ -448,7 +448,7 @@ batch: variables: TEST_SUITE: >- src/__tests__/migration/api.connection.migration.test.ts|src/__tests__/migration/api.key.migration3.test.ts|src/__tests__/predictions.test.ts|src/__tests__/schema-auth-11-b.test.ts - CLI_REGION: eu-central-1 + CLI_REGION: us-east-2 depend-on: - upload_pkg_binaries - identifier: l_schema_auth_1b_schema_auth_2a_schema_auth_7a_schema_auth_7b @@ -458,7 +458,7 @@ batch: variables: TEST_SUITE: >- src/__tests__/schema-auth-1b.test.ts|src/__tests__/schema-auth-2a.test.ts|src/__tests__/schema-auth-7a.test.ts|src/__tests__/schema-auth-7b.test.ts - CLI_REGION: ap-southeast-1 + CLI_REGION: us-east-1 depend-on: - upload_pkg_binaries - identifier: >- @@ -469,7 +469,7 @@ batch: variables: TEST_SUITE: >- src/__tests__/schema-auth-9-b.test.ts|src/__tests__/schema-iterative-rollback-1.test.ts|src/__tests__/transformer-migrations/predictions-migration.test.ts|src/__tests__/api_6a.test.ts - CLI_REGION: eu-central-1 + CLI_REGION: ap-southeast-1 depend-on: - upload_pkg_binaries - identifier: l_auth_7b_export_pull_b_function_3a_init_special_case @@ -479,7 +479,7 @@ batch: variables: TEST_SUITE: >- src/__tests__/auth_7b.test.ts|src/__tests__/export-pull-b.test.ts|src/__tests__/function_3a.test.ts|src/__tests__/init-special-case.test.ts - CLI_REGION: ap-southeast-1 + CLI_REGION: us-east-1 depend-on: - upload_pkg_binaries - identifier: l_http_migration_schema_auth_12_schema_auth_3_schema_function_2 @@ -489,7 +489,7 @@ batch: variables: TEST_SUITE: >- src/__tests__/transformer-migrations/http-migration.test.ts|src/__tests__/schema-auth-12.test.ts|src/__tests__/schema-auth-3.test.ts|src/__tests__/schema-function-2.test.ts - CLI_REGION: us-east-2 + CLI_REGION: eu-central-1 depend-on: - upload_pkg_binaries - identifier: l_auth_4b_auth_8a_export_pull_d_schema_auth_5a @@ -499,7 +499,7 @@ batch: variables: TEST_SUITE: >- src/__tests__/auth_4b.test.ts|src/__tests__/auth_8a.test.ts|src/__tests__/export-pull-d.test.ts|src/__tests__/schema-auth-5a.test.ts - CLI_REGION: ap-southeast-1 + CLI_REGION: us-east-1 depend-on: - upload_pkg_binaries - identifier: >- @@ -510,7 +510,7 @@ batch: variables: TEST_SUITE: >- src/__tests__/schema-iterative-rollback-2.test.ts|src/__tests__/schema-iterative-update-3.test.ts|src/__tests__/transformer-migrations/auth-migration.test.ts|src/__tests__/api_2a.test.ts - CLI_REGION: ap-northeast-1 + CLI_REGION: eu-west-2 depend-on: - upload_pkg_binaries - identifier: l_api_2b_api_6c_api_9a_auth_12 @@ -520,7 +520,7 @@ batch: variables: TEST_SUITE: >- src/__tests__/api_2b.test.ts|src/__tests__/api_6c.test.ts|src/__tests__/api_9a.test.ts|src/__tests__/auth_12.test.ts - CLI_REGION: us-east-1 + CLI_REGION: ap-southeast-1 depend-on: - upload_pkg_binaries - identifier: l_auth_2g_custom_resource_with_storage_dynamodb_simulator_export_pull_c @@ -533,187 +533,186 @@ batch: CLI_REGION: us-west-2 depend-on: - upload_pkg_binaries - - identifier: l_function_2d_general_config_headless_init_help_hooks_c + - identifier: l_function_12_function_2d_general_config_headless_init_help buildspec: codebuild_specs/run_e2e_tests_linux.yml env: compute-type: BUILD_GENERAL1_MEDIUM variables: TEST_SUITE: >- - src/__tests__/function_2d.test.ts|src/__tests__/general-config/general-config-headless-init.test.ts|src/__tests__/help.test.ts|src/__tests__/hooks-c.test.ts - CLI_REGION: us-west-2 + src/__tests__/function_12.test.ts|src/__tests__/function_2d.test.ts|src/__tests__/general-config/general-config-headless-init.test.ts|src/__tests__/help.test.ts + CLI_REGION: us-east-2 depend-on: - upload_pkg_binaries - - identifier: l_init_force_push_interactions_1_interactions_2_minify_cloudformation + - identifier: l_hooks_c_init_force_push_interactions_1_interactions_2 buildspec: codebuild_specs/run_e2e_tests_linux.yml env: compute-type: BUILD_GENERAL1_MEDIUM variables: TEST_SUITE: >- - src/__tests__/init-force-push.test.ts|src/__tests__/interactions-1.test.ts|src/__tests__/interactions-2.test.ts|src/__tests__/minify-cloudformation.test.ts + src/__tests__/hooks-c.test.ts|src/__tests__/init-force-push.test.ts|src/__tests__/interactions-1.test.ts|src/__tests__/interactions-2.test.ts CLI_REGION: us-west-2 depend-on: - upload_pkg_binaries - identifier: >- - l_notifications_multi_env_opensearch_simulator_parameter_store_1_parameter_store_2 + l_minify_cloudformation_notifications_multi_env_opensearch_simulator_parameter_store_1 buildspec: codebuild_specs/run_e2e_tests_linux.yml env: compute-type: BUILD_GENERAL1_MEDIUM variables: TEST_SUITE: >- - src/__tests__/notifications-multi-env.test.ts|src/__tests__/opensearch-simulator/opensearch-simulator.test.ts|src/__tests__/parameter-store-1.test.ts|src/__tests__/parameter-store-2.test.ts - CLI_REGION: ap-southeast-2 + src/__tests__/minify-cloudformation.test.ts|src/__tests__/notifications-multi-env.test.ts|src/__tests__/opensearch-simulator/opensearch-simulator.test.ts|src/__tests__/parameter-store-1.test.ts + CLI_REGION: ap-southeast-1 depend-on: - upload_pkg_binaries - identifier: >- - l_android_analytics_pinpoint_config_android_notifications_pinpoint_config_flutter_analytics_pinpoint_config_flutter_notificatio + l_parameter_store_2_android_analytics_pinpoint_config_android_notifications_pinpoint_config_flutter_analytics_pinpoint_config buildspec: codebuild_specs/run_e2e_tests_linux.yml env: compute-type: BUILD_GENERAL1_MEDIUM variables: TEST_SUITE: >- - src/__tests__/pinpoint/android-analytics-pinpoint-config.test.ts|src/__tests__/pinpoint/android-notifications-pinpoint-config.test.ts|src/__tests__/pinpoint/flutter-analytics-pinpoint-config.test.ts|src/__tests__/pinpoint/flutter-notifications-pinpoint-config.test.ts + src/__tests__/parameter-store-2.test.ts|src/__tests__/pinpoint/android-analytics-pinpoint-config.test.ts|src/__tests__/pinpoint/android-notifications-pinpoint-config.test.ts|src/__tests__/pinpoint/flutter-analytics-pinpoint-config.test.ts CLI_REGION: us-west-2 depend-on: - upload_pkg_binaries - identifier: >- - l_ios_analytics_pinpoint_config_ios_notifications_pinpoint_config_javascript_analytics_pinpoint_config_javascript_notifications + l_flutter_notifications_pinpoint_config_ios_analytics_pinpoint_config_ios_notifications_pinpoint_config_javascript_analytics_pi buildspec: codebuild_specs/run_e2e_tests_linux.yml env: compute-type: BUILD_GENERAL1_MEDIUM variables: TEST_SUITE: >- - src/__tests__/pinpoint/ios-analytics-pinpoint-config.test.ts|src/__tests__/pinpoint/ios-notifications-pinpoint-config.test.ts|src/__tests__/pinpoint/javascript-analytics-pinpoint-config.test.ts|src/__tests__/pinpoint/javascript-notifications-pinpoint-config.test.ts - CLI_REGION: us-east-2 + src/__tests__/pinpoint/flutter-notifications-pinpoint-config.test.ts|src/__tests__/pinpoint/ios-analytics-pinpoint-config.test.ts|src/__tests__/pinpoint/ios-notifications-pinpoint-config.test.ts|src/__tests__/pinpoint/javascript-analytics-pinpoint-config.test.ts + CLI_REGION: us-west-2 depend-on: - upload_pkg_binaries - - identifier: l_pull_2_push_smoketest_S3server + - identifier: l_javascript_notifications_pinpoint_config_pull_2_push_smoketest buildspec: codebuild_specs/run_e2e_tests_linux.yml env: compute-type: BUILD_GENERAL1_MEDIUM variables: TEST_SUITE: >- - src/__tests__/pull-2.test.ts|src/__tests__/push.test.ts|src/__tests__/smoketest.test.ts|src/__tests__/storage-simulator/S3server.test.ts - CLI_REGION: us-east-2 + src/__tests__/pinpoint/javascript-notifications-pinpoint-config.test.ts|src/__tests__/pull-2.test.ts|src/__tests__/push.test.ts|src/__tests__/smoketest.test.ts + CLI_REGION: us-west-2 depend-on: - upload_pkg_binaries - - identifier: l_api_8_function_8_schema_iterative_update_locking_api_lambda_auth_2 + - identifier: l_S3server_api_8_function_8_schema_iterative_update_locking buildspec: codebuild_specs/run_e2e_tests_linux.yml env: compute-type: BUILD_GENERAL1_MEDIUM variables: TEST_SUITE: >- - src/__tests__/api_8.test.ts|src/__tests__/function_8.test.ts|src/__tests__/schema-iterative-update-locking.test.ts|src/__tests__/graphql-v2/api_lambda_auth_2.test.ts + src/__tests__/storage-simulator/S3server.test.ts|src/__tests__/api_8.test.ts|src/__tests__/function_8.test.ts|src/__tests__/schema-iterative-update-locking.test.ts CLI_REGION: ap-southeast-2 depend-on: - upload_pkg_binaries - - identifier: l_layer_2_schema_auth_13_function_5_schema_iterative_update_1 + - identifier: l_api_lambda_auth_2_layer_2_schema_auth_13_function_5 buildspec: codebuild_specs/run_e2e_tests_linux.yml env: compute-type: BUILD_GENERAL1_MEDIUM variables: TEST_SUITE: >- - src/__tests__/layer-2.test.ts|src/__tests__/schema-auth-13.test.ts|src/__tests__/function_5.test.ts|src/__tests__/schema-iterative-update-1.test.ts - CLI_REGION: eu-central-1 + src/__tests__/graphql-v2/api_lambda_auth_2.test.ts|src/__tests__/layer-2.test.ts|src/__tests__/schema-auth-13.test.ts|src/__tests__/function_5.test.ts + CLI_REGION: eu-west-2 depend-on: - upload_pkg_binaries - - identifier: l_auth_6_function_2a_schema_connection_2_schema_function_1 + - identifier: l_schema_iterative_update_1_auth_6_function_2a_schema_connection_2 buildspec: codebuild_specs/run_e2e_tests_linux.yml env: compute-type: BUILD_GENERAL1_MEDIUM variables: TEST_SUITE: >- - src/__tests__/auth_6.test.ts|src/__tests__/function_2a.test.ts|src/__tests__/schema-connection-2.test.ts|src/__tests__/schema-function-1.test.ts - CLI_REGION: us-west-2 + src/__tests__/schema-iterative-update-1.test.ts|src/__tests__/auth_6.test.ts|src/__tests__/function_2a.test.ts|src/__tests__/schema-connection-2.test.ts + CLI_REGION: us-east-1 depend-on: - upload_pkg_binaries - - identifier: l_api_9b_custom_policies_container_function_9b_schema_iterative_update_2 + - identifier: l_schema_function_1_api_9b_custom_policies_container_function_9b buildspec: codebuild_specs/run_e2e_tests_linux.yml env: compute-type: BUILD_GENERAL1_MEDIUM variables: TEST_SUITE: >- - src/__tests__/api_9b.test.ts|src/__tests__/custom_policies_container.test.ts|src/__tests__/function_9b.test.ts|src/__tests__/schema-iterative-update-2.test.ts - CLI_REGION: eu-west-2 + src/__tests__/schema-function-1.test.ts|src/__tests__/api_9b.test.ts|src/__tests__/custom_policies_container.test.ts|src/__tests__/function_9b.test.ts + CLI_REGION: us-east-2 depend-on: - upload_pkg_binaries - - identifier: l_storage_1a_storage_1b_function_11_function_2b + - identifier: l_schema_iterative_update_2_storage_1a_storage_1b_function_11 buildspec: codebuild_specs/run_e2e_tests_linux.yml env: compute-type: BUILD_GENERAL1_MEDIUM variables: TEST_SUITE: >- - src/__tests__/storage-1a.test.ts|src/__tests__/storage-1b.test.ts|src/__tests__/function_11.test.ts|src/__tests__/function_2b.test.ts - CLI_REGION: eu-west-2 + src/__tests__/schema-iterative-update-2.test.ts|src/__tests__/storage-1a.test.ts|src/__tests__/storage-1b.test.ts|src/__tests__/function_11.test.ts + CLI_REGION: ap-northeast-1 depend-on: - upload_pkg_binaries - - identifier: l_function_7_api_connection_migration2_api_4_containers_api_secrets + - identifier: l_function_2b_function_7_api_connection_migration2_api_4 buildspec: codebuild_specs/run_e2e_tests_linux.yml env: compute-type: BUILD_GENERAL1_MEDIUM variables: TEST_SUITE: >- - src/__tests__/function_7.test.ts|src/__tests__/migration/api.connection.migration2.test.ts|src/__tests__/api_4.test.ts|src/__tests__/containers-api-secrets.test.ts - CLI_REGION: ap-southeast-2 + src/__tests__/function_2b.test.ts|src/__tests__/function_7.test.ts|src/__tests__/migration/api.connection.migration2.test.ts|src/__tests__/api_4.test.ts + CLI_REGION: us-east-1 depend-on: - upload_pkg_binaries - - identifier: l_storage_4_schema_auth_10_geo_multi_env_searchable_datastore + - identifier: l_containers_api_secrets_storage_4_schema_auth_10_geo_multi_env buildspec: codebuild_specs/run_e2e_tests_linux.yml env: compute-type: BUILD_GENERAL1_MEDIUM variables: TEST_SUITE: >- - src/__tests__/storage-4.test.ts|src/__tests__/schema-auth-10.test.ts|src/__tests__/geo-multi-env.test.ts|src/__tests__/graphql-v2/searchable-datastore.test.ts - CLI_REGION: us-east-1 + src/__tests__/containers-api-secrets.test.ts|src/__tests__/storage-4.test.ts|src/__tests__/schema-auth-10.test.ts|src/__tests__/geo-multi-env.test.ts + CLI_REGION: eu-central-1 depend-on: - upload_pkg_binaries - - identifier: l_resolvers_schema_key_api_5_apigw + - identifier: l_searchable_datastore_resolvers_schema_key_api_5 buildspec: codebuild_specs/run_e2e_tests_linux.yml env: compute-type: BUILD_GENERAL1_MEDIUM variables: TEST_SUITE: >- - src/__tests__/resolvers.test.ts|src/__tests__/schema-key.test.ts|src/__tests__/api_5.test.ts|src/__tests__/apigw.test.ts - CLI_REGION: ap-southeast-1 + src/__tests__/graphql-v2/searchable-datastore.test.ts|src/__tests__/resolvers.test.ts|src/__tests__/schema-key.test.ts|src/__tests__/api_5.test.ts + CLI_REGION: ap-northeast-1 depend-on: - upload_pkg_binaries - - identifier: >- - l_api_lambda_auth_1_api_key_migration2_schema_searchable_api_key_migration1 + - identifier: l_apigw_api_lambda_auth_1_api_key_migration2_schema_searchable buildspec: codebuild_specs/run_e2e_tests_linux.yml env: compute-type: BUILD_GENERAL1_MEDIUM variables: TEST_SUITE: >- - src/__tests__/graphql-v2/api_lambda_auth_1.test.ts|src/__tests__/migration/api.key.migration2.test.ts|src/__tests__/schema-searchable.test.ts|src/__tests__/migration/api.key.migration1.test.ts - CLI_REGION: us-west-2 + src/__tests__/apigw.test.ts|src/__tests__/graphql-v2/api_lambda_auth_1.test.ts|src/__tests__/migration/api.key.migration2.test.ts|src/__tests__/schema-searchable.test.ts + CLI_REGION: ap-southeast-1 depend-on: - upload_pkg_binaries - - identifier: l_schema_auth_14_api_3_api_6b_api_1 + - identifier: l_api_key_migration1_schema_auth_14_api_3_api_6b buildspec: codebuild_specs/run_e2e_tests_linux.yml env: compute-type: BUILD_GENERAL1_MEDIUM variables: TEST_SUITE: >- - src/__tests__/schema-auth-14.test.ts|src/__tests__/api_3.test.ts|src/__tests__/api_6b.test.ts|src/__tests__/api_1.test.ts - CLI_REGION: us-east-2 + src/__tests__/migration/api.key.migration1.test.ts|src/__tests__/schema-auth-14.test.ts|src/__tests__/api_3.test.ts|src/__tests__/api_6b.test.ts + CLI_REGION: eu-central-1 depend-on: - upload_pkg_binaries - - identifier: l_layer_1_api_key_migration4_schema_iterative_update_4_function_1 + - identifier: l_api_1_layer_1_api_key_migration4_schema_iterative_update_4 buildspec: codebuild_specs/run_e2e_tests_linux.yml env: compute-type: BUILD_GENERAL1_MEDIUM variables: TEST_SUITE: >- - src/__tests__/layer-1.test.ts|src/__tests__/migration/api.key.migration4.test.ts|src/__tests__/schema-iterative-update-4.test.ts|src/__tests__/function_1.test.ts - CLI_REGION: ap-southeast-1 + src/__tests__/api_1.test.ts|src/__tests__/layer-1.test.ts|src/__tests__/migration/api.key.migration4.test.ts|src/__tests__/schema-iterative-update-4.test.ts + CLI_REGION: ap-northeast-1 depend-on: - upload_pkg_binaries - - identifier: l_storage_5 + - identifier: l_function_1_storage_5 buildspec: codebuild_specs/run_e2e_tests_linux.yml env: compute-type: BUILD_GENERAL1_MEDIUM variables: - TEST_SUITE: src/__tests__/storage-5.test.ts - CLI_REGION: ap-southeast-2 + TEST_SUITE: src/__tests__/function_1.test.ts|src/__tests__/storage-5.test.ts + CLI_REGION: eu-west-2 depend-on: - upload_pkg_binaries - identifier: l_auth_2c @@ -722,7 +721,7 @@ batch: compute-type: BUILD_GENERAL1_MEDIUM variables: TEST_SUITE: src/__tests__/auth_2c.test.ts - CLI_REGION: eu-west-2 + CLI_REGION: us-west-2 depend-on: - upload_pkg_binaries - identifier: l_auth_2e @@ -731,7 +730,7 @@ batch: compute-type: BUILD_GENERAL1_MEDIUM variables: TEST_SUITE: src/__tests__/auth_2e.test.ts - CLI_REGION: us-west-2 + CLI_REGION: ap-southeast-2 depend-on: - upload_pkg_binaries - identifier: l_geo_remove_3 @@ -740,7 +739,7 @@ batch: compute-type: BUILD_GENERAL1_MEDIUM variables: TEST_SUITE: src/__tests__/geo-remove-3.test.ts - CLI_REGION: ap-southeast-2 + CLI_REGION: ap-southeast-1 depend-on: - upload_pkg_binaries - identifier: l_geo_add_f @@ -749,7 +748,7 @@ batch: compute-type: BUILD_GENERAL1_MEDIUM variables: TEST_SUITE: src/__tests__/geo-add-f.test.ts - CLI_REGION: us-west-2 + CLI_REGION: eu-west-2 depend-on: - upload_pkg_binaries - identifier: l_geo_add_e @@ -758,7 +757,7 @@ batch: compute-type: BUILD_GENERAL1_MEDIUM variables: TEST_SUITE: src/__tests__/geo-add-e.test.ts - CLI_REGION: eu-west-2 + CLI_REGION: ap-southeast-2 depend-on: - upload_pkg_binaries - identifier: l_import_dynamodb_2c @@ -776,7 +775,7 @@ batch: compute-type: BUILD_GENERAL1_MEDIUM variables: TEST_SUITE: src/__tests__/env-3.test.ts - CLI_REGION: us-east-2 + CLI_REGION: us-east-1 depend-on: - upload_pkg_binaries - identifier: l_geo_remove_2 @@ -785,7 +784,7 @@ batch: compute-type: BUILD_GENERAL1_MEDIUM variables: TEST_SUITE: src/__tests__/geo-remove-2.test.ts - CLI_REGION: eu-west-2 + CLI_REGION: us-east-2 depend-on: - upload_pkg_binaries - identifier: l_notifications_in_app_messaging @@ -794,7 +793,7 @@ batch: compute-type: BUILD_GENERAL1_MEDIUM variables: TEST_SUITE: src/__tests__/notifications-in-app-messaging.test.ts - CLI_REGION: eu-central-1 + CLI_REGION: ap-northeast-1 depend-on: - upload_pkg_binaries - identifier: l_import_auth_2a @@ -812,7 +811,7 @@ batch: compute-type: BUILD_GENERAL1_MEDIUM variables: TEST_SUITE: src/__tests__/import_auth_1a.test.ts - CLI_REGION: us-west-2 + CLI_REGION: ap-northeast-1 depend-on: - upload_pkg_binaries - identifier: l_import_auth_2b @@ -821,7 +820,7 @@ batch: compute-type: BUILD_GENERAL1_MEDIUM variables: TEST_SUITE: src/__tests__/import_auth_2b.test.ts - CLI_REGION: us-west-2 + CLI_REGION: eu-west-2 depend-on: - upload_pkg_binaries - identifier: l_import_s3_2a @@ -830,7 +829,7 @@ batch: compute-type: BUILD_GENERAL1_MEDIUM variables: TEST_SUITE: src/__tests__/import_s3_2a.test.ts - CLI_REGION: eu-central-1 + CLI_REGION: ap-southeast-2 depend-on: - upload_pkg_binaries - identifier: l_import_s3_2c @@ -839,7 +838,7 @@ batch: compute-type: BUILD_GENERAL1_MEDIUM variables: TEST_SUITE: src/__tests__/import_s3_2c.test.ts - CLI_REGION: us-east-1 + CLI_REGION: us-west-2 depend-on: - upload_pkg_binaries - identifier: l_import_auth_1b @@ -848,7 +847,7 @@ batch: compute-type: BUILD_GENERAL1_MEDIUM variables: TEST_SUITE: src/__tests__/import_auth_1b.test.ts - CLI_REGION: us-west-2 + CLI_REGION: eu-west-2 depend-on: - upload_pkg_binaries - identifier: l_schema_auth_11_a @@ -857,7 +856,7 @@ batch: compute-type: BUILD_GENERAL1_MEDIUM variables: TEST_SUITE: src/__tests__/schema-auth-11-a.test.ts - CLI_REGION: us-east-2 + CLI_REGION: ap-southeast-2 depend-on: - upload_pkg_binaries - identifier: l_geo_update_1 @@ -866,7 +865,7 @@ batch: compute-type: BUILD_GENERAL1_MEDIUM variables: TEST_SUITE: src/__tests__/geo-update-1.test.ts - CLI_REGION: ap-northeast-1 + CLI_REGION: eu-west-2 depend-on: - upload_pkg_binaries - identifier: l_geo_update_2 @@ -875,7 +874,7 @@ batch: compute-type: BUILD_GENERAL1_MEDIUM variables: TEST_SUITE: src/__tests__/geo-update-2.test.ts - CLI_REGION: eu-central-1 + CLI_REGION: eu-west-2 depend-on: - upload_pkg_binaries - identifier: l_import_s3_3 @@ -884,7 +883,7 @@ batch: compute-type: BUILD_GENERAL1_MEDIUM variables: TEST_SUITE: src/__tests__/import_s3_3.test.ts - CLI_REGION: eu-west-2 + CLI_REGION: us-east-2 depend-on: - upload_pkg_binaries - identifier: l_import_dynamodb_2b @@ -893,7 +892,7 @@ batch: compute-type: BUILD_GENERAL1_MEDIUM variables: TEST_SUITE: src/__tests__/import_dynamodb_2b.test.ts - CLI_REGION: ap-southeast-1 + CLI_REGION: ap-southeast-2 depend-on: - upload_pkg_binaries - identifier: l_hostingPROD @@ -902,7 +901,7 @@ batch: compute-type: BUILD_GENERAL1_MEDIUM variables: TEST_SUITE: src/__tests__/hostingPROD.test.ts - CLI_REGION: ap-southeast-2 + CLI_REGION: us-east-1 depend-on: - upload_pkg_binaries - identifier: l_import_s3_2b @@ -911,7 +910,7 @@ batch: compute-type: BUILD_GENERAL1_MEDIUM variables: TEST_SUITE: src/__tests__/import_s3_2b.test.ts - CLI_REGION: eu-central-1 + CLI_REGION: ap-southeast-1 depend-on: - upload_pkg_binaries - identifier: l_containers_api_1 @@ -920,7 +919,7 @@ batch: compute-type: BUILD_GENERAL1_MEDIUM variables: TEST_SUITE: src/__tests__/containers-api-1.test.ts - CLI_REGION: ap-southeast-2 + CLI_REGION: ap-southeast-1 depend-on: - upload_pkg_binaries - identifier: l_schema_auth_15 @@ -929,7 +928,7 @@ batch: compute-type: BUILD_GENERAL1_MEDIUM variables: TEST_SUITE: src/__tests__/schema-auth-15.test.ts - CLI_REGION: us-east-2 + CLI_REGION: ap-northeast-1 depend-on: - upload_pkg_binaries - identifier: l_schema_connection_1 @@ -938,7 +937,7 @@ batch: compute-type: BUILD_GENERAL1_MEDIUM variables: TEST_SUITE: src/__tests__/schema-connection-1.test.ts - CLI_REGION: ap-southeast-1 + CLI_REGION: eu-west-2 depend-on: - upload_pkg_binaries - identifier: l_import_auth_3 @@ -947,7 +946,7 @@ batch: compute-type: BUILD_GENERAL1_MEDIUM variables: TEST_SUITE: src/__tests__/import_auth_3.test.ts - CLI_REGION: ap-southeast-1 + CLI_REGION: us-west-2 depend-on: - upload_pkg_binaries - identifier: l_import_dynamodb_2a @@ -965,7 +964,7 @@ batch: compute-type: BUILD_GENERAL1_MEDIUM variables: TEST_SUITE: src/__tests__/containers-api-2.test.ts - CLI_REGION: us-west-2 + CLI_REGION: us-east-1 depend-on: - upload_pkg_binaries - identifier: l_import_s3_1 @@ -974,7 +973,7 @@ batch: compute-type: BUILD_GENERAL1_MEDIUM variables: TEST_SUITE: src/__tests__/import_s3_1.test.ts - CLI_REGION: us-west-2 + CLI_REGION: us-east-1 USE_PARENT_ACCOUNT: 1 depend-on: - upload_pkg_binaries @@ -994,7 +993,7 @@ batch: compute-type: BUILD_GENERAL1_MEDIUM variables: TEST_SUITE: src/__tests__/geo-remove-1.test.ts - CLI_REGION: us-west-2 + CLI_REGION: ap-southeast-1 depend-on: - upload_pkg_binaries - identifier: l_import_dynamodb_1 @@ -1003,7 +1002,7 @@ batch: compute-type: BUILD_GENERAL1_MEDIUM variables: TEST_SUITE: src/__tests__/import_dynamodb_1.test.ts - CLI_REGION: eu-central-1 + CLI_REGION: ap-southeast-1 USE_PARENT_ACCOUNT: 1 depend-on: - upload_pkg_binaries @@ -1017,7 +1016,7 @@ batch: variables: TEST_SUITE: >- src/__tests__/analytics-kinesis.test.ts|src/__tests__/analytics-pinpoint-flutter.test.ts|src/__tests__/analytics-pinpoint-js.test.ts|src/__tests__/auth_2a.test.ts - CLI_REGION: ap-southeast-1 + CLI_REGION: ap-northeast-1 USE_PARENT_ACCOUNT: false depend-on: - build_windows @@ -1046,7 +1045,7 @@ batch: variables: TEST_SUITE: >- src/__tests__/notifications-analytics-compatibility-in-app-1.test.ts|src/__tests__/notifications-analytics-compatibility-sms-2.test.ts|src/__tests__/analytics-2.test.ts|src/__tests__/global_sandbox-c.test.ts - CLI_REGION: us-west-2 + CLI_REGION: eu-central-1 USE_PARENT_ACCOUNT: false depend-on: - build_windows @@ -1061,7 +1060,7 @@ batch: variables: TEST_SUITE: >- src/__tests__/hooks-b.test.ts|src/__tests__/notifications-analytics-compatibility-sms-1.test.ts|src/__tests__/plugin.test.ts|src/__tests__/studio-modelgen.test.ts - CLI_REGION: us-east-2 + CLI_REGION: us-west-2 USE_PARENT_ACCOUNT: false depend-on: - build_windows @@ -1076,7 +1075,7 @@ batch: variables: TEST_SUITE: >- src/__tests__/graphql-v2/custom-transformers.test.ts|src/__tests__/notifications-in-app-messaging-env-1.test.ts|src/__tests__/notifications-sms-pull.test.ts|src/__tests__/auth_10.test.ts - CLI_REGION: eu-west-2 + CLI_REGION: ap-southeast-2 USE_PARENT_ACCOUNT: false depend-on: - build_windows @@ -1090,7 +1089,7 @@ batch: variables: TEST_SUITE: >- src/__tests__/container-hosting.test.ts|src/__tests__/init_b.test.ts|src/__tests__/notifications-apns.test.ts|src/__tests__/notifications-fcm.test.ts - CLI_REGION: ap-southeast-1 + CLI_REGION: us-east-2 USE_PARENT_ACCOUNT: false depend-on: - build_windows @@ -1105,7 +1104,7 @@ batch: variables: TEST_SUITE: >- src/__tests__/notifications-in-app-messaging-env-2.test.ts|src/__tests__/with-babel-config.test.ts|src/__tests__/amplify-configure.test.ts|src/__tests__/init_d.test.ts - CLI_REGION: us-west-2 + CLI_REGION: eu-west-2 USE_PARENT_ACCOUNT: false depend-on: - build_windows @@ -1119,7 +1118,7 @@ batch: variables: TEST_SUITE: >- src/__tests__/init_f.test.ts|src/__tests__/auth_5d.test.ts|src/__tests__/configure-project.test.ts|src/__tests__/init_c.test.ts - CLI_REGION: us-east-1 + CLI_REGION: eu-central-1 USE_PARENT_ACCOUNT: false depend-on: - build_windows @@ -1147,7 +1146,7 @@ batch: variables: TEST_SUITE: >- src/__tests__/tags.test.ts|src/__tests__/auth_1a.test.ts|src/__tests__/auth-trigger.test.ts|src/__tests__/custom_policies_function.test.ts - CLI_REGION: ap-southeast-1 + CLI_REGION: us-east-1 USE_PARENT_ACCOUNT: false depend-on: - build_windows @@ -1161,7 +1160,7 @@ batch: variables: TEST_SUITE: >- src/__tests__/storage-2.test.ts|src/__tests__/iam-permissions-boundary.test.ts|src/__tests__/migration/node.function.test.ts|src/__tests__/notifications-sms.test.ts - CLI_REGION: ap-southeast-2 + CLI_REGION: eu-central-1 USE_PARENT_ACCOUNT: false depend-on: - build_windows @@ -1189,7 +1188,7 @@ batch: variables: TEST_SUITE: >- src/__tests__/auth_5e.test.ts|src/__tests__/auth_8b.test.ts|src/__tests__/geo-add-b.test.ts|src/__tests__/s3-sse.test.ts - CLI_REGION: ap-southeast-2 + CLI_REGION: ap-northeast-1 USE_PARENT_ACCOUNT: false depend-on: - build_windows @@ -1217,7 +1216,7 @@ batch: variables: TEST_SUITE: >- src/__tests__/env-4.test.ts|src/__tests__/frontend_config_drift.test.ts|src/__tests__/schema-auth-4d.test.ts|src/__tests__/schema-auth-6a.test.ts - CLI_REGION: us-west-2 + CLI_REGION: ap-southeast-1 USE_PARENT_ACCOUNT: false depend-on: - build_windows @@ -1232,7 +1231,7 @@ batch: variables: TEST_SUITE: >- src/__tests__/schema-data-access-patterns.test.ts|src/__tests__/schema-model-c.test.ts|src/__tests__/schema-predictions.test.ts|src/__tests__/transformer-migrations/model-migration.test.ts - CLI_REGION: eu-central-1 + CLI_REGION: us-east-2 USE_PARENT_ACCOUNT: false depend-on: - build_windows @@ -1246,7 +1245,7 @@ batch: variables: TEST_SUITE: >- src/__tests__/auth_3c.test.ts|src/__tests__/auth_4c.test.ts|src/__tests__/auth_5a.test.ts|src/__tests__/auth_5c.test.ts - CLI_REGION: ap-southeast-2 + CLI_REGION: ap-northeast-1 USE_PARENT_ACCOUNT: false depend-on: - build_windows @@ -1260,7 +1259,7 @@ batch: variables: TEST_SUITE: >- src/__tests__/env-1.test.ts|src/__tests__/geo-add-a.test.ts|src/__tests__/init_a.test.ts|src/__tests__/schema-auth-4c.test.ts - CLI_REGION: eu-central-1 + CLI_REGION: us-east-1 USE_PARENT_ACCOUNT: false depend-on: - build_windows @@ -1274,7 +1273,7 @@ batch: variables: TEST_SUITE: >- src/__tests__/schema-auth-5c.test.ts|src/__tests__/auth_5b.test.ts|src/__tests__/auth_9.test.ts|src/__tests__/custom_resources.test.ts - CLI_REGION: us-east-1 + CLI_REGION: eu-central-1 USE_PARENT_ACCOUNT: false depend-on: - build_windows @@ -1288,7 +1287,7 @@ batch: variables: TEST_SUITE: >- src/__tests__/env-5.test.ts|src/__tests__/function_10.test.ts|src/__tests__/function_9c.test.ts|src/__tests__/function-permissions.test.ts - CLI_REGION: us-east-1 + CLI_REGION: ap-southeast-1 USE_PARENT_ACCOUNT: false depend-on: - build_windows @@ -1302,7 +1301,7 @@ batch: variables: TEST_SUITE: >- src/__tests__/geo-import-1a.test.ts|src/__tests__/geo-import-2.test.ts|src/__tests__/global_sandbox-b.test.ts|src/__tests__/schema-auth-5d.test.ts - CLI_REGION: ap-southeast-1 + CLI_REGION: us-east-1 USE_PARENT_ACCOUNT: false depend-on: - build_windows @@ -1316,7 +1315,7 @@ batch: variables: TEST_SUITE: >- src/__tests__/schema-auth-6b.test.ts|src/__tests__/schema-auth-8c.test.ts|src/__tests__/auth_3a.test.ts|src/__tests__/auth_3b.test.ts - CLI_REGION: us-east-1 + CLI_REGION: us-east-2 USE_PARENT_ACCOUNT: false depend-on: - build_windows @@ -1330,7 +1329,7 @@ batch: variables: TEST_SUITE: >- src/__tests__/auth_4a.test.ts|src/__tests__/auth_7a.test.ts|src/__tests__/auth_8c.test.ts|src/__tests__/feature-flags.test.ts - CLI_REGION: ap-northeast-1 + CLI_REGION: us-west-2 USE_PARENT_ACCOUNT: false depend-on: - build_windows @@ -1345,7 +1344,7 @@ batch: variables: TEST_SUITE: >- src/__tests__/geo-import-1b.test.ts|src/__tests__/global_sandbox-a.test.ts|src/__tests__/init_e.test.ts|src/__tests__/notifications-analytics-compatibility-in-app-2.test.ts - CLI_REGION: ap-northeast-1 + CLI_REGION: eu-west-2 USE_PARENT_ACCOUNT: false depend-on: - build_windows @@ -1359,7 +1358,7 @@ batch: variables: TEST_SUITE: >- src/__tests__/schema-auth-11-c.test.ts|src/__tests__/schema-auth-2b.test.ts|src/__tests__/schema-auth-6c.test.ts|src/__tests__/schema-auth-6d.test.ts - CLI_REGION: ap-southeast-1 + CLI_REGION: us-east-1 USE_PARENT_ACCOUNT: false depend-on: - build_windows @@ -1387,7 +1386,7 @@ batch: variables: TEST_SUITE: >- src/__tests__/api_7.test.ts|src/__tests__/export-pull-a.test.ts|src/__tests__/function_9a.test.ts|src/__tests__/geo-headless.test.ts - CLI_REGION: eu-central-1 + CLI_REGION: us-east-2 USE_PARENT_ACCOUNT: false depend-on: - build_windows @@ -1401,7 +1400,7 @@ batch: variables: TEST_SUITE: >- src/__tests__/migration/api.key.migration5.test.ts|src/__tests__/schema-auth-1a.test.ts|src/__tests__/schema-auth-5b.test.ts|src/__tests__/schema-auth-8b.test.ts - CLI_REGION: us-east-1 + CLI_REGION: ap-southeast-1 USE_PARENT_ACCOUNT: false depend-on: - build_windows @@ -1415,7 +1414,7 @@ batch: variables: TEST_SUITE: >- src/__tests__/schema-auth-9-a.test.ts|src/__tests__/schema-auth-9-c.test.ts|src/__tests__/storage-3.test.ts|src/__tests__/auth_11.test.ts - CLI_REGION: eu-west-2 + CLI_REGION: eu-central-1 USE_PARENT_ACCOUNT: false depend-on: - build_windows @@ -1429,7 +1428,7 @@ batch: variables: TEST_SUITE: >- src/__tests__/auth_1b.test.ts|src/__tests__/delete.test.ts|src/__tests__/geo-add-c.test.ts|src/__tests__/geo-add-d.test.ts - CLI_REGION: ap-southeast-1 + CLI_REGION: us-east-2 USE_PARENT_ACCOUNT: false depend-on: - build_windows @@ -1443,7 +1442,7 @@ batch: variables: TEST_SUITE: >- src/__tests__/geo-import-3.test.ts|src/__tests__/hosting.test.ts|src/__tests__/layer-3.test.ts|src/__tests__/migration/api.connection.migration.test.ts - CLI_REGION: eu-central-1 + CLI_REGION: ap-southeast-1 USE_PARENT_ACCOUNT: false depend-on: - build_windows @@ -1457,7 +1456,7 @@ batch: variables: TEST_SUITE: >- src/__tests__/migration/api.key.migration3.test.ts|src/__tests__/predictions.test.ts|src/__tests__/schema-auth-11-b.test.ts|src/__tests__/schema-auth-1b.test.ts - CLI_REGION: us-east-2 + CLI_REGION: us-west-2 USE_PARENT_ACCOUNT: false depend-on: - build_windows @@ -1471,7 +1470,7 @@ batch: variables: TEST_SUITE: >- src/__tests__/schema-auth-2a.test.ts|src/__tests__/schema-auth-7a.test.ts|src/__tests__/schema-auth-7b.test.ts|src/__tests__/schema-auth-9-b.test.ts - CLI_REGION: us-west-2 + CLI_REGION: ap-southeast-2 USE_PARENT_ACCOUNT: false depend-on: - build_windows @@ -1499,7 +1498,7 @@ batch: variables: TEST_SUITE: >- src/__tests__/init-special-case.test.ts|src/__tests__/transformer-migrations/http-migration.test.ts|src/__tests__/schema-auth-12.test.ts|src/__tests__/schema-auth-3.test.ts - CLI_REGION: us-east-2 + CLI_REGION: eu-west-2 USE_PARENT_ACCOUNT: false depend-on: - build_windows @@ -1513,7 +1512,7 @@ batch: variables: TEST_SUITE: >- src/__tests__/schema-function-2.test.ts|src/__tests__/auth_4b.test.ts|src/__tests__/auth_8a.test.ts|src/__tests__/export-pull-d.test.ts - CLI_REGION: eu-central-1 + CLI_REGION: ap-southeast-1 USE_PARENT_ACCOUNT: false depend-on: - build_windows @@ -1527,7 +1526,7 @@ batch: variables: TEST_SUITE: >- src/__tests__/schema-auth-5a.test.ts|src/__tests__/schema-iterative-update-3.test.ts|src/__tests__/transformer-migrations/auth-migration.test.ts|src/__tests__/api_2a.test.ts - CLI_REGION: us-east-2 + CLI_REGION: ap-northeast-1 USE_PARENT_ACCOUNT: false depend-on: - build_windows @@ -1541,13 +1540,13 @@ batch: variables: TEST_SUITE: >- src/__tests__/api_2b.test.ts|src/__tests__/api_6c.test.ts|src/__tests__/api_9a.test.ts|src/__tests__/auth_2g.test.ts - CLI_REGION: eu-central-1 + CLI_REGION: us-east-1 USE_PARENT_ACCOUNT: false depend-on: - build_windows - upload_pkg_binaries - identifier: >- - w_custom_resource_with_storage_dynamodb_simulator_export_pull_c_function_2d + w_custom_resource_with_storage_dynamodb_simulator_export_pull_c_function_12 buildspec: codebuild_specs/run_e2e_tests_windows.yml env: type: WINDOWS_SERVER_2019_CONTAINER @@ -1555,13 +1554,13 @@ batch: image: $WINDOWS_IMAGE_2019 variables: TEST_SUITE: >- - src/__tests__/custom-resource-with-storage.test.ts|src/__tests__/dynamodb-simulator/dynamodb-simulator.test.ts|src/__tests__/export-pull-c.test.ts|src/__tests__/function_2d.test.ts + src/__tests__/custom-resource-with-storage.test.ts|src/__tests__/dynamodb-simulator/dynamodb-simulator.test.ts|src/__tests__/export-pull-c.test.ts|src/__tests__/function_12.test.ts CLI_REGION: us-west-2 USE_PARENT_ACCOUNT: false depend-on: - build_windows - upload_pkg_binaries - - identifier: w_general_config_headless_init_help_hooks_c_init_force_push + - identifier: w_function_2d_general_config_headless_init_help_hooks_c buildspec: codebuild_specs/run_e2e_tests_windows.yml env: type: WINDOWS_SERVER_2019_CONTAINER @@ -1569,14 +1568,13 @@ batch: image: $WINDOWS_IMAGE_2019 variables: TEST_SUITE: >- - src/__tests__/general-config/general-config-headless-init.test.ts|src/__tests__/help.test.ts|src/__tests__/hooks-c.test.ts|src/__tests__/init-force-push.test.ts - CLI_REGION: us-west-2 + src/__tests__/function_2d.test.ts|src/__tests__/general-config/general-config-headless-init.test.ts|src/__tests__/help.test.ts|src/__tests__/hooks-c.test.ts + CLI_REGION: eu-west-2 USE_PARENT_ACCOUNT: false depend-on: - build_windows - upload_pkg_binaries - - identifier: >- - w_interactions_1_interactions_2_minify_cloudformation_notifications_multi_env + - identifier: w_init_force_push_interactions_1_interactions_2_minify_cloudformation buildspec: codebuild_specs/run_e2e_tests_windows.yml env: type: WINDOWS_SERVER_2019_CONTAINER @@ -1584,13 +1582,13 @@ batch: image: $WINDOWS_IMAGE_2019 variables: TEST_SUITE: >- - src/__tests__/interactions-1.test.ts|src/__tests__/interactions-2.test.ts|src/__tests__/minify-cloudformation.test.ts|src/__tests__/notifications-multi-env.test.ts + src/__tests__/init-force-push.test.ts|src/__tests__/interactions-1.test.ts|src/__tests__/interactions-2.test.ts|src/__tests__/minify-cloudformation.test.ts CLI_REGION: us-west-2 USE_PARENT_ACCOUNT: false depend-on: - build_windows - upload_pkg_binaries - - identifier: w_parameter_store_1_parameter_store_2_pull_2_push + - identifier: w_notifications_multi_env_parameter_store_1_parameter_store_2_pull_2 buildspec: codebuild_specs/run_e2e_tests_windows.yml env: type: WINDOWS_SERVER_2019_CONTAINER @@ -1598,13 +1596,13 @@ batch: image: $WINDOWS_IMAGE_2019 variables: TEST_SUITE: >- - src/__tests__/parameter-store-1.test.ts|src/__tests__/parameter-store-2.test.ts|src/__tests__/pull-2.test.ts|src/__tests__/push.test.ts + src/__tests__/notifications-multi-env.test.ts|src/__tests__/parameter-store-1.test.ts|src/__tests__/parameter-store-2.test.ts|src/__tests__/pull-2.test.ts CLI_REGION: eu-west-2 USE_PARENT_ACCOUNT: false depend-on: - build_windows - upload_pkg_binaries - - identifier: w_smoketest_api_8_schema_iterative_update_locking_api_lambda_auth_2 + - identifier: w_push_smoketest_api_8_schema_iterative_update_locking buildspec: codebuild_specs/run_e2e_tests_windows.yml env: type: WINDOWS_SERVER_2019_CONTAINER @@ -1612,13 +1610,13 @@ batch: image: $WINDOWS_IMAGE_2019 variables: TEST_SUITE: >- - src/__tests__/smoketest.test.ts|src/__tests__/api_8.test.ts|src/__tests__/schema-iterative-update-locking.test.ts|src/__tests__/graphql-v2/api_lambda_auth_2.test.ts - CLI_REGION: ap-southeast-2 + src/__tests__/push.test.ts|src/__tests__/smoketest.test.ts|src/__tests__/api_8.test.ts|src/__tests__/schema-iterative-update-locking.test.ts + CLI_REGION: us-east-2 USE_PARENT_ACCOUNT: false depend-on: - build_windows - upload_pkg_binaries - - identifier: w_schema_auth_13_function_5_schema_iterative_update_1_auth_6 + - identifier: w_api_lambda_auth_2_schema_auth_13_function_5_schema_iterative_update_1 buildspec: codebuild_specs/run_e2e_tests_windows.yml env: type: WINDOWS_SERVER_2019_CONTAINER @@ -1626,13 +1624,13 @@ batch: image: $WINDOWS_IMAGE_2019 variables: TEST_SUITE: >- - src/__tests__/schema-auth-13.test.ts|src/__tests__/function_5.test.ts|src/__tests__/schema-iterative-update-1.test.ts|src/__tests__/auth_6.test.ts - CLI_REGION: ap-southeast-1 + src/__tests__/graphql-v2/api_lambda_auth_2.test.ts|src/__tests__/schema-auth-13.test.ts|src/__tests__/function_5.test.ts|src/__tests__/schema-iterative-update-1.test.ts + CLI_REGION: us-west-2 USE_PARENT_ACCOUNT: false depend-on: - build_windows - upload_pkg_binaries - - identifier: w_function_2a_schema_connection_2_schema_function_1_api_9b + - identifier: w_auth_6_function_2a_schema_connection_2_schema_function_1 buildspec: codebuild_specs/run_e2e_tests_windows.yml env: type: WINDOWS_SERVER_2019_CONTAINER @@ -1640,14 +1638,13 @@ batch: image: $WINDOWS_IMAGE_2019 variables: TEST_SUITE: >- - src/__tests__/function_2a.test.ts|src/__tests__/schema-connection-2.test.ts|src/__tests__/schema-function-1.test.ts|src/__tests__/api_9b.test.ts - CLI_REGION: us-east-2 + src/__tests__/auth_6.test.ts|src/__tests__/function_2a.test.ts|src/__tests__/schema-connection-2.test.ts|src/__tests__/schema-function-1.test.ts + CLI_REGION: ap-northeast-1 USE_PARENT_ACCOUNT: false depend-on: - build_windows - upload_pkg_binaries - - identifier: >- - w_custom_policies_container_function_9b_schema_iterative_update_2_storage_1a + - identifier: w_api_9b_custom_policies_container_function_9b_schema_iterative_update_2 buildspec: codebuild_specs/run_e2e_tests_windows.yml env: type: WINDOWS_SERVER_2019_CONTAINER @@ -1655,13 +1652,13 @@ batch: image: $WINDOWS_IMAGE_2019 variables: TEST_SUITE: >- - src/__tests__/custom_policies_container.test.ts|src/__tests__/function_9b.test.ts|src/__tests__/schema-iterative-update-2.test.ts|src/__tests__/storage-1a.test.ts - CLI_REGION: ap-northeast-1 + src/__tests__/api_9b.test.ts|src/__tests__/custom_policies_container.test.ts|src/__tests__/function_9b.test.ts|src/__tests__/schema-iterative-update-2.test.ts + CLI_REGION: us-west-2 USE_PARENT_ACCOUNT: false depend-on: - build_windows - upload_pkg_binaries - - identifier: w_storage_1b_function_11_function_2b_api_connection_migration2 + - identifier: w_storage_1a_storage_1b_function_11_function_2b buildspec: codebuild_specs/run_e2e_tests_windows.yml env: type: WINDOWS_SERVER_2019_CONTAINER @@ -1669,13 +1666,13 @@ batch: image: $WINDOWS_IMAGE_2019 variables: TEST_SUITE: >- - src/__tests__/storage-1b.test.ts|src/__tests__/function_11.test.ts|src/__tests__/function_2b.test.ts|src/__tests__/migration/api.connection.migration2.test.ts - CLI_REGION: us-west-2 + src/__tests__/storage-1a.test.ts|src/__tests__/storage-1b.test.ts|src/__tests__/function_11.test.ts|src/__tests__/function_2b.test.ts + CLI_REGION: us-east-2 USE_PARENT_ACCOUNT: false depend-on: - build_windows - upload_pkg_binaries - - identifier: w_api_4_containers_api_secrets_storage_4_schema_auth_10 + - identifier: w_api_connection_migration2_api_4_containers_api_secrets_storage_4 buildspec: codebuild_specs/run_e2e_tests_windows.yml env: type: WINDOWS_SERVER_2019_CONTAINER @@ -1683,13 +1680,13 @@ batch: image: $WINDOWS_IMAGE_2019 variables: TEST_SUITE: >- - src/__tests__/api_4.test.ts|src/__tests__/containers-api-secrets.test.ts|src/__tests__/storage-4.test.ts|src/__tests__/schema-auth-10.test.ts - CLI_REGION: us-west-2 + src/__tests__/migration/api.connection.migration2.test.ts|src/__tests__/api_4.test.ts|src/__tests__/containers-api-secrets.test.ts|src/__tests__/storage-4.test.ts + CLI_REGION: ap-southeast-1 USE_PARENT_ACCOUNT: false depend-on: - build_windows - upload_pkg_binaries - - identifier: w_geo_multi_env_searchable_datastore_resolvers_schema_key + - identifier: w_schema_auth_10_geo_multi_env_searchable_datastore_resolvers buildspec: codebuild_specs/run_e2e_tests_windows.yml env: type: WINDOWS_SERVER_2019_CONTAINER @@ -1697,13 +1694,13 @@ batch: image: $WINDOWS_IMAGE_2019 variables: TEST_SUITE: >- - src/__tests__/geo-multi-env.test.ts|src/__tests__/graphql-v2/searchable-datastore.test.ts|src/__tests__/resolvers.test.ts|src/__tests__/schema-key.test.ts - CLI_REGION: us-east-2 + src/__tests__/schema-auth-10.test.ts|src/__tests__/geo-multi-env.test.ts|src/__tests__/graphql-v2/searchable-datastore.test.ts|src/__tests__/resolvers.test.ts + CLI_REGION: ap-northeast-1 USE_PARENT_ACCOUNT: false depend-on: - build_windows - upload_pkg_binaries - - identifier: w_api_5_apigw_api_lambda_auth_1_api_key_migration2 + - identifier: w_schema_key_api_5_apigw_api_lambda_auth_1 buildspec: codebuild_specs/run_e2e_tests_windows.yml env: type: WINDOWS_SERVER_2019_CONTAINER @@ -1711,13 +1708,13 @@ batch: image: $WINDOWS_IMAGE_2019 variables: TEST_SUITE: >- - src/__tests__/api_5.test.ts|src/__tests__/apigw.test.ts|src/__tests__/graphql-v2/api_lambda_auth_1.test.ts|src/__tests__/migration/api.key.migration2.test.ts - CLI_REGION: ap-southeast-2 + src/__tests__/schema-key.test.ts|src/__tests__/api_5.test.ts|src/__tests__/apigw.test.ts|src/__tests__/graphql-v2/api_lambda_auth_1.test.ts + CLI_REGION: us-east-1 USE_PARENT_ACCOUNT: false depend-on: - build_windows - upload_pkg_binaries - - identifier: w_schema_searchable_api_key_migration1_schema_auth_14_api_3 + - identifier: w_api_key_migration2_schema_searchable_api_key_migration1_schema_auth_14 buildspec: codebuild_specs/run_e2e_tests_windows.yml env: type: WINDOWS_SERVER_2019_CONTAINER @@ -1725,13 +1722,13 @@ batch: image: $WINDOWS_IMAGE_2019 variables: TEST_SUITE: >- - src/__tests__/schema-searchable.test.ts|src/__tests__/migration/api.key.migration1.test.ts|src/__tests__/schema-auth-14.test.ts|src/__tests__/api_3.test.ts - CLI_REGION: us-east-1 + src/__tests__/migration/api.key.migration2.test.ts|src/__tests__/schema-searchable.test.ts|src/__tests__/migration/api.key.migration1.test.ts|src/__tests__/schema-auth-14.test.ts + CLI_REGION: ap-southeast-1 USE_PARENT_ACCOUNT: false depend-on: - build_windows - upload_pkg_binaries - - identifier: w_api_6b_api_1_layer_1_api_key_migration4 + - identifier: w_api_3_api_6b_api_1_layer_1 buildspec: codebuild_specs/run_e2e_tests_windows.yml env: type: WINDOWS_SERVER_2019_CONTAINER @@ -1739,13 +1736,13 @@ batch: image: $WINDOWS_IMAGE_2019 variables: TEST_SUITE: >- - src/__tests__/api_6b.test.ts|src/__tests__/api_1.test.ts|src/__tests__/layer-1.test.ts|src/__tests__/migration/api.key.migration4.test.ts + src/__tests__/api_3.test.ts|src/__tests__/api_6b.test.ts|src/__tests__/api_1.test.ts|src/__tests__/layer-1.test.ts CLI_REGION: ap-northeast-1 USE_PARENT_ACCOUNT: false depend-on: - build_windows - upload_pkg_binaries - - identifier: w_schema_iterative_update_4_function_1 + - identifier: w_api_key_migration4_schema_iterative_update_4_function_1 buildspec: codebuild_specs/run_e2e_tests_windows.yml env: type: WINDOWS_SERVER_2019_CONTAINER @@ -1753,8 +1750,8 @@ batch: image: $WINDOWS_IMAGE_2019 variables: TEST_SUITE: >- - src/__tests__/schema-iterative-update-4.test.ts|src/__tests__/function_1.test.ts - CLI_REGION: ap-southeast-1 + src/__tests__/migration/api.key.migration4.test.ts|src/__tests__/schema-iterative-update-4.test.ts|src/__tests__/function_1.test.ts + CLI_REGION: eu-west-2 USE_PARENT_ACCOUNT: false depend-on: - build_windows @@ -1767,7 +1764,7 @@ batch: image: $WINDOWS_IMAGE_2019 variables: TEST_SUITE: src/__tests__/auth_2c.test.ts - CLI_REGION: ap-northeast-1 + CLI_REGION: us-west-2 USE_PARENT_ACCOUNT: false depend-on: - build_windows @@ -1780,7 +1777,7 @@ batch: image: $WINDOWS_IMAGE_2019 variables: TEST_SUITE: src/__tests__/auth_2e.test.ts - CLI_REGION: ap-northeast-1 + CLI_REGION: eu-west-2 USE_PARENT_ACCOUNT: false depend-on: - build_windows @@ -1806,7 +1803,7 @@ batch: image: $WINDOWS_IMAGE_2019 variables: TEST_SUITE: src/__tests__/notifications-in-app-messaging.test.ts - CLI_REGION: us-west-2 + CLI_REGION: ap-northeast-1 USE_PARENT_ACCOUNT: false depend-on: - build_windows @@ -1819,7 +1816,7 @@ batch: image: $WINDOWS_IMAGE_2019 variables: TEST_SUITE: src/__tests__/schema-auth-11-a.test.ts - CLI_REGION: us-west-2 + CLI_REGION: eu-west-2 USE_PARENT_ACCOUNT: false depend-on: - build_windows @@ -1832,7 +1829,7 @@ batch: image: $WINDOWS_IMAGE_2019 variables: TEST_SUITE: src/__tests__/import_s3_3.test.ts - CLI_REGION: ap-southeast-2 + CLI_REGION: eu-west-2 USE_PARENT_ACCOUNT: false depend-on: - build_windows @@ -1845,7 +1842,7 @@ batch: image: $WINDOWS_IMAGE_2019 variables: TEST_SUITE: src/__tests__/hostingPROD.test.ts - CLI_REGION: ap-northeast-1 + CLI_REGION: us-east-1 USE_PARENT_ACCOUNT: false depend-on: - build_windows @@ -1858,7 +1855,7 @@ batch: image: $WINDOWS_IMAGE_2019 variables: TEST_SUITE: src/__tests__/containers-api-1.test.ts - CLI_REGION: ap-northeast-1 + CLI_REGION: us-east-1 USE_PARENT_ACCOUNT: false depend-on: - build_windows @@ -1871,7 +1868,7 @@ batch: image: $WINDOWS_IMAGE_2019 variables: TEST_SUITE: src/__tests__/schema-auth-15.test.ts - CLI_REGION: ap-northeast-1 + CLI_REGION: ap-southeast-2 USE_PARENT_ACCOUNT: false depend-on: - build_windows @@ -1884,7 +1881,7 @@ batch: image: $WINDOWS_IMAGE_2019 variables: TEST_SUITE: src/__tests__/schema-connection-1.test.ts - CLI_REGION: us-east-2 + CLI_REGION: eu-west-2 USE_PARENT_ACCOUNT: false depend-on: - build_windows @@ -1897,7 +1894,7 @@ batch: image: $WINDOWS_IMAGE_2019 variables: TEST_SUITE: src/__tests__/containers-api-2.test.ts - CLI_REGION: ap-northeast-1 + CLI_REGION: us-east-2 USE_PARENT_ACCOUNT: false depend-on: - build_windows @@ -1910,7 +1907,7 @@ batch: image: $WINDOWS_IMAGE_2019 variables: TEST_SUITE: src/__tests__/import_s3_1.test.ts - CLI_REGION: us-west-2 + CLI_REGION: ap-southeast-1 USE_PARENT_ACCOUNT: true depend-on: - build_windows @@ -1923,7 +1920,7 @@ batch: image: $WINDOWS_IMAGE_2019 variables: TEST_SUITE: src/__tests__/transformer-migrations/searchable-migration.test.ts - CLI_REGION: us-west-2 + CLI_REGION: us-east-1 USE_PARENT_ACCOUNT: true depend-on: - build_windows @@ -1936,7 +1933,7 @@ batch: image: $WINDOWS_IMAGE_2019 variables: TEST_SUITE: src/__tests__/geo-remove-1.test.ts - CLI_REGION: eu-central-1 + CLI_REGION: eu-west-2 USE_PARENT_ACCOUNT: false depend-on: - build_windows @@ -1958,8 +1955,7 @@ batch: env: compute-type: BUILD_GENERAL1_MEDIUM variables: - WAIT_FOR_IDS: >- - l_datastore_modelgen_amplify_app_diagnose_hooks_a,l_mock_api_analytics_kinesis_analytics_pinpoint_flutter_analytics_pinpoint_js,l_auth_2a_auth_2b_auth_2d_auth_2f,l_notifications_lifecycle_uibuilder_notifications_analytics_compatibility_in_app_1_notifications_analytics_compatibility_sms_2,l_analytics_2_global_sandbox_c_hooks_b_notifications_analytics_compatibility_sms_1,l_plugin_studio_modelgen_custom_transformers_notifications_in_app_messaging_env_1,l_notifications_sms_pull_pull_auth_10_container_hosting,l_init_b_notifications_apns_notifications_fcm_notifications_in_app_messaging_env_2,l_with_babel_config_amplify_configure_env_2_init_d,l_init_f_auth_5d_configure_project_git_clone_attach,l_init_c_layer_4_function_2c_function_3b,l_function_4_interactions_schema_model_a_tags,l_auth_1a_auth_trigger_custom_policies_function_function_6,l_storage_2_export_iam_permissions_boundary_node_function,l_notifications_sms_schema_auth_4b_schema_model_e_schema_versioned,l_auth_1c_auth_5e_auth_8b_geo_add_b,l_s3_sse_schema_auth_4a_schema_model_b_schema_model_d,l_auth_5f_env_4_frontend_config_drift_schema_auth_4d,l_schema_auth_6a_schema_data_access_patterns_schema_model_c_schema_predictions,l_model_migration_auth_3c_auth_4c_auth_5a,l_auth_5c_env_1_geo_add_a_init_a,l_schema_auth_4c_schema_auth_5c_auth_5b_auth_9,l_custom_resources_env_5_function_10_function_9c,l_function_permissions_geo_import_1a_geo_import_2_global_sandbox_b,l_schema_auth_5d_schema_auth_6b_schema_auth_8c_auth_3a,l_auth_3b_auth_4a_auth_7a_auth_8c,l_feature_flags_geo_import_1b_global_sandbox_a_init_e,l_notifications_analytics_compatibility_in_app_2_schema_auth_11_c_schema_auth_2b_schema_auth_6c,l_schema_auth_6d_schema_auth_7c_schema_auth_8a_function_migration,l_api_10_api_7_export_pull_a_function_9a,l_geo_headless_api_key_migration5_schema_auth_1a_schema_auth_5b,l_schema_auth_8b_schema_auth_9_a_schema_auth_9_c_storage_3,l_auth_11_auth_1b_delete_geo_add_c,l_geo_add_d_geo_import_3_hosting_layer_3,l_api_connection_migration_api_key_migration3_predictions_schema_auth_11_b,l_schema_auth_1b_schema_auth_2a_schema_auth_7a_schema_auth_7b,l_schema_auth_9_b_schema_iterative_rollback_1_predictions_migration_api_6a,l_auth_7b_export_pull_b_function_3a_init_special_case,l_http_migration_schema_auth_12_schema_auth_3_schema_function_2,l_auth_4b_auth_8a_export_pull_d_schema_auth_5a,l_schema_iterative_rollback_2_schema_iterative_update_3_auth_migration_api_2a,l_api_2b_api_6c_api_9a_auth_12,l_auth_2g_custom_resource_with_storage_dynamodb_simulator_export_pull_c,l_function_2d_general_config_headless_init_help_hooks_c,l_init_force_push_interactions_1_interactions_2_minify_cloudformation,l_notifications_multi_env_opensearch_simulator_parameter_store_1_parameter_store_2,l_android_analytics_pinpoint_config_android_notifications_pinpoint_config_flutter_analytics_pinpoint_config_flutter_notificatio,l_ios_analytics_pinpoint_config_ios_notifications_pinpoint_config_javascript_analytics_pinpoint_config_javascript_notifications,l_pull_2_push_smoketest_S3server,l_api_8_function_8_schema_iterative_update_locking_api_lambda_auth_2,l_layer_2_schema_auth_13_function_5_schema_iterative_update_1,l_auth_6_function_2a_schema_connection_2_schema_function_1,l_api_9b_custom_policies_container_function_9b_schema_iterative_update_2,l_storage_1a_storage_1b_function_11_function_2b,l_function_7_api_connection_migration2_api_4_containers_api_secrets,l_storage_4_schema_auth_10_geo_multi_env_searchable_datastore,l_resolvers_schema_key_api_5_apigw,l_api_lambda_auth_1_api_key_migration2_schema_searchable_api_key_migration1,l_schema_auth_14_api_3_api_6b_api_1,l_layer_1_api_key_migration4_schema_iterative_update_4_function_1,l_storage_5,l_auth_2c,l_auth_2e,l_geo_remove_3,l_geo_add_f,l_geo_add_e,l_import_dynamodb_2c,l_env_3,l_geo_remove_2,l_notifications_in_app_messaging,l_import_auth_2a,l_import_auth_1a,l_import_auth_2b,l_import_s3_2a,l_import_s3_2c,l_import_auth_1b,l_schema_auth_11_a,l_geo_update_1,l_geo_update_2,l_import_s3_3,l_import_dynamodb_2b,l_hostingPROD,l_import_s3_2b,l_containers_api_1,l_schema_auth_15,l_schema_connection_1,l_import_auth_3,l_import_dynamodb_2a,l_containers_api_2,l_import_s3_1,l_searchable_migration,l_geo_remove_1,l_import_dynamodb_1,w_analytics_kinesis_analytics_pinpoint_flutter_analytics_pinpoint_js_auth_2a,w_auth_2b_auth_2d_auth_2f_notifications_lifecycle,w_notifications_analytics_compatibility_in_app_1_notifications_analytics_compatibility_sms_2_analytics_2_global_sandbox_c,w_hooks_b_notifications_analytics_compatibility_sms_1_plugin_studio_modelgen,w_custom_transformers_notifications_in_app_messaging_env_1_notifications_sms_pull_auth_10,w_container_hosting_init_b_notifications_apns_notifications_fcm,w_notifications_in_app_messaging_env_2_with_babel_config_amplify_configure_init_d,w_init_f_auth_5d_configure_project_init_c,w_layer_4_function_2c_interactions_schema_model_a,w_tags_auth_1a_auth_trigger_custom_policies_function,w_storage_2_iam_permissions_boundary_node_function_notifications_sms,w_schema_auth_4b_schema_model_e_schema_versioned_auth_1c,w_auth_5e_auth_8b_geo_add_b_s3_sse,w_schema_auth_4a_schema_model_b_schema_model_d_auth_5f,w_env_4_frontend_config_drift_schema_auth_4d_schema_auth_6a,w_schema_data_access_patterns_schema_model_c_schema_predictions_model_migration,w_auth_3c_auth_4c_auth_5a_auth_5c,w_env_1_geo_add_a_init_a_schema_auth_4c,w_schema_auth_5c_auth_5b_auth_9_custom_resources,w_env_5_function_10_function_9c_function_permissions,w_geo_import_1a_geo_import_2_global_sandbox_b_schema_auth_5d,w_schema_auth_6b_schema_auth_8c_auth_3a_auth_3b,w_auth_4a_auth_7a_auth_8c_feature_flags,w_geo_import_1b_global_sandbox_a_init_e_notifications_analytics_compatibility_in_app_2,w_schema_auth_11_c_schema_auth_2b_schema_auth_6c_schema_auth_6d,w_schema_auth_7c_schema_auth_8a_function_migration_api_10,w_api_7_export_pull_a_function_9a_geo_headless,w_api_key_migration5_schema_auth_1a_schema_auth_5b_schema_auth_8b,w_schema_auth_9_a_schema_auth_9_c_storage_3_auth_11,w_auth_1b_delete_geo_add_c_geo_add_d,w_geo_import_3_hosting_layer_3_api_connection_migration,w_api_key_migration3_predictions_schema_auth_11_b_schema_auth_1b,w_schema_auth_2a_schema_auth_7a_schema_auth_7b_schema_auth_9_b,w_predictions_migration_api_6a_auth_7b_export_pull_b,w_init_special_case_http_migration_schema_auth_12_schema_auth_3,w_schema_function_2_auth_4b_auth_8a_export_pull_d,w_schema_auth_5a_schema_iterative_update_3_auth_migration_api_2a,w_api_2b_api_6c_api_9a_auth_2g,w_custom_resource_with_storage_dynamodb_simulator_export_pull_c_function_2d,w_general_config_headless_init_help_hooks_c_init_force_push,w_interactions_1_interactions_2_minify_cloudformation_notifications_multi_env,w_parameter_store_1_parameter_store_2_pull_2_push,w_smoketest_api_8_schema_iterative_update_locking_api_lambda_auth_2,w_schema_auth_13_function_5_schema_iterative_update_1_auth_6,w_function_2a_schema_connection_2_schema_function_1_api_9b,w_custom_policies_container_function_9b_schema_iterative_update_2_storage_1a,w_storage_1b_function_11_function_2b_api_connection_migration2,w_api_4_containers_api_secrets_storage_4_schema_auth_10,w_geo_multi_env_searchable_datastore_resolvers_schema_key,w_api_5_apigw_api_lambda_auth_1_api_key_migration2,w_schema_searchable_api_key_migration1_schema_auth_14_api_3,w_api_6b_api_1_layer_1_api_key_migration4,w_schema_iterative_update_4_function_1,w_auth_2c,w_auth_2e,w_env_3,w_notifications_in_app_messaging,w_schema_auth_11_a,w_import_s3_3,w_hostingPROD,w_containers_api_1,w_schema_auth_15,w_schema_connection_1,w_containers_api_2,w_import_s3_1,w_searchable_migration,w_geo_remove_1,w_import_dynamodb_1 + WAIT_FOR_IDS_FILE_PATH: ./codebuild_specs/wait_for_ids.json buildspec: codebuild_specs/aggregate_e2e_reports.yml depend-on: - upload_pkg_binaries @@ -1970,7 +1966,7 @@ batch: variables: TEST_SUITE: >- src/__tests__/migration_tests/notifications-migration/notifications-migration-4.test.ts - CLI_REGION: eu-central-1 + CLI_REGION: eu-west-2 depend-on: - upload_pkg_binaries - identifier: l_api_key_migration_v5 @@ -1980,7 +1976,7 @@ batch: variables: TEST_SUITE: >- src/__tests__/migration_tests/transformer_migration/api.key.migration.test.ts - CLI_REGION: ap-southeast-2 + CLI_REGION: us-east-2 depend-on: - upload_pkg_binaries - identifier: l_notifications_migration_v5 @@ -1990,7 +1986,7 @@ batch: variables: TEST_SUITE: >- src/__tests__/migration_tests/notifications-migration/notifications-migration.test.ts - CLI_REGION: us-west-2 + CLI_REGION: us-east-2 depend-on: - upload_pkg_binaries - identifier: l_api_key_migration_2_v5 @@ -2000,7 +1996,7 @@ batch: variables: TEST_SUITE: >- src/__tests__/migration_tests/transformer_migration/api.key.migration-2.test.ts - CLI_REGION: ap-southeast-2 + CLI_REGION: ap-southeast-1 depend-on: - upload_pkg_binaries - identifier: l_notifications_migration_2_v5 @@ -2010,7 +2006,7 @@ batch: variables: TEST_SUITE: >- src/__tests__/migration_tests/notifications-migration/notifications-migration-2.test.ts - CLI_REGION: ap-southeast-1 + CLI_REGION: us-west-2 depend-on: - upload_pkg_binaries - identifier: l_function_migration_update_v5 @@ -2019,7 +2015,7 @@ batch: compute-type: BUILD_GENERAL1_SMALL variables: TEST_SUITE: src/__tests__/update_tests/function_migration_update.test.ts - CLI_REGION: us-west-2 + CLI_REGION: ap-southeast-2 depend-on: - upload_pkg_binaries - identifier: l_storage_migration_update_v5 @@ -2028,7 +2024,7 @@ batch: compute-type: BUILD_GENERAL1_SMALL variables: TEST_SUITE: src/__tests__/update_tests/storage_migration_update.test.ts - CLI_REGION: eu-west-2 + CLI_REGION: us-east-1 depend-on: - upload_pkg_binaries - identifier: l_auth_migration_update_v5 @@ -2037,7 +2033,7 @@ batch: compute-type: BUILD_GENERAL1_SMALL variables: TEST_SUITE: src/__tests__/update_tests/auth_migration_update.test.ts - CLI_REGION: us-east-2 + CLI_REGION: ap-northeast-1 depend-on: - upload_pkg_binaries - identifier: l_notifications_migration_3_v5 @@ -2047,7 +2043,7 @@ batch: variables: TEST_SUITE: >- src/__tests__/migration_tests/notifications-migration/notifications-migration-3.test.ts - CLI_REGION: us-west-2 + CLI_REGION: us-east-2 depend-on: - upload_pkg_binaries - identifier: l_api_migration_update_v5 @@ -2056,7 +2052,7 @@ batch: compute-type: BUILD_GENERAL1_SMALL variables: TEST_SUITE: src/__tests__/update_tests/api_migration_update.test.ts - CLI_REGION: ap-southeast-2 + CLI_REGION: us-east-1 depend-on: - upload_pkg_binaries - identifier: l_auth_migration_d_v6 @@ -2065,7 +2061,7 @@ batch: compute-type: BUILD_GENERAL1_SMALL variables: TEST_SUITE: src/__tests__/migration_tests/overrides/auth-migration-d.test.ts - CLI_REGION: us-west-2 + CLI_REGION: ap-northeast-1 depend-on: - upload_pkg_binaries - identifier: l_init_migration_v6 @@ -2074,7 +2070,7 @@ batch: compute-type: BUILD_GENERAL1_SMALL variables: TEST_SUITE: src/__tests__/migration_tests/overrides/init-migration.test.ts - CLI_REGION: us-west-2 + CLI_REGION: eu-west-2 depend-on: - upload_pkg_binaries - identifier: l_notifications_migration_4_v6 @@ -2084,7 +2080,7 @@ batch: variables: TEST_SUITE: >- src/__tests__/migration_tests/notifications-migration/notifications-migration-4.test.ts - CLI_REGION: us-west-2 + CLI_REGION: ap-northeast-1 depend-on: - upload_pkg_binaries - identifier: l_auth_migration_e_v6 @@ -2103,7 +2099,7 @@ batch: variables: TEST_SUITE: >- src/__tests__/migration_tests/transformer_migration/api.key.migration.test.ts - CLI_REGION: ap-northeast-1 + CLI_REGION: us-east-1 depend-on: - upload_pkg_binaries - identifier: l_api_migration_d_v6 @@ -2112,7 +2108,7 @@ batch: compute-type: BUILD_GENERAL1_SMALL variables: TEST_SUITE: src/__tests__/migration_tests/overrides/api-migration-d.test.ts - CLI_REGION: us-west-2 + CLI_REGION: eu-central-1 depend-on: - upload_pkg_binaries - identifier: l_auth_migration_b_v6 @@ -2121,7 +2117,7 @@ batch: compute-type: BUILD_GENERAL1_SMALL variables: TEST_SUITE: src/__tests__/migration_tests/overrides/auth-migration-b.test.ts - CLI_REGION: ap-southeast-2 + CLI_REGION: us-east-1 depend-on: - upload_pkg_binaries - identifier: l_api_migration_c_v6 @@ -2130,7 +2126,7 @@ batch: compute-type: BUILD_GENERAL1_SMALL variables: TEST_SUITE: src/__tests__/migration_tests/overrides/api-migration-c.test.ts - CLI_REGION: us-east-1 + CLI_REGION: ap-southeast-2 depend-on: - upload_pkg_binaries - identifier: l_auth_migration_c_v6 @@ -2139,7 +2135,7 @@ batch: compute-type: BUILD_GENERAL1_SMALL variables: TEST_SUITE: src/__tests__/migration_tests/overrides/auth-migration-c.test.ts - CLI_REGION: eu-central-1 + CLI_REGION: us-west-2 depend-on: - upload_pkg_binaries - identifier: l_notifications_migration_v6 @@ -2149,7 +2145,7 @@ batch: variables: TEST_SUITE: >- src/__tests__/migration_tests/notifications-migration/notifications-migration.test.ts - CLI_REGION: ap-northeast-1 + CLI_REGION: us-east-2 depend-on: - upload_pkg_binaries - identifier: l_api_migration_b_v6 @@ -2158,7 +2154,7 @@ batch: compute-type: BUILD_GENERAL1_SMALL variables: TEST_SUITE: src/__tests__/migration_tests/overrides/api-migration-b.test.ts - CLI_REGION: ap-southeast-1 + CLI_REGION: us-west-2 depend-on: - upload_pkg_binaries - identifier: l_auth_migration_a_v6 @@ -2167,7 +2163,7 @@ batch: compute-type: BUILD_GENERAL1_SMALL variables: TEST_SUITE: src/__tests__/migration_tests/overrides/auth-migration-a.test.ts - CLI_REGION: ap-southeast-2 + CLI_REGION: us-east-2 depend-on: - upload_pkg_binaries - identifier: l_api_key_migration_2_v6 @@ -2177,7 +2173,7 @@ batch: variables: TEST_SUITE: >- src/__tests__/migration_tests/transformer_migration/api.key.migration-2.test.ts - CLI_REGION: ap-southeast-1 + CLI_REGION: us-east-1 depend-on: - upload_pkg_binaries - identifier: l_api_migration_a_v6 @@ -2196,7 +2192,7 @@ batch: variables: TEST_SUITE: >- src/__tests__/migration_tests/notifications-migration/notifications-migration-2.test.ts - CLI_REGION: us-west-2 + CLI_REGION: ap-southeast-1 depend-on: - upload_pkg_binaries - identifier: l_apigw_ext_migration_v6 @@ -2205,7 +2201,7 @@ batch: compute-type: BUILD_GENERAL1_SMALL variables: TEST_SUITE: src/__tests__/migration_tests/overrides/apigw-ext-migration.test.ts - CLI_REGION: ap-southeast-1 + CLI_REGION: ap-northeast-1 depend-on: - upload_pkg_binaries - identifier: l_function_migration_update_v6 @@ -2214,7 +2210,7 @@ batch: compute-type: BUILD_GENERAL1_SMALL variables: TEST_SUITE: src/__tests__/update_tests/function_migration_update.test.ts - CLI_REGION: eu-west-2 + CLI_REGION: eu-central-1 depend-on: - upload_pkg_binaries - identifier: l_storage_migration_update_v6 @@ -2223,7 +2219,7 @@ batch: compute-type: BUILD_GENERAL1_SMALL variables: TEST_SUITE: src/__tests__/update_tests/storage_migration_update.test.ts - CLI_REGION: us-east-1 + CLI_REGION: us-west-2 depend-on: - upload_pkg_binaries - identifier: l_auth_migration_update_v6 @@ -2232,7 +2228,7 @@ batch: compute-type: BUILD_GENERAL1_SMALL variables: TEST_SUITE: src/__tests__/update_tests/auth_migration_update.test.ts - CLI_REGION: us-west-2 + CLI_REGION: ap-southeast-2 depend-on: - upload_pkg_binaries - identifier: l_notifications_migration_3_v6 @@ -2242,7 +2238,7 @@ batch: variables: TEST_SUITE: >- src/__tests__/migration_tests/notifications-migration/notifications-migration-3.test.ts - CLI_REGION: us-east-2 + CLI_REGION: ap-southeast-2 depend-on: - upload_pkg_binaries - identifier: l_api_migration_update_v6 @@ -2251,7 +2247,7 @@ batch: compute-type: BUILD_GENERAL1_SMALL variables: TEST_SUITE: src/__tests__/update_tests/api_migration_update.test.ts - CLI_REGION: ap-southeast-2 + CLI_REGION: us-east-2 depend-on: - upload_pkg_binaries - identifier: l_scaffold_v10 @@ -2260,7 +2256,7 @@ batch: compute-type: BUILD_GENERAL1_SMALL variables: TEST_SUITE: src/__tests__/migration_tests_v10/scaffold.test.ts - CLI_REGION: us-east-2 + CLI_REGION: us-west-2 depend-on: - upload_pkg_binaries - identifier: l_api_graphql_v2_migration_v10 @@ -2269,7 +2265,7 @@ batch: compute-type: BUILD_GENERAL1_SMALL variables: TEST_SUITE: src/__tests__/migration_tests_v10/api-graphql-v2.migration.test.ts - CLI_REGION: us-east-2 + CLI_REGION: ap-southeast-1 depend-on: - upload_pkg_binaries - identifier: l_api_rest_basic_migration_v10 @@ -2278,7 +2274,7 @@ batch: compute-type: BUILD_GENERAL1_SMALL variables: TEST_SUITE: src/__tests__/migration_tests_v10/api-rest-basic.migration.test.ts - CLI_REGION: ap-southeast-1 + CLI_REGION: ap-northeast-1 depend-on: - upload_pkg_binaries - identifier: l_api_rest_lambda_migration_v10 @@ -2297,7 +2293,7 @@ batch: variables: TEST_SUITE: >- src/__tests__/migration_tests_v10/api-rest-serverless.migration.test.ts - CLI_REGION: eu-west-2 + CLI_REGION: eu-central-1 depend-on: - upload_pkg_binaries - identifier: l_auth_add_all_migration_v10 @@ -2306,7 +2302,7 @@ batch: compute-type: BUILD_GENERAL1_SMALL variables: TEST_SUITE: src/__tests__/migration_tests_v10/auth-add-all.migration.test.ts - CLI_REGION: us-east-1 + CLI_REGION: us-east-2 depend-on: - upload_pkg_binaries - identifier: l_auth_override_migration_v10 @@ -2315,7 +2311,7 @@ batch: compute-type: BUILD_GENERAL1_SMALL variables: TEST_SUITE: src/__tests__/migration_tests_v10/auth-override.migration.test.ts - CLI_REGION: us-east-2 + CLI_REGION: us-west-2 depend-on: - upload_pkg_binaries - identifier: l_custom_stack_migration_v10 @@ -2324,7 +2320,7 @@ batch: compute-type: BUILD_GENERAL1_SMALL variables: TEST_SUITE: src/__tests__/migration_tests_v10/custom-stack.migration.test.ts - CLI_REGION: eu-west-2 + CLI_REGION: us-east-1 depend-on: - upload_pkg_binaries - identifier: l_geo_migration_v10 @@ -2333,7 +2329,7 @@ batch: compute-type: BUILD_GENERAL1_SMALL variables: TEST_SUITE: src/__tests__/migration_tests_v10/geo.migration.test.ts - CLI_REGION: ap-southeast-2 + CLI_REGION: eu-west-2 depend-on: - upload_pkg_binaries - identifier: l_git_clone_migration_tests_v10 @@ -2342,7 +2338,7 @@ batch: compute-type: BUILD_GENERAL1_SMALL variables: TEST_SUITE: src/__tests__/migration_tests_v10/git-clone-migration-tests.test.ts - CLI_REGION: us-east-1 + CLI_REGION: us-east-2 depend-on: - upload_pkg_binaries - identifier: l_pinpoint_region_migration_v10 @@ -2360,6 +2356,6 @@ batch: compute-type: BUILD_GENERAL1_SMALL variables: TEST_SUITE: src/__tests__/migration_tests_v10/storage.migration.test.ts - CLI_REGION: us-east-1 + CLI_REGION: ap-northeast-1 depend-on: - upload_pkg_binaries diff --git a/codebuild_specs/wait_for_ids.json b/codebuild_specs/wait_for_ids.json new file mode 100644 index 00000000000..bcfcdacc0a8 --- /dev/null +++ b/codebuild_specs/wait_for_ids.json @@ -0,0 +1,163 @@ +[ + "l_datastore_modelgen_amplify_app_diagnose_hooks_a", + "l_mock_api_analytics_kinesis_analytics_pinpoint_flutter_analytics_pinpoint_js", + "l_auth_2a_auth_2b_auth_2d_auth_2f", + "l_notifications_lifecycle_uibuilder_notifications_analytics_compatibility_in_app_1_notifications_analytics_compatibility_sms_2", + "l_analytics_2_global_sandbox_c_hooks_b_notifications_analytics_compatibility_sms_1", + "l_plugin_studio_modelgen_custom_transformers_notifications_in_app_messaging_env_1", + "l_notifications_sms_pull_pull_auth_10_container_hosting", + "l_init_b_notifications_apns_notifications_fcm_notifications_in_app_messaging_env_2", + "l_with_babel_config_amplify_configure_env_2_init_d", + "l_init_f_auth_5d_configure_project_git_clone_attach", + "l_init_c_layer_4_function_2c_function_3b", + "l_function_4_interactions_schema_model_a_tags", + "l_auth_1a_auth_trigger_custom_policies_function_function_6", + "l_storage_2_export_iam_permissions_boundary_node_function", + "l_notifications_sms_schema_auth_4b_schema_model_e_schema_versioned", + "l_auth_1c_auth_5e_auth_8b_geo_add_b", + "l_s3_sse_schema_auth_4a_schema_model_b_schema_model_d", + "l_auth_5f_env_4_frontend_config_drift_schema_auth_4d", + "l_schema_auth_6a_schema_data_access_patterns_schema_model_c_schema_predictions", + "l_model_migration_auth_3c_auth_4c_auth_5a", + "l_auth_5c_env_1_geo_add_a_init_a", + "l_schema_auth_4c_schema_auth_5c_auth_5b_auth_9", + "l_custom_resources_env_5_function_10_function_9c", + "l_function_permissions_geo_import_1a_geo_import_2_global_sandbox_b", + "l_schema_auth_5d_schema_auth_6b_schema_auth_8c_auth_3a", + "l_auth_3b_auth_4a_auth_7a_auth_8c", + "l_feature_flags_geo_import_1b_global_sandbox_a_init_e", + "l_notifications_analytics_compatibility_in_app_2_schema_auth_11_c_schema_auth_2b_schema_auth_6c", + "l_schema_auth_6d_schema_auth_7c_schema_auth_8a_function_migration", + "l_api_10_api_7_export_pull_a_function_9a", + "l_geo_headless_api_key_migration5_schema_auth_1a_schema_auth_5b", + "l_schema_auth_8b_schema_auth_9_a_schema_auth_9_c_storage_3", + "l_auth_11_auth_1b_delete_geo_add_c", + "l_geo_add_d_geo_import_3_hosting_layer_3", + "l_api_connection_migration_api_key_migration3_predictions_schema_auth_11_b", + "l_schema_auth_1b_schema_auth_2a_schema_auth_7a_schema_auth_7b", + "l_schema_auth_9_b_schema_iterative_rollback_1_predictions_migration_api_6a", + "l_auth_7b_export_pull_b_function_3a_init_special_case", + "l_http_migration_schema_auth_12_schema_auth_3_schema_function_2", + "l_auth_4b_auth_8a_export_pull_d_schema_auth_5a", + "l_schema_iterative_rollback_2_schema_iterative_update_3_auth_migration_api_2a", + "l_api_2b_api_6c_api_9a_auth_12", + "l_auth_2g_custom_resource_with_storage_dynamodb_simulator_export_pull_c", + "l_function_12_function_2d_general_config_headless_init_help", + "l_hooks_c_init_force_push_interactions_1_interactions_2", + "l_minify_cloudformation_notifications_multi_env_opensearch_simulator_parameter_store_1", + "l_parameter_store_2_android_analytics_pinpoint_config_android_notifications_pinpoint_config_flutter_analytics_pinpoint_config", + "l_flutter_notifications_pinpoint_config_ios_analytics_pinpoint_config_ios_notifications_pinpoint_config_javascript_analytics_pi", + "l_javascript_notifications_pinpoint_config_pull_2_push_smoketest", + "l_S3server_api_8_function_8_schema_iterative_update_locking", + "l_api_lambda_auth_2_layer_2_schema_auth_13_function_5", + "l_schema_iterative_update_1_auth_6_function_2a_schema_connection_2", + "l_schema_function_1_api_9b_custom_policies_container_function_9b", + "l_schema_iterative_update_2_storage_1a_storage_1b_function_11", + "l_function_2b_function_7_api_connection_migration2_api_4", + "l_containers_api_secrets_storage_4_schema_auth_10_geo_multi_env", + "l_searchable_datastore_resolvers_schema_key_api_5", + "l_apigw_api_lambda_auth_1_api_key_migration2_schema_searchable", + "l_api_key_migration1_schema_auth_14_api_3_api_6b", + "l_api_1_layer_1_api_key_migration4_schema_iterative_update_4", + "l_function_1_storage_5", + "l_auth_2c", + "l_auth_2e", + "l_geo_remove_3", + "l_geo_add_f", + "l_geo_add_e", + "l_import_dynamodb_2c", + "l_env_3", + "l_geo_remove_2", + "l_notifications_in_app_messaging", + "l_import_auth_2a", + "l_import_auth_1a", + "l_import_auth_2b", + "l_import_s3_2a", + "l_import_s3_2c", + "l_import_auth_1b", + "l_schema_auth_11_a", + "l_geo_update_1", + "l_geo_update_2", + "l_import_s3_3", + "l_import_dynamodb_2b", + "l_hostingPROD", + "l_import_s3_2b", + "l_containers_api_1", + "l_schema_auth_15", + "l_schema_connection_1", + "l_import_auth_3", + "l_import_dynamodb_2a", + "l_containers_api_2", + "l_import_s3_1", + "l_searchable_migration", + "l_geo_remove_1", + "l_import_dynamodb_1", + "w_analytics_kinesis_analytics_pinpoint_flutter_analytics_pinpoint_js_auth_2a", + "w_auth_2b_auth_2d_auth_2f_notifications_lifecycle", + "w_notifications_analytics_compatibility_in_app_1_notifications_analytics_compatibility_sms_2_analytics_2_global_sandbox_c", + "w_hooks_b_notifications_analytics_compatibility_sms_1_plugin_studio_modelgen", + "w_custom_transformers_notifications_in_app_messaging_env_1_notifications_sms_pull_auth_10", + "w_container_hosting_init_b_notifications_apns_notifications_fcm", + "w_notifications_in_app_messaging_env_2_with_babel_config_amplify_configure_init_d", + "w_init_f_auth_5d_configure_project_init_c", + "w_layer_4_function_2c_interactions_schema_model_a", + "w_tags_auth_1a_auth_trigger_custom_policies_function", + "w_storage_2_iam_permissions_boundary_node_function_notifications_sms", + "w_schema_auth_4b_schema_model_e_schema_versioned_auth_1c", + "w_auth_5e_auth_8b_geo_add_b_s3_sse", + "w_schema_auth_4a_schema_model_b_schema_model_d_auth_5f", + "w_env_4_frontend_config_drift_schema_auth_4d_schema_auth_6a", + "w_schema_data_access_patterns_schema_model_c_schema_predictions_model_migration", + "w_auth_3c_auth_4c_auth_5a_auth_5c", + "w_env_1_geo_add_a_init_a_schema_auth_4c", + "w_schema_auth_5c_auth_5b_auth_9_custom_resources", + "w_env_5_function_10_function_9c_function_permissions", + "w_geo_import_1a_geo_import_2_global_sandbox_b_schema_auth_5d", + "w_schema_auth_6b_schema_auth_8c_auth_3a_auth_3b", + "w_auth_4a_auth_7a_auth_8c_feature_flags", + "w_geo_import_1b_global_sandbox_a_init_e_notifications_analytics_compatibility_in_app_2", + "w_schema_auth_11_c_schema_auth_2b_schema_auth_6c_schema_auth_6d", + "w_schema_auth_7c_schema_auth_8a_function_migration_api_10", + "w_api_7_export_pull_a_function_9a_geo_headless", + "w_api_key_migration5_schema_auth_1a_schema_auth_5b_schema_auth_8b", + "w_schema_auth_9_a_schema_auth_9_c_storage_3_auth_11", + "w_auth_1b_delete_geo_add_c_geo_add_d", + "w_geo_import_3_hosting_layer_3_api_connection_migration", + "w_api_key_migration3_predictions_schema_auth_11_b_schema_auth_1b", + "w_schema_auth_2a_schema_auth_7a_schema_auth_7b_schema_auth_9_b", + "w_predictions_migration_api_6a_auth_7b_export_pull_b", + "w_init_special_case_http_migration_schema_auth_12_schema_auth_3", + "w_schema_function_2_auth_4b_auth_8a_export_pull_d", + "w_schema_auth_5a_schema_iterative_update_3_auth_migration_api_2a", + "w_api_2b_api_6c_api_9a_auth_2g", + "w_custom_resource_with_storage_dynamodb_simulator_export_pull_c_function_12", + "w_function_2d_general_config_headless_init_help_hooks_c", + "w_init_force_push_interactions_1_interactions_2_minify_cloudformation", + "w_notifications_multi_env_parameter_store_1_parameter_store_2_pull_2", + "w_push_smoketest_api_8_schema_iterative_update_locking", + "w_api_lambda_auth_2_schema_auth_13_function_5_schema_iterative_update_1", + "w_auth_6_function_2a_schema_connection_2_schema_function_1", + "w_api_9b_custom_policies_container_function_9b_schema_iterative_update_2", + "w_storage_1a_storage_1b_function_11_function_2b", + "w_api_connection_migration2_api_4_containers_api_secrets_storage_4", + "w_schema_auth_10_geo_multi_env_searchable_datastore_resolvers", + "w_schema_key_api_5_apigw_api_lambda_auth_1", + "w_api_key_migration2_schema_searchable_api_key_migration1_schema_auth_14", + "w_api_3_api_6b_api_1_layer_1", + "w_api_key_migration4_schema_iterative_update_4_function_1", + "w_auth_2c", + "w_auth_2e", + "w_env_3", + "w_notifications_in_app_messaging", + "w_schema_auth_11_a", + "w_import_s3_3", + "w_hostingPROD", + "w_containers_api_1", + "w_schema_auth_15", + "w_schema_connection_1", + "w_containers_api_2", + "w_import_s3_1", + "w_searchable_migration", + "w_geo_remove_1", + "w_import_dynamodb_1" +] diff --git a/scripts/package.json b/scripts/package.json index 614814cca8e..74e79ff04d3 100644 --- a/scripts/package.json +++ b/scripts/package.json @@ -23,7 +23,7 @@ "fs-extra": "^10.0.0", "glob": "^7.2.0", "js-yaml": "^4.1.0", - "ts-node": "^10.4.0", + "ts-node": "^10.9.1", "typescript": "^4.4.4" } } diff --git a/scripts/split-e2e-tests-codebuild.ts b/scripts/split-e2e-tests-codebuild.ts index 55ef9f76d9d..dd140c7af3e 100644 --- a/scripts/split-e2e-tests-codebuild.ts +++ b/scripts/split-e2e-tests-codebuild.ts @@ -152,14 +152,6 @@ const splitTestsV3 = ( pickTests: ((testSuites: string[]) => string[]) | undefined, withAggregateReports = false, ) => { - if (!withAggregateReports && baseJobLinux?.reports) { - delete baseJobLinux.reports; - } - - if (!withAggregateReports && baseJobWindows?.reports) { - delete baseJobWindows.reports; - } - const output: any[] = []; let testSuites = getTestFiles(testDirectory); if (pickTests && typeof pickTests === 'function') { @@ -269,11 +261,14 @@ const splitTestsV3 = ( }); if (withAggregateReports) { + const dependeeIdentifiersFileContents = JSON.stringify(dependeeIdentifiers, null, 4); + const waitForIdsFilePath = './codebuild_specs/wait_for_ids.json'; + fs.writeFileSync(waitForIdsFilePath, dependeeIdentifiersFileContents); const reportsAggregator = { identifier: 'aggregate_e2e_reports', env: { 'compute-type': 'BUILD_GENERAL1_MEDIUM', - variables: { WAIT_FOR_IDS: dependeeIdentifiers.join(',') }, + variables: { WAIT_FOR_IDS_FILE_PATH: waitForIdsFilePath }, }, buildspec: 'codebuild_specs/aggregate_e2e_reports.yml', 'depend-on': ['upload_pkg_binaries'], diff --git a/scripts/wait-for-all-codebuild.ts b/scripts/wait-for-all-codebuild.ts new file mode 100644 index 00000000000..910fd9e6ea1 --- /dev/null +++ b/scripts/wait-for-all-codebuild.ts @@ -0,0 +1,62 @@ +import { CodeBuild } from 'aws-sdk'; +import * as fs from 'fs'; + +const getBatchesInProject = async (cb: CodeBuild, codeBuildProjectName: string): Promise => { + const retrievedBatchIds = await cb + .listBuildBatchesForProject({ + projectName: codeBuildProjectName, + filter: { status: 'IN_PROGRESS' }, + }) + .promise(); + return retrievedBatchIds.ids ?? []; +}; + +const getBatchSourceVersionFromBatchId = async (cb: CodeBuild, batchId: string): Promise => { + const retrievedBatchInfo = await cb.batchGetBuildBatches({ ids: [batchId] }).promise(); + return retrievedBatchInfo.buildBatches?.[0].resolvedSourceVersion ?? ''; +}; + +const getIncompleteJobIdsFromBatchId = async (cb: CodeBuild, batchId: string): Promise => { + const retrievedBatchInfo = await cb.batchGetBuildBatches({ ids: [batchId] }).promise(); + const ids = retrievedBatchInfo.buildBatches?.[0].buildGroups + ?.filter((group) => group.currentBuildSummary?.buildStatus === 'IN_PROGRESS' || group.currentBuildSummary?.buildStatus === 'PENDING') + .map((group) => group.identifier ?? ''); + return ids ?? []; +}; + +const main = async () => { + const cb = new CodeBuild({ region: 'us-east-1' }); + const expectedSourceVersion = process.argv[2]; + const jobsDependedOnFilepath = process.argv[3]; + const codeBuildProjectName = process.argv[4]; + const jobsDependedOnRaw = fs.readFileSync(jobsDependedOnFilepath, 'utf8'); + const jobsDependedOn = JSON.parse(jobsDependedOnRaw); + console.log(`Depending on these jobs: ${JSON.stringify(jobsDependedOn)}`); + console.log(`Number of jobs depended on: ${jobsDependedOn.length}`); + const allBatchBuildIds = await getBatchesInProject(cb, codeBuildProjectName); + console.log(`allBatchBuildIds: ${JSON.stringify(allBatchBuildIds)}`); + let batchId = ''; + let failFlag = true; + for (batchId of allBatchBuildIds) { + const batchSourceVersion = await getBatchSourceVersionFromBatchId(cb, batchId); + console.log(`batchId: ${batchId} - batchSourceVersion: ${batchSourceVersion}`); + if (batchSourceVersion === expectedSourceVersion) { + failFlag = false; + break; + } + } + if (failFlag) { + console.log('Could not find matching source version'); + process.exit(1); + } + let intersectingIncompleteJobs: string[]; + do { + await new Promise((resolve) => setTimeout(resolve, 180 * 1000)); // sleep for 180 seconds + const incompleteJobsInBatch = await getIncompleteJobIdsFromBatchId(cb, batchId); + console.log(`These are all of the incomplete jobs in the batch: ${JSON.stringify(incompleteJobsInBatch)}`); + intersectingIncompleteJobs = incompleteJobsInBatch.filter((jobId) => jobsDependedOn.includes(jobId)); + console.log(`Still waiting for these jobs: ${JSON.stringify(intersectingIncompleteJobs)}`); + } while (intersectingIncompleteJobs.length > 0); +}; + +main().then(() => console.log('done')); diff --git a/scripts/yarn.lock b/scripts/yarn.lock index b90d2404fc2..7abd7c7223a 100644 --- a/scripts/yarn.lock +++ b/scripts/yarn.lock @@ -2,17 +2,30 @@ # yarn lockfile v1 -"@cspotcode/source-map-consumer@0.8.0": - version "0.8.0" - resolved "https://registry.npmjs.org/@cspotcode/source-map-consumer/-/source-map-consumer-0.8.0.tgz#33bf4b7b39c178821606f669bbc447a6a629786b" - integrity sha512-41qniHzTU8yAGbCp04ohlmSrZf8bkf/iJsl3V0dRGsQN/5GFfx+LbCSsCpp2gqrqjTVg/K6O8ycoV35JIwAzAg== - -"@cspotcode/source-map-support@0.7.0": - version "0.7.0" - resolved "https://registry.npmjs.org/@cspotcode/source-map-support/-/source-map-support-0.7.0.tgz#4789840aa859e46d2f3173727ab707c66bf344f5" - integrity sha512-X4xqRHqN8ACt2aHVe51OxeA2HjbcL4MqFqXkrmQszJ1NOUuUu5u6Vqx/0lZSVNku7velL5FC/s5uEAj1lsBMhA== +"@cspotcode/source-map-support@^0.8.0": + version "0.8.1" + resolved "https://registry.npmjs.org/@cspotcode/source-map-support/-/source-map-support-0.8.1.tgz#00629c35a688e05a88b1cda684fb9d5e73f000a1" + integrity sha512-IchNf6dN4tHoMFIn/7OE8LWZ19Y6q/67Bmf6vnGREv8RSbBVb9LPJxEcnwrcwX6ixSvaiGoomAUvu4YSxXrVgw== dependencies: - "@cspotcode/source-map-consumer" "0.8.0" + "@jridgewell/trace-mapping" "0.3.9" + +"@jridgewell/resolve-uri@^3.0.3": + version "3.1.1" + resolved "https://registry.npmjs.org/@jridgewell/resolve-uri/-/resolve-uri-3.1.1.tgz#c08679063f279615a3326583ba3a90d1d82cc721" + integrity sha512-dSYZh7HhCDtCKm4QakX0xFpsRDqjjtZf/kjI/v3T3Nwt5r8/qz/M19F9ySyOqU94SXBmeG9ttTul+YnR4LOxFA== + +"@jridgewell/sourcemap-codec@^1.4.10": + version "1.4.15" + resolved "https://registry.npmjs.org/@jridgewell/sourcemap-codec/-/sourcemap-codec-1.4.15.tgz#d7c6e6755c78567a951e04ab52ef0fd26de59f32" + integrity sha512-eF2rxCRulEKXHTRiDrDy6erMYWqNw4LPdQ8UQA4huuxaQsVeRPFl2oM8oDGxMFhJUWZf9McpLtJasDDZb/Bpeg== + +"@jridgewell/trace-mapping@0.3.9": + version "0.3.9" + resolved "https://registry.npmjs.org/@jridgewell/trace-mapping/-/trace-mapping-0.3.9.tgz#6534fd5933a53ba7cbf3a17615e273a0d1273ff9" + integrity sha512-3Belt6tdc8bPgAtbcmdtNJlirVoTmEb5e2gC94PnkwEW9jI6CAHUeoG85tjWP5WquqfavoMtMwiG4P926ZKKuQ== + dependencies: + "@jridgewell/resolve-uri" "^3.0.3" + "@jridgewell/sourcemap-codec" "^1.4.10" "@tsconfig/node10@^1.0.7": version "1.0.8" @@ -303,12 +316,12 @@ strip-final-newline@^2.0.0: resolved "https://registry.npmjs.org/strip-final-newline/-/strip-final-newline-2.0.0.tgz#89b852fb2fcbe936f6f4b3187afb0a12c1ab58ad" integrity sha512-BrpvfNAE3dcvq7ll3xVumzjKjZQ5tI1sEUIKr3Uoks0XUl45St3FlatVqef9prk4jRDzhW6WZg+3bk93y6pLjA== -ts-node@^10.4.0: - version "10.4.0" - resolved "https://registry.npmjs.org/ts-node/-/ts-node-10.4.0.tgz#680f88945885f4e6cf450e7f0d6223dd404895f7" - integrity sha512-g0FlPvvCXSIO1JDF6S232P5jPYqBkRL9qly81ZgAOSU7rwI0stphCgd2kLiCrU9DjQCrJMWEqcNSjQL02s6d8A== +ts-node@^10.9.1: + version "10.9.1" + resolved "https://registry.npmjs.org/ts-node/-/ts-node-10.9.1.tgz#e73de9102958af9e1f0b168a6ff320e25adcff4b" + integrity sha512-NtVysVPkxxrwFGUUxGYhfux8k78pQB3JqYBXlLRZgdGUqTO5wU/UyHop5p70iEbGhB7q5KmiZiU0Y3KlJrScEw== dependencies: - "@cspotcode/source-map-support" "0.7.0" + "@cspotcode/source-map-support" "^0.8.0" "@tsconfig/node10" "^1.0.7" "@tsconfig/node12" "^1.0.7" "@tsconfig/node14" "^1.0.0" @@ -319,6 +332,7 @@ ts-node@^10.4.0: create-require "^1.1.0" diff "^4.0.1" make-error "^1.1.1" + v8-compile-cache-lib "^3.0.1" yn "3.1.1" typescript@^4.4.4: @@ -331,6 +345,11 @@ universalify@^2.0.0: resolved "https://registry.npmjs.org/universalify/-/universalify-2.0.0.tgz#75a4984efedc4b08975c5aeb73f530d02df25717" integrity sha512-hAZsKq7Yy11Zu1DE0OzWjw7nnLZmJZYTDZZyEFHZdUhV8FkH5MCfoU1XMaxXovpyW5nq5scPqq0ZDP9Zyl04oQ== +v8-compile-cache-lib@^3.0.1: + version "3.0.1" + resolved "https://registry.npmjs.org/v8-compile-cache-lib/-/v8-compile-cache-lib-3.0.1.tgz#6336e8d71965cb3d35a1bbb7868445a7c05264bf" + integrity sha512-wa7YjyUGfNZngI/vtK0UHAN+lgDCxBPCylVXGp0zu59Fz5aiGtNXaq3DhIov063MorB+VfufLh3JlF2KdTK3xg== + which@^2.0.1: version "2.0.2" resolved "https://registry.npmjs.org/which/-/which-2.0.2.tgz#7c6a8dd0a636a0327e10b59c9286eee93f3f51b1" diff --git a/shared-scripts.sh b/shared-scripts.sh index b9516d476d5..7ee25faae49 100644 --- a/shared-scripts.sh +++ b/shared-scripts.sh @@ -533,39 +533,3 @@ function _downloadReportsFromS3 { aws s3 sync "s3://$AGGREGATED_REPORTS_BUCKET_NAME/$source_version" . for file in $(find . -mindepth 2 -type f); do mv $file ./$(dirname $file).xml; done #This line moves all files into the top level directory so that the reports can be consumed by CB } - -function _waitForJobs { - expected_source_version=$1 - jobs_depended_on=$2 #comma seperate identifiers with no spaces - jobs_depended_on_json=$(echo $jobs_depended_on | jq -R 'split(",")') - echo "jobs depended on $jobs_depended_on_json" - fail_flag="0" - all_batch_build_ids=$(aws codebuild list-build-batches-for-project --region us-east-1 --project-name AmplifyCLI-E2E-Testing --filter '{ "status": "IN_PROGRESS" }' --output json | jq '.ids | .[]') - for batch_build_id in $all_batch_build_ids - do - current_source_version=$(aws codebuild batch-get-build-batches --region us-east-1 --ids $(echo $batch_build_id | tr -d '"') | jq '.buildBatches[0].sourceVersion' | tr -d '"') - if [ $current_source_version = $expected_source_version ] - then - fail_flag="1" - break - fi - done - if [ $fail_flag = "0" ] - then - echo "Could not find batch with matching source version" - exit 1 - fi - num_incomplete_jobs="1" - while [ "$num_incomplete_jobs" -gt "0" ] - do - sleep 60 - batch_build_id=$(echo $batch_build_id | tr -d '"') - jobs_in_batch=$(aws codebuild batch-get-build-batches --region us-east-1 --ids $(echo $batch_build_id | tr -d '"') | jq --arg job_id "$job_id" '.buildBatches[0].buildGroups') - incomplete_job_ids_in_batch=$(echo $jobs_in_batch | jq -c '[map(select(.currentBuildSummary.buildStatus == "IN_PROGRESS" or .currentBuildSummary.buildStatus == "PENDING")) | .[].identifier]') - intersecting_jobs=$(jq -n --argjson incomplete_job_ids_in_batch "$incomplete_job_ids_in_batch" --argjson jobs_depended_on_json "$jobs_depended_on_json" '$incomplete_job_ids_in_batch - ($incomplete_job_ids_in_batch - $jobs_depended_on_json)') - echo "Waiting for these jobs: $intersecting_jobs" - num_incomplete_jobs=$(echo $intersecting_jobs | jq '. | length') - echo "incomplete_job_ids_in_batch $incomplete_job_ids_in_batch" - done - echo "No specified jobs still in progress." -}