diff --git a/.circleci/local_publish_helpers.sh b/.circleci/local_publish_helpers.sh index 3017ae6aeda..24c026333ce 100644 --- a/.circleci/local_publish_helpers.sh +++ b/.circleci/local_publish_helpers.sh @@ -236,7 +236,7 @@ function retry { resetAwsAccountCredentials TEST_SUITE=${TEST_SUITE:-"TestSuiteNotSet"} - aws cloudwatch put-metric-data --metric-name FlakyE2ETests --namespace amplify-cli-e2e-tests --unit Count --value $n --dimensions testFile=$TEST_SUITE + aws cloudwatch put-metric-data --metric-name FlakyE2ETests --namespace amplify-cli-e2e-tests --unit Count --value $n --dimensions testFile=$TEST_SUITE || true echo "Attempt $n succeeded." exit 0 # don't fail the step if putting the metric fails } @@ -296,9 +296,19 @@ function runE2eTestCb { if [ -f $FAILED_TEST_REGEX_FILE ]; then # read the content of failed tests failedTests=$(<$FAILED_TEST_REGEX_FILE) - NODE_V8_COVERAGE=$E2E_TEST_COVERAGE_DIR yarn e2e --forceExit --no-cache --maxWorkers=4 $TEST_SUITE -t "$failedTests" + if [[ ! -z "$DISABLE_COVERAGE" ]]; then + echo Running WITHOUT coverage + yarn e2e --forceExit --no-cache --maxWorkers=4 $TEST_SUITE -t "$failedTests" + else + NODE_V8_COVERAGE=$E2E_TEST_COVERAGE_DIR yarn e2e --forceExit --no-cache --maxWorkers=4 $TEST_SUITE -t "$failedTests" + fi else - NODE_V8_COVERAGE=$E2E_TEST_COVERAGE_DIR yarn e2e --forceExit --no-cache --maxWorkers=4 $TEST_SUITE + if [[ ! -z "$DISABLE_COVERAGE" ]]; then + echo Running WITHOUT coverage + yarn e2e --forceExit --no-cache --maxWorkers=4 $TEST_SUITE + else + NODE_V8_COVERAGE=$E2E_TEST_COVERAGE_DIR yarn e2e --forceExit --no-cache --maxWorkers=4 $TEST_SUITE + fi fi } diff --git a/codebuild_specs/e2e_workflow_generated.yml b/codebuild_specs/e2e_workflow_generated.yml index 270b86bbec7..fd7d2519a34 100644 --- a/codebuild_specs/e2e_workflow_generated.yml +++ b/codebuild_specs/e2e_workflow_generated.yml @@ -14,10 +14,6 @@ env: batch: fast-fail: false build-graph: - - identifier: build_tests_standalone - buildspec: codebuild_specs/build_tests_standalone.yml - env: - compute-type: BUILD_GENERAL1_LARGE - identifier: build_linux buildspec: codebuild_specs/build_linux.yml env: @@ -28,32 +24,6 @@ batch: type: WINDOWS_SERVER_2019_CONTAINER compute-type: BUILD_GENERAL1_LARGE image: $WINDOWS_IMAGE_2019 - - identifier: test - buildspec: codebuild_specs/test.yml - env: - compute-type: BUILD_GENERAL1_LARGE - depend-on: - - build_linux - - identifier: mock_e2e_tests - buildspec: codebuild_specs/mock_e2e_tests.yml - env: - compute-type: BUILD_GENERAL1_LARGE - depend-on: - - build_linux - - identifier: validate_cdk_version - buildspec: codebuild_specs/validate_cdk_version.yml - depend-on: - - build_linux - - identifier: verify_api_extract - buildspec: codebuild_specs/verify_api_extract.yml - env: - compute-type: BUILD_GENERAL1_LARGE - depend-on: - - build_linux - - identifier: verify_yarn_lock - buildspec: codebuild_specs/verify_yarn_lock.yml - depend-on: - - build_linux - identifier: publish_to_local_registry buildspec: codebuild_specs/publish_to_local_registry.yml env: @@ -93,1750 +63,14 @@ batch: - build_pkg_binaries_linux - build_pkg_binaries_macos - build_pkg_binaries_win - - identifier: verify_versions_match - buildspec: codebuild_specs/verify_versions_match.yml - depend-on: - - publish_to_local_registry - - identifier: l_datastore_modelgen_amplify_app_diagnose_hooks_a - buildspec: codebuild_specs/run_e2e_tests_linux.yml - env: - 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: ap-northeast-1 - depend-on: - - upb - - identifier: l_mock_api_analytics_kinesis_analytics_pinpoint_flutter_analytics_pinpoint_js - buildspec: codebuild_specs/run_e2e_tests_linux.yml - env: - 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: ap-southeast-2 - depend-on: - - upb - - identifier: l_auth_2a_auth_2b_auth_2d_auth_2f - buildspec: codebuild_specs/run_e2e_tests_linux.yml - env: - variables: - TEST_SUITE: src/__tests__/auth_2a.test.ts|src/__tests__/auth_2b.test.ts|src/__tests__/auth_2d.test.ts|src/__tests__/auth_2f.test.ts - CLI_REGION: ap-southeast-2 - depend-on: - - upb - - identifier: l_notifications_lifecycle_uibuilder_notifications_analytics_compatibility_in_app_1_notifications_analytics_compatibility_sms_2 - buildspec: codebuild_specs/run_e2e_tests_linux.yml - env: - 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: ap-southeast-2 - depend-on: - - upb - - identifier: l_analytics_2_global_sandbox_c_hooks_b_notifications_analytics_compatibility_sms_1 - buildspec: codebuild_specs/run_e2e_tests_linux.yml - env: - 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: eu-west-2 - depend-on: - - upb - - identifier: l_plugin_studio_modelgen_custom_transformers_notifications_in_app_messaging_env_1 - buildspec: codebuild_specs/run_e2e_tests_linux.yml - env: - 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: eu-west-2 - depend-on: - - upb - - identifier: l_notifications_sms_pull_pull_auth_10_container_hosting - buildspec: codebuild_specs/run_e2e_tests_linux.yml - env: - 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 - depend-on: - - upb - - identifier: l_init_b_notifications_apns_notifications_fcm_notifications_in_app_messaging_env_2 - buildspec: codebuild_specs/run_e2e_tests_linux.yml - env: - 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: eu-central-1 - depend-on: - - upb - - identifier: l_with_babel_config_amplify_configure_env_2_init_d - buildspec: codebuild_specs/run_e2e_tests_linux.yml - env: - 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: ap-northeast-1 - depend-on: - - upb - - identifier: l_init_f_auth_5d_configure_project_git_clone_attach - buildspec: codebuild_specs/run_e2e_tests_linux.yml - env: - 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: ap-southeast-2 - depend-on: - - upb - - identifier: l_init_c_layer_4_function_2c_function_3b - buildspec: codebuild_specs/run_e2e_tests_linux.yml - env: - 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 - depend-on: - - upb - - identifier: l_function_4_interactions_schema_model_a_tags - buildspec: codebuild_specs/run_e2e_tests_linux.yml - env: - variables: - TEST_SUITE: src/__tests__/function_4.test.ts|src/__tests__/interactions.test.ts|src/__tests__/schema-model-a.test.ts|src/__tests__/tags.test.ts - CLI_REGION: us-west-2 - depend-on: - - upb - - identifier: l_auth_1a_auth_trigger_custom_policies_function_function_6 - buildspec: codebuild_specs/run_e2e_tests_linux.yml - env: - 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: eu-west-2 - depend-on: - - upb - - identifier: l_storage_2_export_iam_permissions_boundary_node_function - buildspec: codebuild_specs/run_e2e_tests_linux.yml - env: - 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: us-west-2 - depend-on: - - upb - - identifier: l_notifications_sms_schema_auth_4b_schema_model_e_schema_versioned - buildspec: codebuild_specs/run_e2e_tests_linux.yml - env: - 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-central-1 - depend-on: - - upb - - identifier: l_auth_1c_auth_5e_auth_8b_geo_add_b - buildspec: codebuild_specs/run_e2e_tests_linux.yml - env: - 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 - depend-on: - - upb - - identifier: l_s3_sse_schema_auth_4a_schema_model_b_schema_model_d - buildspec: codebuild_specs/run_e2e_tests_linux.yml - env: - variables: - TEST_SUITE: src/__tests__/s3-sse.test.ts|src/__tests__/schema-auth-4a.test.ts|src/__tests__/schema-model-b.test.ts|src/__tests__/schema-model-d.test.ts - CLI_REGION: us-east-1 - depend-on: - - upb - - identifier: l_auth_5f_env_4_frontend_config_drift_schema_auth_4d - buildspec: codebuild_specs/run_e2e_tests_linux.yml - env: - variables: - TEST_SUITE: src/__tests__/auth_5f.test.ts|src/__tests__/env-4.test.ts|src/__tests__/frontend_config_drift.test.ts|src/__tests__/schema-auth-4d.test.ts - CLI_REGION: us-east-2 - depend-on: - - upb - - identifier: l_schema_auth_6a_schema_data_access_patterns_schema_model_c_schema_predictions - buildspec: codebuild_specs/run_e2e_tests_linux.yml - env: - 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 - depend-on: - - upb - - identifier: l_model_migration_auth_3c_auth_4c_auth_5a - buildspec: codebuild_specs/run_e2e_tests_linux.yml - env: - 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: us-west-2 - depend-on: - - upb - - identifier: l_auth_5c_env_1_geo_add_a_init_a - buildspec: codebuild_specs/run_e2e_tests_linux.yml - env: - 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: eu-west-2 - depend-on: - - upb - - identifier: l_schema_auth_4c_schema_auth_5c_auth_5b_auth_9 - buildspec: codebuild_specs/run_e2e_tests_linux.yml - env: - 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-west-2 - depend-on: - - upb - - identifier: l_custom_resources_env_5_function_10_function_9c - buildspec: codebuild_specs/run_e2e_tests_linux.yml - env: - variables: - TEST_SUITE: src/__tests__/custom_resources.test.ts|src/__tests__/env-5.test.ts|src/__tests__/function_10.test.ts|src/__tests__/function_9c.test.ts - CLI_REGION: us-east-1 - depend-on: - - upb - - identifier: l_function_permissions_geo_import_1a_geo_import_2_global_sandbox_b - buildspec: codebuild_specs/run_e2e_tests_linux.yml - env: - 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: eu-central-1 - depend-on: - - upb - - identifier: l_schema_auth_5d_schema_auth_6b_schema_auth_8c_auth_3a - buildspec: codebuild_specs/run_e2e_tests_linux.yml - env: - 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: eu-central-1 - depend-on: - - upb - - identifier: l_auth_3b_auth_4a_auth_7a_auth_8c - buildspec: codebuild_specs/run_e2e_tests_linux.yml - env: - 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-2 - depend-on: - - upb - - identifier: l_feature_flags_geo_import_1b_global_sandbox_a_init_e - buildspec: codebuild_specs/run_e2e_tests_linux.yml - env: - 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: ap-southeast-1 - depend-on: - - upb - - identifier: l_notifications_analytics_compatibility_in_app_2_schema_auth_11_c_schema_auth_2b_schema_auth_6c - buildspec: codebuild_specs/run_e2e_tests_linux.yml - env: - 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-east-1 - depend-on: - - upb - - identifier: l_schema_auth_6d_schema_auth_7c_schema_auth_8a_function_migration - buildspec: codebuild_specs/run_e2e_tests_linux.yml - env: - 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: us-east-1 - depend-on: - - upb - - identifier: l_api_10_api_7_export_pull_a_function_9a - buildspec: codebuild_specs/run_e2e_tests_linux.yml - env: - 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: eu-central-1 - depend-on: - - upb - - identifier: l_geo_headless_api_key_migration5_schema_auth_1a_schema_auth_5b - buildspec: codebuild_specs/run_e2e_tests_linux.yml - env: - 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: us-west-2 - depend-on: - - upb - - identifier: l_schema_auth_8b_schema_auth_9_a_schema_auth_9_c_storage_3 - buildspec: codebuild_specs/run_e2e_tests_linux.yml - env: - variables: - TEST_SUITE: src/__tests__/schema-auth-8b.test.ts|src/__tests__/schema-auth-9-a.test.ts|src/__tests__/schema-auth-9-c.test.ts|src/__tests__/storage-3.test.ts - CLI_REGION: ap-northeast-1 - depend-on: - - upb - - identifier: l_auth_11_auth_1b_delete_geo_add_c - buildspec: codebuild_specs/run_e2e_tests_linux.yml - env: - variables: - TEST_SUITE: src/__tests__/auth_11.test.ts|src/__tests__/auth_1b.test.ts|src/__tests__/delete.test.ts|src/__tests__/geo-add-c.test.ts - CLI_REGION: eu-west-2 - depend-on: - - upb - - identifier: l_geo_add_d_geo_import_3_hosting_layer_3 - buildspec: codebuild_specs/run_e2e_tests_linux.yml - env: - 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-northeast-1 - depend-on: - - upb - - identifier: l_api_connection_migration_api_key_migration3_predictions_schema_auth_11_b - buildspec: codebuild_specs/run_e2e_tests_linux.yml - env: - 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-west-2 - depend-on: - - upb - - identifier: l_schema_auth_1b_schema_auth_2a_schema_auth_7a_schema_auth_7b - buildspec: codebuild_specs/run_e2e_tests_linux.yml - env: - 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: eu-central-1 - depend-on: - - upb - - identifier: l_schema_auth_9_b_schema_iterative_rollback_1_predictions_migration_api_6a - buildspec: codebuild_specs/run_e2e_tests_linux.yml - env: - 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: ap-southeast-1 - depend-on: - - upb - - identifier: l_auth_7b_export_pull_b_function_3a_init_special_case - buildspec: codebuild_specs/run_e2e_tests_linux.yml - env: - 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: us-east-1 - depend-on: - - upb - - identifier: l_http_migration_schema_auth_12_schema_auth_3_schema_function_2 - buildspec: codebuild_specs/run_e2e_tests_linux.yml - env: - 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-west-2 - depend-on: - - upb - - identifier: l_auth_4b_auth_8a_export_pull_d_schema_auth_5a - buildspec: codebuild_specs/run_e2e_tests_linux.yml - env: - 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: us-east-2 - depend-on: - - upb - - identifier: l_schema_iterative_rollback_2_schema_iterative_update_3_auth_migration_api_2a - buildspec: codebuild_specs/run_e2e_tests_linux.yml - env: - 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: eu-west-2 - depend-on: - - upb - - identifier: l_api_2b_api_6c_api_9a_auth_12 - buildspec: codebuild_specs/run_e2e_tests_linux.yml - env: - 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: ap-northeast-1 - depend-on: - - upb - - identifier: l_auth_2g_build_function_custom_resource_with_storage_dynamodb_simulator - buildspec: codebuild_specs/run_e2e_tests_linux.yml - env: - variables: - TEST_SUITE: src/__tests__/auth_2g.test.ts|src/__tests__/build-function.test.ts|src/__tests__/custom-resource-with-storage.test.ts|src/__tests__/dynamodb-simulator/dynamodb-simulator.test.ts - CLI_REGION: us-west-2 - depend-on: - - upb - - identifier: l_export_pull_c_function_12_function_13_function_15 - buildspec: codebuild_specs/run_e2e_tests_linux.yml - env: - variables: - TEST_SUITE: src/__tests__/export-pull-c.test.ts|src/__tests__/function_12.test.ts|src/__tests__/function_13.test.ts|src/__tests__/function_15.test.ts - CLI_REGION: ap-northeast-1 - depend-on: - - upb - - identifier: l_function_2d_general_config_headless_init_help_hooks_c - buildspec: codebuild_specs/run_e2e_tests_linux.yml - env: - 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: eu-central-1 - depend-on: - - upb - - identifier: l_init_force_push_interactions_1_interactions_2_minify_cloudformation - buildspec: codebuild_specs/run_e2e_tests_linux.yml - env: - 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 - CLI_REGION: us-west-2 - depend-on: - - upb - - identifier: l_notifications_multi_env_notifications_sms_update_opensearch_simulator_parameter_store_1 - buildspec: codebuild_specs/run_e2e_tests_linux.yml - env: - variables: - TEST_SUITE: src/__tests__/notifications-multi-env.test.ts|src/__tests__/notifications-sms-update.test.ts|src/__tests__/opensearch-simulator/opensearch-simulator.test.ts|src/__tests__/parameter-store-1.test.ts - CLI_REGION: ap-southeast-1 - depend-on: - - upb - - identifier: 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: - variables: - TEST_SUITE: 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: eu-west-2 - depend-on: - - upb - - identifier: 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: - variables: - TEST_SUITE: 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-east-2 - depend-on: - - upb - - identifier: l_javascript_notifications_pinpoint_config_pr_previews_multi_env_1_pull_2_push - buildspec: codebuild_specs/run_e2e_tests_linux.yml + - identifier: w_custom_resource_with_storage + buildspec: codebuild_specs/run_e2e_tests_windows.yml env: variables: - TEST_SUITE: src/__tests__/pinpoint/javascript-notifications-pinpoint-config.test.ts|src/__tests__/pr-previews-multi-env-1.test.ts|src/__tests__/pull-2.test.ts|src/__tests__/push.test.ts + TEST_SUITE: src/__tests__/custom-resource-with-storage.test.ts CLI_REGION: us-east-1 + type: WINDOWS_SERVER_2019_CONTAINER + image: $WINDOWS_IMAGE_2019 depend-on: - upb - - identifier: l_smoketest_S3server_api_8_function_8 - buildspec: codebuild_specs/run_e2e_tests_linux.yml - env: - variables: - TEST_SUITE: src/__tests__/smoketest.test.ts|src/__tests__/storage-simulator/S3server.test.ts|src/__tests__/api_8.test.ts|src/__tests__/function_8.test.ts - CLI_REGION: ap-southeast-1 - depend-on: - - upb - - identifier: l_schema_iterative_update_locking_api_lambda_auth_2_layer_2_schema_auth_13 - buildspec: codebuild_specs/run_e2e_tests_linux.yml - env: - variables: - TEST_SUITE: src/__tests__/schema-iterative-update-locking.test.ts|src/__tests__/graphql-v2/api_lambda_auth_2.test.ts|src/__tests__/layer-2.test.ts|src/__tests__/schema-auth-13.test.ts - CLI_REGION: eu-central-1 - depend-on: - - upb - - identifier: l_function_5_schema_iterative_update_1_auth_6_function_2a - buildspec: codebuild_specs/run_e2e_tests_linux.yml - env: - variables: - TEST_SUITE: src/__tests__/function_5.test.ts|src/__tests__/schema-iterative-update-1.test.ts|src/__tests__/auth_6.test.ts|src/__tests__/function_2a.test.ts - CLI_REGION: ap-southeast-1 - depend-on: - - upb - - identifier: l_schema_connection_2_schema_function_1_api_9b_custom_policies_container - buildspec: codebuild_specs/run_e2e_tests_linux.yml - env: - variables: - TEST_SUITE: src/__tests__/schema-connection-2.test.ts|src/__tests__/schema-function-1.test.ts|src/__tests__/api_9b.test.ts|src/__tests__/custom_policies_container.test.ts - CLI_REGION: eu-central-1 - depend-on: - - upb - - identifier: l_function_9b_schema_iterative_update_2_storage_1a_storage_1b - buildspec: codebuild_specs/run_e2e_tests_linux.yml - env: - variables: - TEST_SUITE: src/__tests__/function_9b.test.ts|src/__tests__/schema-iterative-update-2.test.ts|src/__tests__/storage-1a.test.ts|src/__tests__/storage-1b.test.ts - CLI_REGION: ap-southeast-2 - depend-on: - - upb - - identifier: l_function_11_function_2b_function_7_api_connection_migration2 - buildspec: codebuild_specs/run_e2e_tests_linux.yml - env: - variables: - TEST_SUITE: src/__tests__/function_11.test.ts|src/__tests__/function_2b.test.ts|src/__tests__/function_7.test.ts|src/__tests__/migration/api.connection.migration2.test.ts - CLI_REGION: ap-southeast-1 - depend-on: - - upb - - identifier: l_api_4_containers_api_secrets_storage_4_schema_auth_10 - buildspec: codebuild_specs/run_e2e_tests_linux.yml - env: - 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: ap-northeast-1 - depend-on: - - upb - - identifier: l_geo_multi_env_searchable_datastore_resolvers_schema_key - buildspec: codebuild_specs/run_e2e_tests_linux.yml - env: - 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-west-2 - depend-on: - - upb - - identifier: l_api_5_apigw_api_lambda_auth_1_api_key_migration2 - buildspec: codebuild_specs/run_e2e_tests_linux.yml - env: - 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: us-west-2 - depend-on: - - upb - - identifier: l_schema_searchable_api_key_migration1_schema_auth_14_api_3 - buildspec: codebuild_specs/run_e2e_tests_linux.yml - env: - 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: ap-southeast-1 - depend-on: - - upb - - identifier: l_api_6b_api_1_layer_1_api_key_migration4 - buildspec: codebuild_specs/run_e2e_tests_linux.yml - env: - 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 - CLI_REGION: eu-central-1 - depend-on: - - upb - - identifier: l_schema_iterative_update_4_function_1_storage_5 - buildspec: codebuild_specs/run_e2e_tests_linux.yml - env: - variables: - TEST_SUITE: src/__tests__/schema-iterative-update-4.test.ts|src/__tests__/function_1.test.ts|src/__tests__/storage-5.test.ts - CLI_REGION: eu-central-1 - depend-on: - - upb - - identifier: l_auth_2c - buildspec: codebuild_specs/run_e2e_tests_linux.yml - env: - variables: - TEST_SUITE: src/__tests__/auth_2c.test.ts - CLI_REGION: us-east-2 - depend-on: - - upb - - identifier: l_auth_2e - buildspec: codebuild_specs/run_e2e_tests_linux.yml - env: - variables: - TEST_SUITE: src/__tests__/auth_2e.test.ts - CLI_REGION: us-east-2 - depend-on: - - upb - - identifier: l_geo_remove_3 - buildspec: codebuild_specs/run_e2e_tests_linux.yml - env: - variables: - TEST_SUITE: src/__tests__/geo-remove-3.test.ts - CLI_REGION: ap-southeast-1 - depend-on: - - upb - - identifier: l_geo_add_f - buildspec: codebuild_specs/run_e2e_tests_linux.yml - env: - variables: - TEST_SUITE: src/__tests__/geo-add-f.test.ts - CLI_REGION: eu-central-1 - depend-on: - - upb - - identifier: l_geo_add_e - buildspec: codebuild_specs/run_e2e_tests_linux.yml - env: - variables: - TEST_SUITE: src/__tests__/geo-add-e.test.ts - CLI_REGION: eu-west-2 - depend-on: - - upb - - identifier: l_import_dynamodb_2c - buildspec: codebuild_specs/run_e2e_tests_linux.yml - env: - variables: - TEST_SUITE: src/__tests__/import_dynamodb_2c.test.ts - CLI_REGION: ap-northeast-1 - depend-on: - - upb - - identifier: l_env_3 - buildspec: codebuild_specs/run_e2e_tests_linux.yml - env: - variables: - TEST_SUITE: src/__tests__/env-3.test.ts - CLI_REGION: ap-southeast-2 - depend-on: - - upb - - identifier: l_geo_remove_2 - buildspec: codebuild_specs/run_e2e_tests_linux.yml - env: - variables: - TEST_SUITE: src/__tests__/geo-remove-2.test.ts - CLI_REGION: eu-west-2 - depend-on: - - upb - - identifier: l_notifications_in_app_messaging - buildspec: codebuild_specs/run_e2e_tests_linux.yml - env: - variables: - TEST_SUITE: src/__tests__/notifications-in-app-messaging.test.ts - CLI_REGION: ap-southeast-1 - depend-on: - - upb - - identifier: l_import_auth_2a - buildspec: codebuild_specs/run_e2e_tests_linux.yml - env: - variables: - TEST_SUITE: src/__tests__/import_auth_2a.test.ts - CLI_REGION: ap-southeast-1 - depend-on: - - upb - - identifier: l_import_auth_1a - buildspec: codebuild_specs/run_e2e_tests_linux.yml - env: - variables: - TEST_SUITE: src/__tests__/import_auth_1a.test.ts - CLI_REGION: eu-central-1 - depend-on: - - upb - - identifier: l_import_auth_2b - buildspec: codebuild_specs/run_e2e_tests_linux.yml - env: - variables: - TEST_SUITE: src/__tests__/import_auth_2b.test.ts - CLI_REGION: us-east-1 - depend-on: - - upb - - identifier: l_import_s3_2a - buildspec: codebuild_specs/run_e2e_tests_linux.yml - env: - variables: - TEST_SUITE: src/__tests__/import_s3_2a.test.ts - CLI_REGION: eu-central-1 - depend-on: - - upb - - identifier: l_import_s3_2c - buildspec: codebuild_specs/run_e2e_tests_linux.yml - env: - variables: - TEST_SUITE: src/__tests__/import_s3_2c.test.ts - CLI_REGION: us-east-2 - depend-on: - - upb - - identifier: l_import_auth_1b - buildspec: codebuild_specs/run_e2e_tests_linux.yml - env: - variables: - TEST_SUITE: src/__tests__/import_auth_1b.test.ts - CLI_REGION: ap-northeast-1 - depend-on: - - upb - - identifier: l_schema_auth_11_a - buildspec: codebuild_specs/run_e2e_tests_linux.yml - env: - variables: - TEST_SUITE: src/__tests__/schema-auth-11-a.test.ts - CLI_REGION: eu-central-1 - depend-on: - - upb - - identifier: l_geo_update_1 - buildspec: codebuild_specs/run_e2e_tests_linux.yml - env: - variables: - TEST_SUITE: src/__tests__/geo-update-1.test.ts - CLI_REGION: eu-west-2 - depend-on: - - upb - - identifier: l_geo_update_2 - buildspec: codebuild_specs/run_e2e_tests_linux.yml - env: - variables: - TEST_SUITE: src/__tests__/geo-update-2.test.ts - CLI_REGION: us-east-1 - depend-on: - - upb - - identifier: l_import_s3_3 - buildspec: codebuild_specs/run_e2e_tests_linux.yml - env: - variables: - TEST_SUITE: src/__tests__/import_s3_3.test.ts - CLI_REGION: ap-southeast-1 - depend-on: - - upb - - identifier: l_import_dynamodb_2b - buildspec: codebuild_specs/run_e2e_tests_linux.yml - env: - variables: - TEST_SUITE: src/__tests__/import_dynamodb_2b.test.ts - CLI_REGION: ap-southeast-2 - depend-on: - - upb - - identifier: l_hostingPROD - buildspec: codebuild_specs/run_e2e_tests_linux.yml - env: - variables: - TEST_SUITE: src/__tests__/hostingPROD.test.ts - CLI_REGION: ap-northeast-1 - depend-on: - - upb - - identifier: l_import_s3_2b - buildspec: codebuild_specs/run_e2e_tests_linux.yml - env: - variables: - TEST_SUITE: src/__tests__/import_s3_2b.test.ts - CLI_REGION: eu-west-2 - depend-on: - - upb - - identifier: l_containers_api_1 - buildspec: codebuild_specs/run_e2e_tests_linux.yml - env: - variables: - TEST_SUITE: src/__tests__/containers-api-1.test.ts - CLI_REGION: us-west-2 - depend-on: - - upb - - identifier: l_schema_auth_15 - buildspec: codebuild_specs/run_e2e_tests_linux.yml - env: - variables: - TEST_SUITE: src/__tests__/schema-auth-15.test.ts - CLI_REGION: ap-southeast-2 - depend-on: - - upb - - identifier: l_schema_connection_1 - buildspec: codebuild_specs/run_e2e_tests_linux.yml - env: - variables: - TEST_SUITE: src/__tests__/schema-connection-1.test.ts - CLI_REGION: ap-southeast-2 - depend-on: - - upb - - identifier: l_import_auth_3 - buildspec: codebuild_specs/run_e2e_tests_linux.yml - env: - variables: - TEST_SUITE: src/__tests__/import_auth_3.test.ts - CLI_REGION: us-east-2 - depend-on: - - upb - - identifier: l_import_dynamodb_2a - buildspec: codebuild_specs/run_e2e_tests_linux.yml - env: - variables: - TEST_SUITE: src/__tests__/import_dynamodb_2a.test.ts - CLI_REGION: ap-northeast-1 - depend-on: - - upb - - identifier: l_containers_api_2 - buildspec: codebuild_specs/run_e2e_tests_linux.yml - env: - variables: - TEST_SUITE: src/__tests__/containers-api-2.test.ts - CLI_REGION: ap-southeast-2 - depend-on: - - upb - - identifier: l_import_s3_1 - buildspec: codebuild_specs/run_e2e_tests_linux.yml - env: - variables: - TEST_SUITE: src/__tests__/import_s3_1.test.ts - CLI_REGION: us-east-1 - USE_PARENT_ACCOUNT: 1 - depend-on: - - upb - - identifier: l_searchable_migration - buildspec: codebuild_specs/run_e2e_tests_linux.yml - env: - variables: - TEST_SUITE: src/__tests__/transformer-migrations/searchable-migration.test.ts - CLI_REGION: us-west-2 - USE_PARENT_ACCOUNT: 1 - depend-on: - - upb - - identifier: l_geo_remove_1 - buildspec: codebuild_specs/run_e2e_tests_linux.yml - env: - variables: - TEST_SUITE: src/__tests__/geo-remove-1.test.ts - CLI_REGION: ap-southeast-1 - depend-on: - - upb - - identifier: l_import_dynamodb_1 - buildspec: codebuild_specs/run_e2e_tests_linux.yml - env: - variables: - TEST_SUITE: src/__tests__/import_dynamodb_1.test.ts - CLI_REGION: ap-southeast-2 - USE_PARENT_ACCOUNT: 1 - depend-on: - - upb - - identifier: w_analytics_kinesis_analytics_pinpoint_flutter_analytics_pinpoint_js_auth_2a - buildspec: codebuild_specs/run_e2e_tests_windows.yml - env: - type: WINDOWS_SERVER_2019_CONTAINER - image: $WINDOWS_IMAGE_2019 - 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: eu-central-1 - USE_PARENT_ACCOUNT: false - depend-on: - - build_windows - - upb - - identifier: w_auth_2b_auth_2d_auth_2f_notifications_lifecycle - buildspec: codebuild_specs/run_e2e_tests_windows.yml - env: - type: WINDOWS_SERVER_2019_CONTAINER - image: $WINDOWS_IMAGE_2019 - variables: - TEST_SUITE: src/__tests__/auth_2b.test.ts|src/__tests__/auth_2d.test.ts|src/__tests__/auth_2f.test.ts|src/__tests__/notifications-lifecycle.test.ts - CLI_REGION: ap-southeast-1 - USE_PARENT_ACCOUNT: false - depend-on: - - build_windows - - upb - - identifier: w_notifications_analytics_compatibility_in_app_1_notifications_analytics_compatibility_sms_2_analytics_2_global_sandbox_c - buildspec: codebuild_specs/run_e2e_tests_windows.yml - env: - type: WINDOWS_SERVER_2019_CONTAINER - image: $WINDOWS_IMAGE_2019 - 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-east-2 - USE_PARENT_ACCOUNT: false - depend-on: - - build_windows - - upb - - identifier: w_hooks_b_notifications_analytics_compatibility_sms_1_plugin_studio_modelgen - buildspec: codebuild_specs/run_e2e_tests_windows.yml - env: - type: WINDOWS_SERVER_2019_CONTAINER - image: $WINDOWS_IMAGE_2019 - 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: ap-northeast-1 - USE_PARENT_ACCOUNT: false - depend-on: - - build_windows - - upb - - identifier: w_custom_transformers_notifications_in_app_messaging_env_1_notifications_sms_pull_auth_10 - buildspec: codebuild_specs/run_e2e_tests_windows.yml - env: - type: WINDOWS_SERVER_2019_CONTAINER - image: $WINDOWS_IMAGE_2019 - 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: us-west-2 - USE_PARENT_ACCOUNT: false - depend-on: - - build_windows - - upb - - identifier: w_container_hosting_init_b_notifications_apns_notifications_fcm - buildspec: codebuild_specs/run_e2e_tests_windows.yml - env: - type: WINDOWS_SERVER_2019_CONTAINER - image: $WINDOWS_IMAGE_2019 - 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: eu-central-1 - USE_PARENT_ACCOUNT: false - depend-on: - - build_windows - - upb - - identifier: w_notifications_in_app_messaging_env_2_with_babel_config_amplify_configure_init_d - buildspec: codebuild_specs/run_e2e_tests_windows.yml - env: - type: WINDOWS_SERVER_2019_CONTAINER - image: $WINDOWS_IMAGE_2019 - 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 - USE_PARENT_ACCOUNT: false - depend-on: - - build_windows - - upb - - identifier: w_init_f_auth_5d_configure_project_init_c - buildspec: codebuild_specs/run_e2e_tests_windows.yml - env: - type: WINDOWS_SERVER_2019_CONTAINER - image: $WINDOWS_IMAGE_2019 - 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: eu-central-1 - USE_PARENT_ACCOUNT: false - depend-on: - - build_windows - - upb - - identifier: w_layer_4_function_2c_interactions_schema_model_a - buildspec: codebuild_specs/run_e2e_tests_windows.yml - env: - type: WINDOWS_SERVER_2019_CONTAINER - image: $WINDOWS_IMAGE_2019 - variables: - TEST_SUITE: src/__tests__/layer-4.test.ts|src/__tests__/function_2c.test.ts|src/__tests__/interactions.test.ts|src/__tests__/schema-model-a.test.ts - CLI_REGION: us-west-2 - USE_PARENT_ACCOUNT: false - depend-on: - - build_windows - - upb - - identifier: w_tags_auth_1a_auth_trigger_custom_policies_function - buildspec: codebuild_specs/run_e2e_tests_windows.yml - env: - type: WINDOWS_SERVER_2019_CONTAINER - image: $WINDOWS_IMAGE_2019 - 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: eu-central-1 - USE_PARENT_ACCOUNT: false - depend-on: - - build_windows - - upb - - identifier: w_storage_2_iam_permissions_boundary_node_function_notifications_sms - buildspec: codebuild_specs/run_e2e_tests_windows.yml - env: - type: WINDOWS_SERVER_2019_CONTAINER - image: $WINDOWS_IMAGE_2019 - 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 - USE_PARENT_ACCOUNT: false - depend-on: - - build_windows - - upb - - identifier: w_schema_auth_4b_schema_model_e_schema_versioned_auth_1c - buildspec: codebuild_specs/run_e2e_tests_windows.yml - env: - type: WINDOWS_SERVER_2019_CONTAINER - image: $WINDOWS_IMAGE_2019 - variables: - TEST_SUITE: src/__tests__/schema-auth-4b.test.ts|src/__tests__/schema-model-e.test.ts|src/__tests__/schema-versioned.test.ts|src/__tests__/auth_1c.test.ts - CLI_REGION: us-east-1 - USE_PARENT_ACCOUNT: false - depend-on: - - build_windows - - upb - - identifier: w_auth_5e_auth_8b_geo_add_b_s3_sse - buildspec: codebuild_specs/run_e2e_tests_windows.yml - env: - type: WINDOWS_SERVER_2019_CONTAINER - image: $WINDOWS_IMAGE_2019 - 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-1 - USE_PARENT_ACCOUNT: false - depend-on: - - build_windows - - upb - - identifier: w_schema_auth_4a_schema_model_b_schema_model_d_auth_5f - buildspec: codebuild_specs/run_e2e_tests_windows.yml - env: - type: WINDOWS_SERVER_2019_CONTAINER - image: $WINDOWS_IMAGE_2019 - variables: - TEST_SUITE: src/__tests__/schema-auth-4a.test.ts|src/__tests__/schema-model-b.test.ts|src/__tests__/schema-model-d.test.ts|src/__tests__/auth_5f.test.ts - CLI_REGION: ap-northeast-1 - USE_PARENT_ACCOUNT: false - depend-on: - - build_windows - - upb - - identifier: w_env_4_frontend_config_drift_schema_auth_4d_schema_auth_6a - buildspec: codebuild_specs/run_e2e_tests_windows.yml - env: - type: WINDOWS_SERVER_2019_CONTAINER - image: $WINDOWS_IMAGE_2019 - 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: ap-northeast-1 - USE_PARENT_ACCOUNT: false - depend-on: - - build_windows - - upb - - identifier: w_schema_data_access_patterns_schema_model_c_schema_predictions_model_migration - buildspec: codebuild_specs/run_e2e_tests_windows.yml - env: - type: WINDOWS_SERVER_2019_CONTAINER - image: $WINDOWS_IMAGE_2019 - 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-west-2 - USE_PARENT_ACCOUNT: false - depend-on: - - build_windows - - upb - - identifier: w_auth_3c_auth_4c_auth_5a_auth_5c - buildspec: codebuild_specs/run_e2e_tests_windows.yml - env: - type: WINDOWS_SERVER_2019_CONTAINER - image: $WINDOWS_IMAGE_2019 - 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: us-west-2 - USE_PARENT_ACCOUNT: false - depend-on: - - build_windows - - upb - - identifier: w_env_1_geo_add_a_init_a_schema_auth_4c - buildspec: codebuild_specs/run_e2e_tests_windows.yml - env: - type: WINDOWS_SERVER_2019_CONTAINER - image: $WINDOWS_IMAGE_2019 - 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-west-2 - USE_PARENT_ACCOUNT: false - depend-on: - - build_windows - - upb - - identifier: w_schema_auth_5c_auth_5b_auth_9_custom_resources - buildspec: codebuild_specs/run_e2e_tests_windows.yml - env: - type: WINDOWS_SERVER_2019_CONTAINER - image: $WINDOWS_IMAGE_2019 - 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: eu-west-2 - USE_PARENT_ACCOUNT: false - depend-on: - - build_windows - - upb - - identifier: w_env_5_function_10_function_9c_function_permissions - buildspec: codebuild_specs/run_e2e_tests_windows.yml - env: - type: WINDOWS_SERVER_2019_CONTAINER - image: $WINDOWS_IMAGE_2019 - 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: ap-southeast-1 - USE_PARENT_ACCOUNT: false - depend-on: - - build_windows - - upb - - identifier: w_geo_import_1a_geo_import_2_global_sandbox_b_schema_auth_5d - buildspec: codebuild_specs/run_e2e_tests_windows.yml - env: - type: WINDOWS_SERVER_2019_CONTAINER - image: $WINDOWS_IMAGE_2019 - 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: eu-central-1 - USE_PARENT_ACCOUNT: false - depend-on: - - build_windows - - upb - - identifier: w_schema_auth_6b_schema_auth_8c_auth_3a_auth_3b - buildspec: codebuild_specs/run_e2e_tests_windows.yml - env: - type: WINDOWS_SERVER_2019_CONTAINER - image: $WINDOWS_IMAGE_2019 - 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: eu-central-1 - USE_PARENT_ACCOUNT: false - depend-on: - - build_windows - - upb - - identifier: w_auth_4a_auth_7a_auth_8c_feature_flags - buildspec: codebuild_specs/run_e2e_tests_windows.yml - env: - type: WINDOWS_SERVER_2019_CONTAINER - image: $WINDOWS_IMAGE_2019 - 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: eu-west-2 - USE_PARENT_ACCOUNT: false - depend-on: - - build_windows - - upb - - identifier: w_geo_import_1b_global_sandbox_a_init_e_notifications_analytics_compatibility_in_app_2 - buildspec: codebuild_specs/run_e2e_tests_windows.yml - env: - type: WINDOWS_SERVER_2019_CONTAINER - image: $WINDOWS_IMAGE_2019 - 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: us-east-2 - USE_PARENT_ACCOUNT: false - depend-on: - - build_windows - - upb - - identifier: w_schema_auth_11_c_schema_auth_2b_schema_auth_6c_schema_auth_6d - buildspec: codebuild_specs/run_e2e_tests_windows.yml - env: - type: WINDOWS_SERVER_2019_CONTAINER - image: $WINDOWS_IMAGE_2019 - 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 - USE_PARENT_ACCOUNT: false - depend-on: - - build_windows - - upb - - identifier: w_schema_auth_7c_schema_auth_8a_function_migration_api_10 - buildspec: codebuild_specs/run_e2e_tests_windows.yml - env: - type: WINDOWS_SERVER_2019_CONTAINER - image: $WINDOWS_IMAGE_2019 - variables: - TEST_SUITE: src/__tests__/schema-auth-7c.test.ts|src/__tests__/schema-auth-8a.test.ts|src/__tests__/transformer-migrations/function-migration.test.ts|src/__tests__/api_10.test.ts - CLI_REGION: eu-west-2 - USE_PARENT_ACCOUNT: false - depend-on: - - build_windows - - upb - - identifier: w_api_7_export_pull_a_function_9a_geo_headless - buildspec: codebuild_specs/run_e2e_tests_windows.yml - env: - type: WINDOWS_SERVER_2019_CONTAINER - image: $WINDOWS_IMAGE_2019 - 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: us-east-1 - USE_PARENT_ACCOUNT: false - depend-on: - - build_windows - - upb - - identifier: w_api_key_migration5_schema_auth_1a_schema_auth_5b_schema_auth_8b - buildspec: codebuild_specs/run_e2e_tests_windows.yml - env: - type: WINDOWS_SERVER_2019_CONTAINER - image: $WINDOWS_IMAGE_2019 - 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: eu-west-2 - USE_PARENT_ACCOUNT: false - depend-on: - - build_windows - - upb - - identifier: w_schema_auth_9_a_schema_auth_9_c_storage_3_auth_11 - buildspec: codebuild_specs/run_e2e_tests_windows.yml - env: - type: WINDOWS_SERVER_2019_CONTAINER - image: $WINDOWS_IMAGE_2019 - 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: ap-southeast-1 - USE_PARENT_ACCOUNT: false - depend-on: - - build_windows - - upb - - identifier: w_auth_1b_delete_geo_add_c_geo_add_d - buildspec: codebuild_specs/run_e2e_tests_windows.yml - env: - type: WINDOWS_SERVER_2019_CONTAINER - image: $WINDOWS_IMAGE_2019 - 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: us-east-1 - USE_PARENT_ACCOUNT: false - depend-on: - - build_windows - - upb - - identifier: w_geo_import_3_hosting_layer_3_api_connection_migration - buildspec: codebuild_specs/run_e2e_tests_windows.yml - env: - type: WINDOWS_SERVER_2019_CONTAINER - image: $WINDOWS_IMAGE_2019 - 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: ap-southeast-1 - USE_PARENT_ACCOUNT: false - depend-on: - - build_windows - - upb - - identifier: w_api_key_migration3_predictions_schema_auth_11_b_schema_auth_1b - buildspec: codebuild_specs/run_e2e_tests_windows.yml - env: - type: WINDOWS_SERVER_2019_CONTAINER - image: $WINDOWS_IMAGE_2019 - 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: ap-northeast-1 - USE_PARENT_ACCOUNT: false - depend-on: - - build_windows - - upb - - identifier: w_schema_auth_2a_schema_auth_7a_schema_auth_7b_schema_auth_9_b - buildspec: codebuild_specs/run_e2e_tests_windows.yml - env: - type: WINDOWS_SERVER_2019_CONTAINER - image: $WINDOWS_IMAGE_2019 - 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-east-2 - USE_PARENT_ACCOUNT: false - depend-on: - - build_windows - - upb - - identifier: w_predictions_migration_api_6a_auth_7b_export_pull_b - buildspec: codebuild_specs/run_e2e_tests_windows.yml - env: - type: WINDOWS_SERVER_2019_CONTAINER - image: $WINDOWS_IMAGE_2019 - variables: - TEST_SUITE: src/__tests__/transformer-migrations/predictions-migration.test.ts|src/__tests__/api_6a.test.ts|src/__tests__/auth_7b.test.ts|src/__tests__/export-pull-b.test.ts - CLI_REGION: ap-southeast-2 - USE_PARENT_ACCOUNT: false - depend-on: - - build_windows - - upb - - identifier: w_init_special_case_http_migration_schema_auth_12_schema_auth_3 - buildspec: codebuild_specs/run_e2e_tests_windows.yml - env: - type: WINDOWS_SERVER_2019_CONTAINER - image: $WINDOWS_IMAGE_2019 - 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-west-2 - USE_PARENT_ACCOUNT: false - depend-on: - - build_windows - - upb - - identifier: w_schema_function_2_auth_4b_auth_8a_export_pull_d - buildspec: codebuild_specs/run_e2e_tests_windows.yml - env: - type: WINDOWS_SERVER_2019_CONTAINER - image: $WINDOWS_IMAGE_2019 - 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-west-2 - USE_PARENT_ACCOUNT: false - depend-on: - - build_windows - - upb - - identifier: w_schema_auth_5a_schema_iterative_update_3_auth_migration_api_2a - buildspec: codebuild_specs/run_e2e_tests_windows.yml - env: - type: WINDOWS_SERVER_2019_CONTAINER - image: $WINDOWS_IMAGE_2019 - 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: eu-west-2 - USE_PARENT_ACCOUNT: false - depend-on: - - build_windows - - upb - - identifier: w_api_2b_api_6c_api_9a_auth_2g - buildspec: codebuild_specs/run_e2e_tests_windows.yml - env: - type: WINDOWS_SERVER_2019_CONTAINER - image: $WINDOWS_IMAGE_2019 - 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 - USE_PARENT_ACCOUNT: false - depend-on: - - build_windows - - upb - - identifier: w_build_function_custom_resource_with_storage_dynamodb_simulator_export_pull_c - buildspec: codebuild_specs/run_e2e_tests_windows.yml - env: - type: WINDOWS_SERVER_2019_CONTAINER - image: $WINDOWS_IMAGE_2019 - variables: - TEST_SUITE: src/__tests__/build-function.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 - CLI_REGION: us-west-2 - USE_PARENT_ACCOUNT: false - depend-on: - - build_windows - - upb - - identifier: w_function_12_function_13_function_2d_general_config_headless_init - buildspec: codebuild_specs/run_e2e_tests_windows.yml - env: - type: WINDOWS_SERVER_2019_CONTAINER - image: $WINDOWS_IMAGE_2019 - variables: - TEST_SUITE: src/__tests__/function_12.test.ts|src/__tests__/function_13.test.ts|src/__tests__/function_2d.test.ts|src/__tests__/general-config/general-config-headless-init.test.ts - CLI_REGION: ap-southeast-1 - USE_PARENT_ACCOUNT: false - depend-on: - - build_windows - - upb - - identifier: w_help_hooks_c_init_force_push_interactions_1 - buildspec: codebuild_specs/run_e2e_tests_windows.yml - env: - type: WINDOWS_SERVER_2019_CONTAINER - image: $WINDOWS_IMAGE_2019 - variables: - TEST_SUITE: src/__tests__/help.test.ts|src/__tests__/hooks-c.test.ts|src/__tests__/init-force-push.test.ts|src/__tests__/interactions-1.test.ts - CLI_REGION: us-west-2 - USE_PARENT_ACCOUNT: false - depend-on: - - build_windows - - upb - - identifier: w_interactions_2_minify_cloudformation_notifications_multi_env_notifications_sms_update - buildspec: codebuild_specs/run_e2e_tests_windows.yml - env: - type: WINDOWS_SERVER_2019_CONTAINER - image: $WINDOWS_IMAGE_2019 - variables: - TEST_SUITE: src/__tests__/interactions-2.test.ts|src/__tests__/minify-cloudformation.test.ts|src/__tests__/notifications-multi-env.test.ts|src/__tests__/notifications-sms-update.test.ts - CLI_REGION: us-west-2 - USE_PARENT_ACCOUNT: false - depend-on: - - build_windows - - upb - - identifier: w_parameter_store_1_parameter_store_2_pr_previews_multi_env_1_pull_2 - buildspec: codebuild_specs/run_e2e_tests_windows.yml - env: - type: WINDOWS_SERVER_2019_CONTAINER - image: $WINDOWS_IMAGE_2019 - variables: - TEST_SUITE: src/__tests__/parameter-store-1.test.ts|src/__tests__/parameter-store-2.test.ts|src/__tests__/pr-previews-multi-env-1.test.ts|src/__tests__/pull-2.test.ts - CLI_REGION: eu-west-2 - USE_PARENT_ACCOUNT: false - depend-on: - - build_windows - - upb - - identifier: w_push_smoketest_api_8_schema_iterative_update_locking - buildspec: codebuild_specs/run_e2e_tests_windows.yml - env: - type: WINDOWS_SERVER_2019_CONTAINER - image: $WINDOWS_IMAGE_2019 - variables: - TEST_SUITE: 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 - - upb - - 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 - image: $WINDOWS_IMAGE_2019 - variables: - TEST_SUITE: 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: eu-west-2 - USE_PARENT_ACCOUNT: false - depend-on: - - build_windows - - upb - - 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 - image: $WINDOWS_IMAGE_2019 - 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: ap-southeast-2 - USE_PARENT_ACCOUNT: false - depend-on: - - build_windows - - upb - - 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 - image: $WINDOWS_IMAGE_2019 - 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: us-west-2 - USE_PARENT_ACCOUNT: false - depend-on: - - build_windows - - upb - - identifier: w_storage_1a_storage_1b_function_11_function_2b - buildspec: codebuild_specs/run_e2e_tests_windows.yml - env: - type: WINDOWS_SERVER_2019_CONTAINER - image: $WINDOWS_IMAGE_2019 - 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: us-east-2 - USE_PARENT_ACCOUNT: false - depend-on: - - build_windows - - upb - - 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 - image: $WINDOWS_IMAGE_2019 - variables: - TEST_SUITE: 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: us-east-1 - USE_PARENT_ACCOUNT: false - depend-on: - - build_windows - - upb - - 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 - image: $WINDOWS_IMAGE_2019 - variables: - TEST_SUITE: 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-southeast-2 - USE_PARENT_ACCOUNT: false - depend-on: - - build_windows - - upb - - 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 - image: $WINDOWS_IMAGE_2019 - variables: - TEST_SUITE: 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: eu-west-2 - USE_PARENT_ACCOUNT: false - depend-on: - - build_windows - - upb - - 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 - image: $WINDOWS_IMAGE_2019 - variables: - TEST_SUITE: 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-northeast-1 - USE_PARENT_ACCOUNT: false - depend-on: - - build_windows - - upb - - identifier: w_api_3_api_6b_api_1_layer_1 - buildspec: codebuild_specs/run_e2e_tests_windows.yml - env: - type: WINDOWS_SERVER_2019_CONTAINER - image: $WINDOWS_IMAGE_2019 - variables: - TEST_SUITE: 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: eu-west-2 - USE_PARENT_ACCOUNT: false - depend-on: - - build_windows - - upb - - 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 - image: $WINDOWS_IMAGE_2019 - variables: - TEST_SUITE: 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 - - upb - - identifier: w_auth_2c - buildspec: codebuild_specs/run_e2e_tests_windows.yml - env: - type: WINDOWS_SERVER_2019_CONTAINER - image: $WINDOWS_IMAGE_2019 - variables: - TEST_SUITE: src/__tests__/auth_2c.test.ts - CLI_REGION: us-east-2 - USE_PARENT_ACCOUNT: false - depend-on: - - build_windows - - upb - - identifier: w_auth_2e - buildspec: codebuild_specs/run_e2e_tests_windows.yml - env: - type: WINDOWS_SERVER_2019_CONTAINER - image: $WINDOWS_IMAGE_2019 - variables: - TEST_SUITE: src/__tests__/auth_2e.test.ts - CLI_REGION: eu-central-1 - USE_PARENT_ACCOUNT: false - depend-on: - - build_windows - - upb - - identifier: w_env_3 - buildspec: codebuild_specs/run_e2e_tests_windows.yml - env: - type: WINDOWS_SERVER_2019_CONTAINER - image: $WINDOWS_IMAGE_2019 - variables: - TEST_SUITE: src/__tests__/env-3.test.ts - CLI_REGION: ap-southeast-2 - USE_PARENT_ACCOUNT: false - depend-on: - - build_windows - - upb - - identifier: w_notifications_in_app_messaging - buildspec: codebuild_specs/run_e2e_tests_windows.yml - env: - type: WINDOWS_SERVER_2019_CONTAINER - image: $WINDOWS_IMAGE_2019 - variables: - TEST_SUITE: src/__tests__/notifications-in-app-messaging.test.ts - CLI_REGION: eu-west-2 - USE_PARENT_ACCOUNT: false - depend-on: - - build_windows - - upb - - identifier: w_schema_auth_11_a - buildspec: codebuild_specs/run_e2e_tests_windows.yml - env: - type: WINDOWS_SERVER_2019_CONTAINER - image: $WINDOWS_IMAGE_2019 - variables: - TEST_SUITE: src/__tests__/schema-auth-11-a.test.ts - CLI_REGION: eu-west-2 - USE_PARENT_ACCOUNT: false - depend-on: - - build_windows - - upb - - identifier: w_import_s3_3 - buildspec: codebuild_specs/run_e2e_tests_windows.yml - env: - type: WINDOWS_SERVER_2019_CONTAINER - image: $WINDOWS_IMAGE_2019 - variables: - TEST_SUITE: src/__tests__/import_s3_3.test.ts - CLI_REGION: us-east-1 - USE_PARENT_ACCOUNT: false - depend-on: - - build_windows - - upb - - identifier: w_hostingPROD - buildspec: codebuild_specs/run_e2e_tests_windows.yml - env: - type: WINDOWS_SERVER_2019_CONTAINER - image: $WINDOWS_IMAGE_2019 - variables: - TEST_SUITE: src/__tests__/hostingPROD.test.ts - CLI_REGION: ap-northeast-1 - USE_PARENT_ACCOUNT: false - depend-on: - - build_windows - - upb - - identifier: w_containers_api_1 - buildspec: codebuild_specs/run_e2e_tests_windows.yml - env: - type: WINDOWS_SERVER_2019_CONTAINER - image: $WINDOWS_IMAGE_2019 - variables: - TEST_SUITE: src/__tests__/containers-api-1.test.ts - CLI_REGION: ap-southeast-2 - USE_PARENT_ACCOUNT: false - depend-on: - - build_windows - - upb - - identifier: w_schema_auth_15 - buildspec: codebuild_specs/run_e2e_tests_windows.yml - env: - type: WINDOWS_SERVER_2019_CONTAINER - image: $WINDOWS_IMAGE_2019 - variables: - TEST_SUITE: src/__tests__/schema-auth-15.test.ts - CLI_REGION: ap-southeast-1 - USE_PARENT_ACCOUNT: false - depend-on: - - build_windows - - upb - - identifier: w_schema_connection_1 - buildspec: codebuild_specs/run_e2e_tests_windows.yml - env: - type: WINDOWS_SERVER_2019_CONTAINER - image: $WINDOWS_IMAGE_2019 - variables: - TEST_SUITE: src/__tests__/schema-connection-1.test.ts - CLI_REGION: eu-central-1 - USE_PARENT_ACCOUNT: false - depend-on: - - build_windows - - upb - - identifier: w_containers_api_2 - buildspec: codebuild_specs/run_e2e_tests_windows.yml - env: - type: WINDOWS_SERVER_2019_CONTAINER - image: $WINDOWS_IMAGE_2019 - variables: - TEST_SUITE: src/__tests__/containers-api-2.test.ts - CLI_REGION: us-east-1 - USE_PARENT_ACCOUNT: false - depend-on: - - build_windows - - upb - - identifier: w_import_s3_1 - buildspec: codebuild_specs/run_e2e_tests_windows.yml - env: - type: WINDOWS_SERVER_2019_CONTAINER - image: $WINDOWS_IMAGE_2019 - variables: - TEST_SUITE: src/__tests__/import_s3_1.test.ts - CLI_REGION: us-west-2 - USE_PARENT_ACCOUNT: true - depend-on: - - build_windows - - upb - - identifier: w_searchable_migration - buildspec: codebuild_specs/run_e2e_tests_windows.yml - env: - type: WINDOWS_SERVER_2019_CONTAINER - image: $WINDOWS_IMAGE_2019 - variables: - TEST_SUITE: src/__tests__/transformer-migrations/searchable-migration.test.ts - CLI_REGION: ap-northeast-1 - USE_PARENT_ACCOUNT: true - depend-on: - - build_windows - - upb - - identifier: w_geo_remove_1 - buildspec: codebuild_specs/run_e2e_tests_windows.yml - env: - type: WINDOWS_SERVER_2019_CONTAINER - image: $WINDOWS_IMAGE_2019 - variables: - TEST_SUITE: src/__tests__/geo-remove-1.test.ts - CLI_REGION: ap-northeast-1 - USE_PARENT_ACCOUNT: false - depend-on: - - build_windows - - upb - - identifier: w_import_dynamodb_1 - buildspec: codebuild_specs/run_e2e_tests_windows.yml - env: - type: WINDOWS_SERVER_2019_CONTAINER - image: $WINDOWS_IMAGE_2019 - variables: - TEST_SUITE: src/__tests__/import_dynamodb_1.test.ts - CLI_REGION: us-east-2 - USE_PARENT_ACCOUNT: true - depend-on: - build_windows - - upb - - identifier: l_notifications_migration_4_v8 - buildspec: codebuild_specs/migration_tests_v8.yml - env: - variables: - TEST_SUITE: src/__tests__/migration_tests/notifications-migration/notifications-migration-4.test.ts - CLI_REGION: us-east-1 - depend-on: - - upb - - identifier: l_api_key_migration_v8 - buildspec: codebuild_specs/migration_tests_v8.yml - env: - variables: - TEST_SUITE: src/__tests__/migration_tests/transformer_migration/api.key.migration.test.ts - CLI_REGION: us-west-2 - depend-on: - - upb - - identifier: l_notifications_migration_v8 - buildspec: codebuild_specs/migration_tests_v8.yml - env: - variables: - TEST_SUITE: src/__tests__/migration_tests/notifications-migration/notifications-migration.test.ts - CLI_REGION: eu-central-1 - depend-on: - - upb - - identifier: l_api_key_migration_2_v8 - buildspec: codebuild_specs/migration_tests_v8.yml - env: - variables: - TEST_SUITE: src/__tests__/migration_tests/transformer_migration/api.key.migration-2.test.ts - CLI_REGION: eu-central-1 - depend-on: - - upb - - identifier: l_notifications_migration_2_v8 - buildspec: codebuild_specs/migration_tests_v8.yml - env: - variables: - TEST_SUITE: src/__tests__/migration_tests/notifications-migration/notifications-migration-2.test.ts - CLI_REGION: ap-northeast-1 - depend-on: - - upb - - identifier: l_function_migration_update_v8 - buildspec: codebuild_specs/migration_tests_v8.yml - env: - variables: - TEST_SUITE: src/__tests__/update_tests/function_migration_update.test.ts - CLI_REGION: us-west-2 - depend-on: - - upb - - identifier: l_notifications_migration_3_v8 - buildspec: codebuild_specs/migration_tests_v8.yml - env: - variables: - TEST_SUITE: src/__tests__/migration_tests/notifications-migration/notifications-migration-3.test.ts - CLI_REGION: us-east-2 - depend-on: - - upb - - identifier: l_scaffold_v10 - buildspec: codebuild_specs/migration_tests_v10.yml - env: - variables: - TEST_SUITE: src/__tests__/migration_tests_v10/scaffold.test.ts - CLI_REGION: eu-central-1 - depend-on: - - upb - - identifier: l_api_graphql_v2_migration_v10 - buildspec: codebuild_specs/migration_tests_v10.yml - env: - variables: - TEST_SUITE: src/__tests__/migration_tests_v10/api-graphql-v2.migration.test.ts - CLI_REGION: ap-northeast-1 - depend-on: - - upb - - identifier: l_api_rest_basic_migration_v10 - buildspec: codebuild_specs/migration_tests_v10.yml - env: - variables: - TEST_SUITE: src/__tests__/migration_tests_v10/api-rest-basic.migration.test.ts - CLI_REGION: ap-southeast-1 - depend-on: - - upb - - identifier: l_api_rest_lambda_migration_v10 - buildspec: codebuild_specs/migration_tests_v10.yml - env: - variables: - TEST_SUITE: src/__tests__/migration_tests_v10/api-rest-lambda.migration.test.ts - CLI_REGION: us-east-2 - depend-on: - - upb - - identifier: l_api_rest_serverless_migration_v10 - buildspec: codebuild_specs/migration_tests_v10.yml - env: - variables: - TEST_SUITE: src/__tests__/migration_tests_v10/api-rest-serverless.migration.test.ts - CLI_REGION: ap-southeast-2 - depend-on: - - upb - - identifier: l_auth_add_all_migration_v10 - buildspec: codebuild_specs/migration_tests_v10.yml - env: - variables: - TEST_SUITE: src/__tests__/migration_tests_v10/auth-add-all.migration.test.ts - CLI_REGION: ap-northeast-1 - depend-on: - - upb - - identifier: l_auth_override_migration_v10 - buildspec: codebuild_specs/migration_tests_v10.yml - env: - variables: - TEST_SUITE: src/__tests__/migration_tests_v10/auth-override.migration.test.ts - CLI_REGION: us-east-1 - depend-on: - - upb - - identifier: l_custom_stack_migration_v10 - buildspec: codebuild_specs/migration_tests_v10.yml - env: - variables: - TEST_SUITE: src/__tests__/migration_tests_v10/custom-stack.migration.test.ts - CLI_REGION: ap-southeast-2 - depend-on: - - upb - - identifier: l_geo_migration_v10 - buildspec: codebuild_specs/migration_tests_v10.yml - env: - variables: - TEST_SUITE: src/__tests__/migration_tests_v10/geo.migration.test.ts - CLI_REGION: us-east-2 - depend-on: - - upb - - identifier: l_git_clone_migration_tests_v10 - buildspec: codebuild_specs/migration_tests_v10.yml - env: - variables: - TEST_SUITE: src/__tests__/migration_tests_v10/git-clone-migration-tests.test.ts - CLI_REGION: eu-central-1 - depend-on: - - upb - - identifier: l_pinpoint_region_migration_v10 - buildspec: codebuild_specs/migration_tests_v10.yml - env: - variables: - TEST_SUITE: src/__tests__/migration_tests_v10/pinpoint-region.migration.test.ts - CLI_REGION: us-east-2 - depend-on: - - upb - - identifier: l_storage_migration_v10 - buildspec: codebuild_specs/migration_tests_v10.yml - env: - variables: - TEST_SUITE: src/__tests__/migration_tests_v10/storage.migration.test.ts - CLI_REGION: ap-southeast-1 - depend-on: - - upb - - identifier: aggregate_e2e_reports - env: - compute-type: BUILD_GENERAL1_MEDIUM - variables: - WAIT_FOR_IDS_FILE_PATH: ./codebuild_specs/wait_for_ids.json - buildspec: codebuild_specs/aggregate_e2e_reports.yml - depend-on: - - upb diff --git a/codebuild_specs/migration_tests_v10.yml b/codebuild_specs/migration_tests_v10.yml index 83501f0e397..1d70ea65c48 100644 --- a/codebuild_specs/migration_tests_v10.yml +++ b/codebuild_specs/migration_tests_v10.yml @@ -25,7 +25,7 @@ phases: build: commands: # you can provide a codebuild source version to use old cache and skip all other jobs :) - - export NODE_OPTIONS=--max-old-space-size=8096 + # - export NODE_OPTIONS=--max-old-space-size=8096 - export AMPLIFY_DIR=$CODEBUILD_SRC_DIR/out - export AMPLIFY_PATH=$HOME/.amplify/bin/amplify - echo $AMPLIFY_DIR diff --git a/codebuild_specs/migration_tests_v8.yml b/codebuild_specs/migration_tests_v8.yml index 6993dd93ae4..1312786c0a2 100644 --- a/codebuild_specs/migration_tests_v8.yml +++ b/codebuild_specs/migration_tests_v8.yml @@ -25,7 +25,7 @@ phases: build: commands: # you can provide a codebuild source version to use old cache and skip all other jobs :) - - export NODE_OPTIONS=--max-old-space-size=8096 + # - export NODE_OPTIONS=--max-old-space-size=8096 - export AMPLIFY_DIR=$CODEBUILD_SRC_DIR/out - export AMPLIFY_PATH=$HOME/.npm-global/bin/amplify - echo $AMPLIFY_DIR diff --git a/codebuild_specs/run_e2e_tests_linux.yml b/codebuild_specs/run_e2e_tests_linux.yml index ae1d54fac5a..e058e7266ab 100644 --- a/codebuild_specs/run_e2e_tests_linux.yml +++ b/codebuild_specs/run_e2e_tests_linux.yml @@ -25,7 +25,7 @@ phases: build: commands: # you can provide a codebuild source version to use old cache and skip all other jobs :) - - export NODE_OPTIONS=--max-old-space-size=8096 + - export NODE_OPTIONS=--max-old-space-size=4096 - export AMPLIFY_DIR=$CODEBUILD_SRC_DIR/out - export AMPLIFY_PATH=$CODEBUILD_SRC_DIR/out/amplify-pkg-linux-x64 - echo $AMPLIFY_DIR diff --git a/codebuild_specs/run_e2e_tests_windows.yml b/codebuild_specs/run_e2e_tests_windows.yml index b88927d5181..078f3eebf0a 100644 --- a/codebuild_specs/run_e2e_tests_windows.yml +++ b/codebuild_specs/run_e2e_tests_windows.yml @@ -26,6 +26,7 @@ phases: build: commands: - choco install -fy jq + - git config --global core.longpaths true - bash ./codebuild_specs/scripts-windows/load-e2e-cache.sh - bash ./codebuild_specs/scripts-windows/rename-packaged-cli.sh - bash ./codebuild_specs/scripts-windows/run-e2e-windows.sh diff --git a/codebuild_specs/scripts-windows/run-e2e-windows.sh b/codebuild_specs/scripts-windows/run-e2e-windows.sh index eab1d5b9c00..36b6cfe0691 100644 --- a/codebuild_specs/scripts-windows/run-e2e-windows.sh +++ b/codebuild_specs/scripts-windows/run-e2e-windows.sh @@ -8,6 +8,7 @@ export MSYS2_ARG_CONV_EXCL="*" export AMPLIFY_DIR=$CODEBUILD_SRC_DIR\\out export AMPLIFY_PATH=$CODEBUILD_SRC_DIR\\out\\amplify.exe +export NODE_OPTIONS=--max-old-space-size=4096 source .circleci/local_publish_helpers.sh source ./codebuild_specs/scripts-windows/shared-scripts-windows.sh diff --git a/codebuild_specs/wait_for_ids.json b/codebuild_specs/wait_for_ids.json index 6e332decc57..7cef719a42c 100644 --- a/codebuild_specs/wait_for_ids.json +++ b/codebuild_specs/wait_for_ids.json @@ -1,184 +1,224 @@ [ - "l_analytics_2_global_sandbox_c_hooks_b_notifications_analytics_compatibility_sms_1", - "l_api_10_api_7_export_pull_a_function_9a", - "l_api_2b_api_6c_api_9a_auth_12", - "l_api_4_containers_api_secrets_storage_4_schema_auth_10", - "l_api_5_apigw_api_lambda_auth_1_api_key_migration2", - "l_api_6b_api_1_layer_1_api_key_migration4", - "l_api_connection_migration_api_key_migration3_predictions_schema_auth_11_b", - "l_api_graphql_v2_migration_v10", - "l_api_key_migration_2_v8", - "l_api_key_migration_v8", - "l_api_rest_basic_migration_v10", - "l_api_rest_lambda_migration_v10", - "l_api_rest_serverless_migration_v10", - "l_auth_11_auth_1b_delete_geo_add_c", - "l_auth_1a_auth_trigger_custom_policies_function_function_6", - "l_auth_1c_auth_5e_auth_8b_geo_add_b", - "l_auth_2a_auth_2b_auth_2d_auth_2f", - "l_auth_2c", - "l_auth_2e", - "l_auth_2g_build_function_custom_resource_with_storage_dynamodb_simulator", - "l_auth_3b_auth_4a_auth_7a_auth_8c", - "l_auth_4b_auth_8a_export_pull_d_schema_auth_5a", - "l_auth_5c_env_1_geo_add_a_init_a", - "l_auth_5f_env_4_frontend_config_drift_schema_auth_4d", - "l_auth_7b_export_pull_b_function_3a_init_special_case", - "l_auth_add_all_migration_v10", - "l_auth_override_migration_v10", - "l_containers_api_1", - "l_containers_api_2", - "l_custom_resources_env_5_function_10_function_9c", - "l_custom_stack_migration_v10", - "l_datastore_modelgen_amplify_app_diagnose_hooks_a", - "l_env_3", - "l_export_pull_c_function_12_function_13_function_15", - "l_feature_flags_geo_import_1b_global_sandbox_a_init_e", - "l_flutter_notifications_pinpoint_config_ios_analytics_pinpoint_config_ios_notifications_pinpoint_config_javascript_analytics_pi", - "l_function_11_function_2b_function_7_api_connection_migration2", - "l_function_2d_general_config_headless_init_help_hooks_c", - "l_function_4_interactions_schema_model_a_tags", - "l_function_5_schema_iterative_update_1_auth_6_function_2a", - "l_function_9b_schema_iterative_update_2_storage_1a_storage_1b", - "l_function_migration_update_v8", - "l_function_permissions_geo_import_1a_geo_import_2_global_sandbox_b", - "l_geo_add_d_geo_import_3_hosting_layer_3", - "l_geo_add_e", - "l_geo_add_f", - "l_geo_headless_api_key_migration5_schema_auth_1a_schema_auth_5b", - "l_geo_migration_v10", - "l_geo_multi_env_searchable_datastore_resolvers_schema_key", - "l_geo_remove_1", - "l_geo_remove_2", - "l_geo_remove_3", - "l_geo_update_1", - "l_geo_update_2", - "l_git_clone_migration_tests_v10", - "l_hostingPROD", - "l_http_migration_schema_auth_12_schema_auth_3_schema_function_2", - "l_import_auth_1a", - "l_import_auth_1b", - "l_import_auth_2a", - "l_import_auth_2b", - "l_import_auth_3", - "l_import_dynamodb_1", - "l_import_dynamodb_2a", - "l_import_dynamodb_2b", - "l_import_dynamodb_2c", - "l_import_s3_1", - "l_import_s3_2a", - "l_import_s3_2b", - "l_import_s3_2c", - "l_import_s3_3", - "l_init_b_notifications_apns_notifications_fcm_notifications_in_app_messaging_env_2", - "l_init_c_layer_4_function_2c_function_3b", - "l_init_f_auth_5d_configure_project_git_clone_attach", - "l_init_force_push_interactions_1_interactions_2_minify_cloudformation", - "l_javascript_notifications_pinpoint_config_pr_previews_multi_env_1_pull_2_push", - "l_mock_api_analytics_kinesis_analytics_pinpoint_flutter_analytics_pinpoint_js", - "l_model_migration_auth_3c_auth_4c_auth_5a", - "l_notifications_analytics_compatibility_in_app_2_schema_auth_11_c_schema_auth_2b_schema_auth_6c", - "l_notifications_in_app_messaging", - "l_notifications_lifecycle_uibuilder_notifications_analytics_compatibility_in_app_1_notifications_analytics_compatibility_sms_2", - "l_notifications_migration_2_v8", - "l_notifications_migration_3_v8", - "l_notifications_migration_4_v8", - "l_notifications_migration_v8", - "l_notifications_multi_env_notifications_sms_update_opensearch_simulator_parameter_store_1", - "l_notifications_sms_pull_pull_auth_10_container_hosting", - "l_notifications_sms_schema_auth_4b_schema_model_e_schema_versioned", - "l_parameter_store_2_android_analytics_pinpoint_config_android_notifications_pinpoint_config_flutter_analytics_pinpoint_config", - "l_pinpoint_region_migration_v10", - "l_plugin_studio_modelgen_custom_transformers_notifications_in_app_messaging_env_1", - "l_s3_sse_schema_auth_4a_schema_model_b_schema_model_d", - "l_scaffold_v10", - "l_schema_auth_11_a", - "l_schema_auth_15", - "l_schema_auth_1b_schema_auth_2a_schema_auth_7a_schema_auth_7b", - "l_schema_auth_4c_schema_auth_5c_auth_5b_auth_9", - "l_schema_auth_5d_schema_auth_6b_schema_auth_8c_auth_3a", - "l_schema_auth_6a_schema_data_access_patterns_schema_model_c_schema_predictions", - "l_schema_auth_6d_schema_auth_7c_schema_auth_8a_function_migration", - "l_schema_auth_8b_schema_auth_9_a_schema_auth_9_c_storage_3", - "l_schema_auth_9_b_schema_iterative_rollback_1_predictions_migration_api_6a", - "l_schema_connection_1", - "l_schema_connection_2_schema_function_1_api_9b_custom_policies_container", - "l_schema_iterative_rollback_2_schema_iterative_update_3_auth_migration_api_2a", - "l_schema_iterative_update_4_function_1_storage_5", - "l_schema_iterative_update_locking_api_lambda_auth_2_layer_2_schema_auth_13", - "l_schema_searchable_api_key_migration1_schema_auth_14_api_3", - "l_searchable_migration", - "l_smoketest_S3server_api_8_function_8", - "l_storage_2_export_iam_permissions_boundary_node_function", - "l_storage_migration_v10", - "l_with_babel_config_amplify_configure_env_2_init_d", - "w_analytics_kinesis_analytics_pinpoint_flutter_analytics_pinpoint_js_auth_2a", - "w_api_2b_api_6c_api_9a_auth_2g", - "w_api_3_api_6b_api_1_layer_1", - "w_api_7_export_pull_a_function_9a_geo_headless", - "w_api_9b_custom_policies_container_function_9b_schema_iterative_update_2", - "w_api_connection_migration2_api_4_containers_api_secrets_storage_4", - "w_api_key_migration2_schema_searchable_api_key_migration1_schema_auth_14", - "w_api_key_migration3_predictions_schema_auth_11_b_schema_auth_1b", - "w_api_key_migration4_schema_iterative_update_4_function_1", - "w_api_key_migration5_schema_auth_1a_schema_auth_5b_schema_auth_8b", - "w_api_lambda_auth_2_schema_auth_13_function_5_schema_iterative_update_1", - "w_auth_1b_delete_geo_add_c_geo_add_d", - "w_auth_2b_auth_2d_auth_2f_notifications_lifecycle", - "w_auth_2c", - "w_auth_2e", - "w_auth_3c_auth_4c_auth_5a_auth_5c", - "w_auth_4a_auth_7a_auth_8c_feature_flags", - "w_auth_5e_auth_8b_geo_add_b_s3_sse", - "w_auth_6_function_2a_schema_connection_2_schema_function_1", - "w_build_function_custom_resource_with_storage_dynamodb_simulator_export_pull_c", - "w_container_hosting_init_b_notifications_apns_notifications_fcm", - "w_containers_api_1", - "w_containers_api_2", - "w_custom_transformers_notifications_in_app_messaging_env_1_notifications_sms_pull_auth_10", - "w_env_1_geo_add_a_init_a_schema_auth_4c", - "w_env_3", - "w_env_4_frontend_config_drift_schema_auth_4d_schema_auth_6a", - "w_env_5_function_10_function_9c_function_permissions", - "w_function_12_function_13_function_2d_general_config_headless_init", - "w_geo_import_1a_geo_import_2_global_sandbox_b_schema_auth_5d", - "w_geo_import_1b_global_sandbox_a_init_e_notifications_analytics_compatibility_in_app_2", - "w_geo_import_3_hosting_layer_3_api_connection_migration", - "w_geo_remove_1", - "w_help_hooks_c_init_force_push_interactions_1", - "w_hooks_b_notifications_analytics_compatibility_sms_1_plugin_studio_modelgen", - "w_hostingPROD", - "w_import_dynamodb_1", - "w_import_s3_1", - "w_import_s3_3", - "w_init_f_auth_5d_configure_project_init_c", - "w_init_special_case_http_migration_schema_auth_12_schema_auth_3", - "w_interactions_2_minify_cloudformation_notifications_multi_env_notifications_sms_update", - "w_layer_4_function_2c_interactions_schema_model_a", - "w_notifications_analytics_compatibility_in_app_1_notifications_analytics_compatibility_sms_2_analytics_2_global_sandbox_c", - "w_notifications_in_app_messaging", - "w_notifications_in_app_messaging_env_2_with_babel_config_amplify_configure_init_d", - "w_parameter_store_1_parameter_store_2_pr_previews_multi_env_1_pull_2", - "w_predictions_migration_api_6a_auth_7b_export_pull_b", - "w_push_smoketest_api_8_schema_iterative_update_locking", - "w_schema_auth_10_geo_multi_env_searchable_datastore_resolvers", - "w_schema_auth_11_a", - "w_schema_auth_11_c_schema_auth_2b_schema_auth_6c_schema_auth_6d", - "w_schema_auth_15", - "w_schema_auth_2a_schema_auth_7a_schema_auth_7b_schema_auth_9_b", - "w_schema_auth_4a_schema_model_b_schema_model_d_auth_5f", - "w_schema_auth_4b_schema_model_e_schema_versioned_auth_1c", - "w_schema_auth_5a_schema_iterative_update_3_auth_migration_api_2a", - "w_schema_auth_5c_auth_5b_auth_9_custom_resources", - "w_schema_auth_6b_schema_auth_8c_auth_3a_auth_3b", - "w_schema_auth_7c_schema_auth_8a_function_migration_api_10", - "w_schema_auth_9_a_schema_auth_9_c_storage_3_auth_11", - "w_schema_connection_1", - "w_schema_data_access_patterns_schema_model_c_schema_predictions_model_migration", - "w_schema_function_2_auth_4b_auth_8a_export_pull_d", - "w_schema_key_api_5_apigw_api_lambda_auth_1", - "w_searchable_migration", - "w_storage_1a_storage_1b_function_11_function_2b", - "w_storage_2_iam_permissions_boundary_node_function_notifications_sms", - "w_tags_auth_1a_auth_trigger_custom_policies_function" -] + "l_amplify_app", + "l_analytics_kinesis_analytics_pinpoint_flutter_analytics_pinpoint_js", + "l_android_notifications_pinpoint_config_flutter_analytics_pinpoint_config_flutter_notifications_pinpoint_config", + "l_api_10_api_7_export_pull_a", + "l_api_1_layer_1_api_key_migration4", + "l_api_2b_api_6c_api_9a", + "l_api_5_apigw_api_lambda_auth_1", + "l_api_8_function_8_schema_iterative_update_locking", + "l_api_9b_custom_policies_container_function_9b", + "l_api_connection_migration2_api_4_containers_api_secrets", + "l_api_graphql_v2_migration_v10", + "l_api_key_migration2_schema_searchable_api_key_migration1", + "l_api_key_migration3_predictions_schema_auth_11_b", + "l_api_key_migration_2_v8", + "l_api_key_migration_v8", + "l_api_lambda_auth_2_layer_2_schema_auth_13", + "l_api_rest_basic_migration_v10", + "l_api_rest_lambda_migration_v10", + "l_api_rest_serverless_migration_v10", + "l_auth_10_container_hosting_init_b", + "l_auth_11_auth_1b_delete", + "l_auth_12_auth_2g_build_function", + "l_auth_2a_auth_2b_auth_2d", + "l_auth_2c", + "l_auth_2e", + "l_auth_2f_notifications_lifecycle_uibuilder", + "l_auth_3c_auth_4c_auth_5a", + "l_auth_4a_auth_7a_auth_8c", + "l_auth_5b_auth_9_custom_resources", + "l_auth_5c_env_1_geo_add_a", + "l_auth_5f_env_4_frontend_config_drift", + "l_auth_8b_geo_add_b_s3_sse", + "l_auth_add_all_migration_v10", + "l_auth_override_migration_v10", + "l_configure_project_git_clone_attach_init_c", + "l_containers_api_1", + "l_containers_api_2", + "l_custom_policies_function_function_6_storage_2", + "l_custom_resource_with_storage_dynamodb_simulator_export_pull_c", + "l_custom_stack_migration_v10", + "l_datastore_modelgen", + "l_diagnose_hooks_a_mock_api", + "l_env_3", + "l_env_5_function_10_function_9c", + "l_export_iam_permissions_boundary_node_function", + "l_export_pull_b_function_3a_init_special_case", + "l_export_pull_d_schema_auth_5a_schema_iterative_rollback_2", + "l_feature_flags_geo_import_1b_global_sandbox_a", + "l_function_11_function_2b_function_7", + "l_function_12_function_13_function_14", + "l_function_15_function_2d_general_config_headless_init", + "l_function_2a_schema_connection_2_schema_function_1", + "l_function_4_interactions_schema_model_a", + "l_function_5_schema_iterative_update_1_auth_6", + "l_function_9a_geo_headless_api_key_migration5", + "l_function_migration_update_v8", + "l_function_permissions_geo_import_1a_geo_import_2", + "l_geo_add_c_geo_add_d_geo_import_3", + "l_geo_add_e", + "l_geo_add_f", + "l_geo_migration_v10", + "l_geo_remove_1", + "l_geo_remove_2", + "l_geo_remove_3", + "l_geo_update_1", + "l_geo_update_2", + "l_git_clone_migration_tests_v10", + "l_global_sandbox_b_schema_auth_5d_schema_auth_6b", + "l_global_sandbox_c_hooks_b_notifications_analytics_compatibility_sms_1", + "l_help_hooks_c_init_force_push", + "l_hostingPROD", + "l_hosting_layer_3_api_connection_migration", + "l_http_migration_schema_auth_12_schema_auth_3", + "l_import_auth_1a", + "l_import_auth_1b", + "l_import_auth_2a", + "l_import_auth_2b", + "l_import_auth_3", + "l_import_dynamodb_1", + "l_import_dynamodb_2a", + "l_import_dynamodb_2b", + "l_import_dynamodb_2c", + "l_import_s3_1", + "l_import_s3_2a", + "l_import_s3_2b", + "l_import_s3_2c", + "l_import_s3_3", + "l_init_a_schema_auth_4c_schema_auth_5c", + "l_init_d_init_f_auth_5d", + "l_init_e_notifications_analytics_compatibility_in_app_2_schema_auth_11_c", + "l_interactions_1_interactions_2_minify_cloudformation", + "l_ios_analytics_pinpoint_config_ios_notifications_pinpoint_config_javascript_analytics_pinpoint_config", + "l_javascript_notifications_pinpoint_config_pr_previews_multi_env_1_pull_2", + "l_layer_4_function_2c_function_3b", + "l_notifications_analytics_compatibility_in_app_1_notifications_analytics_compatibility_sms_2_analytics_2", + "l_notifications_apns_notifications_fcm_notifications_in_app_messaging_env_2", + "l_notifications_in_app_messaging", + "l_notifications_in_app_messaging_env_1_notifications_sms_pull_pull", + "l_notifications_migration_2_v8", + "l_notifications_migration_3_v8", + "l_notifications_migration_4_v8", + "l_notifications_migration_v8", + "l_notifications_multi_env_notifications_sms_update_opensearch_simulator", + "l_notifications_sms_schema_auth_4b_schema_model_e", + "l_parameter_store_1_parameter_store_2_android_analytics_pinpoint_config", + "l_pinpoint_region_migration_v10", + "l_plugin_studio_modelgen_custom_transformers", + "l_predictions_migration_api_6a_auth_7b", + "l_push_smoketest_S3server", + "l_scaffold_v10", + "l_schema_auth_11_a", + "l_schema_auth_14_api_3_api_6b", + "l_schema_auth_15", + "l_schema_auth_1a_schema_auth_5b_schema_auth_8b", + "l_schema_auth_1b_schema_auth_2a_schema_auth_7a", + "l_schema_auth_2b_schema_auth_6c_schema_auth_6d", + "l_schema_auth_4a_schema_model_b_schema_model_d", + "l_schema_auth_4d_schema_auth_6a_schema_data_access_patterns", + "l_schema_auth_7b_schema_auth_9_b_schema_iterative_rollback_1", + "l_schema_auth_7c_schema_auth_8a_function_migration", + "l_schema_auth_8c_auth_3a_auth_3b", + "l_schema_auth_9_a_schema_auth_9_c_storage_3", + "l_schema_connection_1", + "l_schema_function_2_auth_4b_auth_8a", + "l_schema_iterative_update_2_storage_1a_storage_1b", + "l_schema_iterative_update_3_auth_migration_api_2a", + "l_schema_iterative_update_4_function_1_storage_5", + "l_schema_model_c_schema_predictions_model_migration", + "l_schema_versioned_auth_1c_auth_5e", + "l_searchable_datastore_resolvers_schema_key", + "l_searchable_migration", + "l_storage_4_schema_auth_10_geo_multi_env", + "l_storage_migration_v10", + "l_tags_auth_1a_auth_trigger", + "l_with_babel_config_amplify_configure_env_2", + "w_analytics_kinesis_analytics_pinpoint_flutter_analytics_pinpoint_js", + "w_api_1_layer_1_api_key_migration4", + "w_api_2a_api_2b_api_6c", + "w_api_5_apigw_api_lambda_auth_1", + "w_api_8_schema_iterative_update_locking_api_lambda_auth_2", + "w_api_9a_auth_2g_build_function", + "w_api_connection_migration2_api_4_containers_api_secrets", + "w_api_connection_migration_api_key_migration3_predictions", + "w_api_key_migration2_schema_searchable_api_key_migration1", + "w_api_key_migration5_schema_auth_1a_schema_auth_5b", + "w_auth_2a_auth_2b_auth_2d", + "w_auth_2c", + "w_auth_2e", + "w_auth_2f_notifications_lifecycle_notifications_analytics_compatibility_in_app_1", + "w_auth_3b_auth_4a_auth_7a", + "w_auth_4b_auth_8a_export_pull_d", + "w_auth_5a_auth_5c_env_1", + "w_auth_5e_auth_8b_geo_add_b", + "w_auth_6_function_2a_schema_connection_2", + "w_auth_8c_feature_flags_geo_import_1b", + "w_configure_project_init_c_layer_4", + "w_containers_api_1", + "w_containers_api_2", + "w_custom_policies_function_storage_2_iam_permissions_boundary", + "w_custom_resource_with_storage_dynamodb_simulator_export_pull_c", + "w_custom_resources_env_5_function_10", + "w_delete_geo_add_c_geo_add_d", + "w_env_3", + "w_export_pull_a_function_9a_geo_headless", + "w_export_pull_b_init_special_case_http_migration", + "w_frontend_config_drift_schema_auth_4d_schema_auth_6a", + "w_function_12_function_13_function_14", + "w_function_2c_interactions_schema_model_a", + "w_function_2d_general_config_headless_init_help", + "w_function_9b_schema_iterative_update_2_storage_1a", + "w_function_9c_function_permissions_geo_import_1a", + "w_function_migration_api_10_api_7", + "w_geo_add_a_init_a_schema_auth_4c", + "w_geo_import_2_global_sandbox_b_schema_auth_5d", + "w_geo_import_3_hosting_layer_3", + "w_geo_remove_1", + "w_global_sandbox_a_init_e_notifications_analytics_compatibility_in_app_2", + "w_hooks_b_notifications_analytics_compatibility_sms_1_plugin", + "w_hooks_c_init_force_push_interactions_1", + "w_hostingPROD", + "w_import_dynamodb_1", + "w_import_s3_1", + "w_import_s3_3", + "w_init_b_notifications_apns_notifications_fcm", + "w_init_d_init_f_auth_5d", + "w_interactions_2_minify_cloudformation_notifications_multi_env", + "w_model_migration_auth_3c_auth_4c", + "w_node_function_notifications_sms_schema_auth_4b", + "w_notifications_analytics_compatibility_sms_2_analytics_2_global_sandbox_c", + "w_notifications_in_app_messaging", + "w_notifications_in_app_messaging_env_2_with_babel_config_amplify_configure", + "w_notifications_sms_pull_auth_10_container_hosting", + "w_notifications_sms_update_parameter_store_1_parameter_store_2", + "w_pr_previews_multi_env_1_push_smoketest", + "w_predictions_migration_api_6a_auth_7b", + "w_s3_sse_schema_auth_4a_schema_model_b", + "w_schema_auth_11_a", + "w_schema_auth_11_b_schema_auth_1b_schema_auth_2a", + "w_schema_auth_11_c_schema_auth_2b_schema_auth_6c", + "w_schema_auth_12_schema_auth_3_schema_function_2", + "w_schema_auth_13_function_5_schema_iterative_update_1", + "w_schema_auth_14_api_3_api_6b", + "w_schema_auth_15", + "w_schema_auth_5a_schema_iterative_update_3_auth_migration", + "w_schema_auth_5c_auth_5b_auth_9", + "w_schema_auth_6b_schema_auth_8c_auth_3a", + "w_schema_auth_6d_schema_auth_7c_schema_auth_8a", + "w_schema_auth_7a_schema_auth_7b_schema_auth_9_b", + "w_schema_auth_8b_schema_auth_9_a_schema_auth_9_c", + "w_schema_connection_1", + "w_schema_data_access_patterns_schema_model_c_schema_predictions", + "w_schema_function_1_api_9b_custom_policies_container", + "w_schema_iterative_update_4_function_1", + "w_schema_model_d_auth_5f_env_4", + "w_schema_model_e_schema_versioned_auth_1c", + "w_searchable_datastore_resolvers_schema_key", + "w_searchable_migration", + "w_storage_1b_function_11_function_2b", + "w_storage_3_auth_11_auth_1b", + "w_storage_4_schema_auth_10_geo_multi_env", + "w_studio_modelgen_custom_transformers_notifications_in_app_messaging_env_1", + "w_tags_auth_1a_auth_trigger" +] \ No newline at end of file diff --git a/packages/amplify-e2e-core/src/categories/auth.ts b/packages/amplify-e2e-core/src/categories/auth.ts index a1d67b9fdd1..f182259d775 100644 --- a/packages/amplify-e2e-core/src/categories/auth.ts +++ b/packages/amplify-e2e-core/src/categories/auth.ts @@ -153,7 +153,7 @@ interface AddApiOptions { const defaultOptions: AddApiOptions = { apiName: '\r', - testingWithLatestCodebase: true, + testingWithLatestCodebase: false, transformerVersion: 2, }; diff --git a/packages/amplify-e2e-core/src/categories/geo.ts b/packages/amplify-e2e-core/src/categories/geo.ts index ef95914dfdc..ae4f9b9876a 100644 --- a/packages/amplify-e2e-core/src/categories/geo.ts +++ b/packages/amplify-e2e-core/src/categories/geo.ts @@ -26,7 +26,11 @@ const defaultSearchIndexQuestion = `Set this search index as the default? It wil const defaultMapQuestion = `Set this Map as the default? It will be used in Amplify Map API calls if no explicit reference is provided.`; const defaultGeofenceCollectionQuestion = `Set this geofence collection as the default? It will be used in Amplify geofence collection API calls if no explicit reference is provided.`; +const isWindowsPlatform = (): boolean => !!process?.platform?.startsWith('win'); export function getGeoJSONFilePath(fileName: string): string { + if (process.env.CODEBUILD_SRC_DIR && isWindowsPlatform()) { + return path.join(process.env.CODEBUILD_SRC_DIR, 'packages', 'amplify-e2e-tests', 'geo-json-files', fileName); + } return path.join(__dirname, '..', '..', '..', 'amplify-e2e-tests', 'geo-json-files', fileName); } diff --git a/packages/amplify-e2e-core/src/categories/notifications.ts b/packages/amplify-e2e-core/src/categories/notifications.ts index 7e52d2a8cbf..058bd3fe21a 100644 --- a/packages/amplify-e2e-core/src/categories/notifications.ts +++ b/packages/amplify-e2e-core/src/categories/notifications.ts @@ -43,7 +43,7 @@ export const addNotificationChannel = async ( channel: string, hasAnalytics = false, hasAuth = false, - testingWithLatestCodebase = true, + testingWithLatestCodebase = false, ): Promise => { const chain = spawn(getCLIPath(testingWithLatestCodebase), ['add', 'notification'], { cwd, stripColors: true }); @@ -90,7 +90,7 @@ export const updateNotificationChannel = async ( cwd: string, channel: string, enable = true, - testingWithLatestCodebase = true, + testingWithLatestCodebase = false, ): Promise => { const chain = spawn(getCLIPath(testingWithLatestCodebase), ['update', 'notification'], { cwd, stripColors: true }); chain.wait('Choose the notification channel to configure').sendLine(channel); diff --git a/packages/amplify-e2e-core/src/utils/pinpoint.ts b/packages/amplify-e2e-core/src/utils/pinpoint.ts index b9f6ec9aec8..9589cccd4a9 100644 --- a/packages/amplify-e2e-core/src/utils/pinpoint.ts +++ b/packages/amplify-e2e-core/src/utils/pinpoint.ts @@ -117,7 +117,7 @@ export function initProjectForPinpoint(cwd: string): Promise { /** * adds a pinpoint resource, you may specific a name for the resource */ -export function addPinpointAnalytics(cwd: string, testingWithLatestCodebase = true, pinPointResourceName?: string): Promise { +export function addPinpointAnalytics(cwd: string, testingWithLatestCodebase = false, pinPointResourceName?: string): Promise { const resourceName = pinPointResourceName || settings.pinpointResourceName; return new Promise((resolve, reject) => { spawn(getCLIPath(testingWithLatestCodebase), ['add', 'analytics'], { cwd, stripColors: true }) diff --git a/packages/amplify-e2e-tests/src/__tests__/function_14.test.ts b/packages/amplify-e2e-tests/src/__tests__/function_14.test.ts index 6f8ba35b1c3..2502c920a1b 100644 --- a/packages/amplify-e2e-tests/src/__tests__/function_14.test.ts +++ b/packages/amplify-e2e-tests/src/__tests__/function_14.test.ts @@ -33,7 +33,7 @@ describe('amplify push function cases:', () => { const functionPath = pathManager.getResourceDirectoryPath(projRoot, AmplifyCategories.FUNCTION, funcName); const amplifyState = JSONUtilities.readJson(path.join(functionPath, 'amplify.state')); - expect(amplifyState.scripts.build).toEqual('npm install --no-bin-links --production'); + expect(amplifyState.scripts.build).toMatch(/npm.* install --no-bin-links --production/); }); it('should select the YARN package manager and build', async () => { @@ -45,7 +45,7 @@ describe('amplify push function cases:', () => { const functionPath = pathManager.getResourceDirectoryPath(projRoot, AmplifyCategories.FUNCTION, funcName); const amplifyState = JSONUtilities.readJson(path.join(functionPath, 'amplify.state')); - expect(amplifyState.scripts.build).toEqual('yarn --no-bin-links --production'); + expect(amplifyState.scripts.build).toMatch(/yarn.* --no-bin-links --production/); }); it('should select the CUSTOM package manager and build', async () => { @@ -58,7 +58,7 @@ describe('amplify push function cases:', () => { ); const functionPath = pathManager.getResourceDirectoryPath(projRoot, AmplifyCategories.FUNCTION, funcName); const amplifyState = JSONUtilities.readJson(path.join(functionPath, 'amplify.state')); - expect(amplifyState.scripts.build).toEqual('yarn'); + expect(amplifyState.scripts.build).toMatch(/yarn.*/); await functionBuild(projRoot); }); diff --git a/packages/amplify-e2e-tests/src/__tests__/global_sandbox-a.test.ts b/packages/amplify-e2e-tests/src/__tests__/global_sandbox-a.test.ts index 99280cb953e..9cd8c1721e7 100644 --- a/packages/amplify-e2e-tests/src/__tests__/global_sandbox-a.test.ts +++ b/packages/amplify-e2e-tests/src/__tests__/global_sandbox-a.test.ts @@ -27,8 +27,8 @@ describe('global sandbox mode a', () => { it('compiles schema with one model and pushes to cloud', async () => { await addApiWithOneModel(projectDir); - await apiGqlCompile(projectDir, true); + await apiGqlCompile(projectDir); await generateModels(projectDir); - await amplifyPush(projectDir, true); + await amplifyPush(projectDir); }); }); diff --git a/packages/amplify-e2e-tests/src/__tests__/global_sandbox-b.test.ts b/packages/amplify-e2e-tests/src/__tests__/global_sandbox-b.test.ts index 33e27da6f65..44344b87ff9 100644 --- a/packages/amplify-e2e-tests/src/__tests__/global_sandbox-b.test.ts +++ b/packages/amplify-e2e-tests/src/__tests__/global_sandbox-b.test.ts @@ -30,8 +30,8 @@ describe('global sandbox mode b', () => { it('compiles schema user-added schema and pushes to cloud', async () => { await addApiWithoutSchema(projectDir, { apiName }); updateApiSchema(projectDir, apiName, 'model_with_sandbox_mode.graphql'); - await apiGqlCompile(projectDir, true); + await apiGqlCompile(projectDir); await generateModels(projectDir); - await amplifyPush(projectDir, true); + await amplifyPush(projectDir); }); }); diff --git a/packages/amplify-e2e-tests/src/__tests__/global_sandbox-c.test.ts b/packages/amplify-e2e-tests/src/__tests__/global_sandbox-c.test.ts index cd955bcb55a..12801aa6520 100644 --- a/packages/amplify-e2e-tests/src/__tests__/global_sandbox-c.test.ts +++ b/packages/amplify-e2e-tests/src/__tests__/global_sandbox-c.test.ts @@ -28,8 +28,8 @@ describe('global sandbox mode c', () => { // TODO: need a reason why we're skipping this or we should remove this test it.skip('compiles schema with three models and pushes to cloud', async () => { await addApiWithThreeModels(projectDir); - await apiGqlCompile(projectDir, true); + await apiGqlCompile(projectDir); await generateModels(projectDir); - await amplifyPush(projectDir, true); + await amplifyPush(projectDir); }); }); diff --git a/packages/amplify-e2e-tests/src/__tests__/init-force-push.test.ts b/packages/amplify-e2e-tests/src/__tests__/init-force-push.test.ts index d395207a9de..7aaa62f5d17 100644 --- a/packages/amplify-e2e-tests/src/__tests__/init-force-push.test.ts +++ b/packages/amplify-e2e-tests/src/__tests__/init-force-push.test.ts @@ -63,7 +63,7 @@ describe('init --forcePush', () => { projRoot, getAmplifyInitConfig(projectName, 'newenv'), undefined, - true, + false, undefined, false, // don't reject on failure ); @@ -78,7 +78,7 @@ describe('init --forcePush', () => { delete tpi?.[envName]?.categories?.function?.[funcName]?.fooBar; setTeamProviderInfo(projRoot, tpi); - await nonInteractiveInitWithForcePushAttach(projRoot, getAmplifyInitConfig(projectName, envName), undefined, true); + await nonInteractiveInitWithForcePushAttach(projRoot, getAmplifyInitConfig(projectName, envName), undefined, false); const tpiAfter = getTeamProviderInfo(projRoot); expect(tpiAfter?.[envName]?.categories?.function?.[funcName]?.fooBar).toBe('fooBar'); @@ -91,6 +91,6 @@ describe('init --forcePush', () => { await gitCommitAll(projRoot); await gitCleanFdx(projRoot); - await nonInteractiveInitWithForcePushAttach(projRoot, getAmplifyInitConfig(projectName, envName), undefined, true); + await nonInteractiveInitWithForcePushAttach(projRoot, getAmplifyInitConfig(projectName, envName), undefined, false); }); }); diff --git a/packages/amplify-e2e-tests/src/__tests__/init_e.test.ts b/packages/amplify-e2e-tests/src/__tests__/init_e.test.ts index 2d0ac25ae7e..4d35e999888 100644 --- a/packages/amplify-e2e-tests/src/__tests__/init_e.test.ts +++ b/packages/amplify-e2e-tests/src/__tests__/init_e.test.ts @@ -45,7 +45,7 @@ describe('amplify init e', () => { expect(DeploymentBucketName).toBeAS3Bucket(DeploymentBucketName); // override new env - await amplifyOverrideRoot(projRoot, { testingWithLatestCodebase: true }); + await amplifyOverrideRoot(projRoot, { testingWithLatestCodebase: false }); // this is where we will write overrides to const destOverrideFilePath = path.join(projRoot, 'amplify', 'backend', 'awscloudformation', 'override.ts'); @@ -85,7 +85,7 @@ describe('amplify init e', () => { await gitInit(projRoot); await gitCommitAll(projRoot); await gitCleanFdx(projRoot); - await nonInteractiveInitWithForcePushAttach(projRoot, getAmplifyInitConfig(projectName, 'integtest'), undefined, true); + await nonInteractiveInitWithForcePushAttach(projRoot, getAmplifyInitConfig(projectName, 'integtest'), undefined, false); // check if overrides are applied const gitClonedMeta = getProjectMeta(projRoot).providers.awscloudformation; expect(await listRolePolicies(gitClonedMeta.AuthRoleName, gitClonedMeta.Region)).toMatchInlineSnapshot(` diff --git a/packages/amplify-e2e-tests/src/__tests__/minify-cloudformation.test.ts b/packages/amplify-e2e-tests/src/__tests__/minify-cloudformation.test.ts index 8b970cbd7a7..9390cafc004 100644 --- a/packages/amplify-e2e-tests/src/__tests__/minify-cloudformation.test.ts +++ b/packages/amplify-e2e-tests/src/__tests__/minify-cloudformation.test.ts @@ -37,7 +37,7 @@ describe('minify behavior', () => { await initJSProjectWithProfile(projRoot, { name: projName, envName }); await addApiWithBlankSchema(projRoot); updateApiSchema(projRoot, projName, 'simple_model.graphql', false); - await amplifyPush(projRoot, true, { minify: false }); + await amplifyPush(projRoot, false, { minify: false }); // Read Cfn file sizes for both nested API stacks and top-level stacks const currentCloudBackendPath = path.join(projRoot, 'amplify', '#current-cloud-backend'); @@ -63,7 +63,7 @@ describe('minify behavior', () => { const pushParams = { projRoot, waitForText: undefined, - useLatestCodebase: true, + useLatestCodebase: false, destructivePush: false, overrideTimeout: 0, minify: true, diff --git a/packages/amplify-e2e-tests/src/__tests__/resolvers.test.ts b/packages/amplify-e2e-tests/src/__tests__/resolvers.test.ts index f7039a8d2a1..6f948a00945 100644 --- a/packages/amplify-e2e-tests/src/__tests__/resolvers.test.ts +++ b/packages/amplify-e2e-tests/src/__tests__/resolvers.test.ts @@ -39,12 +39,12 @@ describe('user created resolvers', () => { await addApiWithoutSchema(projectDir, { apiName }); await updateApiSchema(projectDir, apiName, 'simple_model.graphql'); - await apiGqlCompile(projectDir, true); + await apiGqlCompile(projectDir); expect(fs.readFileSync(generatedResolverPath).toString()).not.toEqual(resolver); addCustomResolver(projectDir, apiName, resolverName, resolver); - await apiGqlCompile(projectDir, true); + await apiGqlCompile(projectDir); expect(fs.readFileSync(generatedResolverPath).toString()).toEqual(resolver); }); @@ -189,13 +189,13 @@ describe('user created resolvers', () => { await addApiWithoutSchema(projectDir, { apiName }); await updateApiSchema(projectDir, apiName, 'custom_query.graphql'); - await apiGqlCompile(projectDir, true); + await apiGqlCompile(projectDir); addCustomResolver(projectDir, apiName, resolverReqName, resolverReq); addCustomResolver(projectDir, apiName, resolverResName, resolverRes); writeToCustomResourcesJson(projectDir, apiName, Resources); - await apiGqlCompile(projectDir, true); + await apiGqlCompile(projectDir); expect(fs.readFileSync(generatedReqResolverPath).toString()).toEqual(resolverReq); expect(fs.readFileSync(generatedResResolverPath).toString()).toEqual(resolverRes); diff --git a/scripts/generate_single_test_buildspec_codebuild.ts b/scripts/generate_single_test_buildspec_codebuild.ts index 6a57ced4837..2ee8ab84181 100644 --- a/scripts/generate_single_test_buildspec_codebuild.ts +++ b/scripts/generate_single_test_buildspec_codebuild.ts @@ -71,7 +71,6 @@ const main = () => { if (os === 'w') { jobBuildSpec.env.type = 'WINDOWS_SERVER_2019_CONTAINER'; jobBuildSpec.env.image = '$WINDOWS_IMAGE_2019'; - jobBuildSpec.env.variables.USE_PARENT_ACCOUNT = 'false'; jobBuildSpec['depend-on'].push('build_windows'); necessaryIds.push('build_windows'); } diff --git a/scripts/split-e2e-tests-codebuild.ts b/scripts/split-e2e-tests-codebuild.ts index b08970a6e91..0a4457ffbf8 100644 --- a/scripts/split-e2e-tests-codebuild.ts +++ b/scripts/split-e2e-tests-codebuild.ts @@ -8,6 +8,7 @@ import { FORCE_REGION_MAP, getOldJobNameWithoutSuffixes, loadTestTimings, USE_PA import { migrationFromV10Tests, migrationFromV8Tests } from './split-e2e-test-filters'; const CODEBUILD_CONFIG_BASE_PATH = join(REPO_ROOT, 'codebuild_specs', 'e2e_workflow_base.yml'); const CODEBUILD_GENERATE_CONFIG_PATH = join(REPO_ROOT, 'codebuild_specs', 'e2e_workflow_generated'); +const DISABLE_COVERAGE = ['src/__tests__/datastore-modelgen.test.ts', 'src/__tests__/amplify-app.test.ts']; const RUN_SOLO = [ 'src/__tests__/auth_2c.test.ts', 'src/__tests__/auth_2e.test.ts', @@ -82,6 +83,7 @@ const TEST_EXCLUSIONS: { l: string[]; w: string[] } = { 'src/__tests__/layer-2.test.ts', 'src/__tests__/mock-api.test.ts', 'src/__tests__/pull.test.ts', + 'src/__tests__/pull-2.test.ts', 'src/__tests__/schema-iterative-rollback-1.test.ts', 'src/__tests__/schema-iterative-rollback-2.test.ts', 'src/__tests__/storage-5.test.ts', @@ -126,7 +128,7 @@ type ConfigBase = { variables: [string: string]; }; }; -const MAX_WORKERS = 4; +const MAX_WORKERS = 3; type OS_TYPE = 'w' | 'l'; type CandidateJob = { region: string; @@ -134,6 +136,7 @@ type CandidateJob = { executor: string; tests: string[]; useParentAccount: boolean; + disableCoverage: boolean; }; const createRandomJob = (os: OS_TYPE): CandidateJob => { const region = regions[Math.floor(Math.random() * regions.length)]; @@ -143,6 +146,7 @@ const createRandomJob = (os: OS_TYPE): CandidateJob => { executor: os === 'l' ? 'l_large' : 'w_medium', tests: [], useParentAccount: false, + disableCoverage: false, }; }; const splitTestsV3 = ( @@ -183,8 +187,9 @@ const splitTestsV3 = ( } const FORCE_REGION = FORCE_REGION_MAP.get(test); const USE_PARENT = USE_PARENT_ACCOUNT.some((usesParent) => test.startsWith(usesParent)); + const NO_COVERAGE = DISABLE_COVERAGE.find((nocov) => test === nocov); - if (isMigration || RUN_SOLO.find((solo) => test === solo)) { + if (isMigration || RUN_SOLO.find((solo) => test === solo) || NO_COVERAGE) { const newSoloJob = createRandomJob(os); newSoloJob.tests.push(test); if (FORCE_REGION) { @@ -193,6 +198,9 @@ const splitTestsV3 = ( if (USE_PARENT) { newSoloJob.useParentAccount = true; } + if (NO_COVERAGE) { + newSoloJob.disableCoverage = true; + } soloJobs.push(newSoloJob); continue; } @@ -240,6 +248,9 @@ const splitTestsV3 = ( if (j.useParentAccount) { tmp.env.variables.USE_PARENT_ACCOUNT = 1; } + if (j.disableCoverage) { + tmp.env.variables.DISABLE_COVERAGE = 1; + } result.push(tmp); } }); @@ -255,7 +266,12 @@ const splitTestsV3 = ( tmp.env.variables = {}; tmp.env.variables.TEST_SUITE = j.tests.join('|'); tmp.env.variables.CLI_REGION = j.region; - tmp.env.variables.USE_PARENT_ACCOUNT = j.useParentAccount; + if (j.useParentAccount) { + tmp.env.variables.USE_PARENT_ACCOUNT = 1; + } + if (j.disableCoverage) { + tmp.env.variables.DISABLE_COVERAGE = 1; + } result.push(tmp); } }); diff --git a/shared-scripts.sh b/shared-scripts.sh index 49ea5805412..14df2d856fa 100644 --- a/shared-scripts.sh +++ b/shared-scripts.sh @@ -232,7 +232,7 @@ function _install_packaged_cli_linux { cd $CODEBUILD_SRC_DIR/out ln -sf amplify-pkg-linux-x64 amplify - export PATH=$AMPLIFY_DIR:$PATH + export PATH=$AMPLIFY_DIR:$PATH:$CODEBUILD_SRC_DIR/node_modules/.bin/ cd $CODEBUILD_SRC_DIR } function _convertCoverage {