From a525d88b99bd431d3931a7b999eb1e05208f2d63 Mon Sep 17 00:00:00 2001 From: Dane Pilcher Date: Mon, 23 Oct 2023 10:25:51 -0600 Subject: [PATCH] ci: fix test identifier --- .codebuild/e2e_workflow.yml | 34 +++++++++++++++++----------------- scripts/split-e2e-tests.ts | 2 +- 2 files changed, 18 insertions(+), 18 deletions(-) diff --git a/.codebuild/e2e_workflow.yml b/.codebuild/e2e_workflow.yml index a17d30f97..6ebd54e3c 100644 --- a/.codebuild/e2e_workflow.yml +++ b/.codebuild/e2e_workflow.yml @@ -63,7 +63,7 @@ batch: depend-on: - publish_to_local_registry - identifier: >- - l-add_codegen_ios_configure_codegen_android_configure_codegen_js_graphql_codegen_android + l_add_codegen_ios_configure_codegen_android_configure_codegen_js_graphql_codegen_android buildspec: .codebuild/run_e2e_tests.yml env: compute-type: BUILD_GENERAL1_LARGE @@ -74,7 +74,7 @@ batch: depend-on: - publish_to_local_registry - identifier: >- - l-graphql_codegen_js_remove_codegen_android_remove_codegen_ios_add_codegen_android + l_graphql_codegen_js_remove_codegen_android_remove_codegen_ios_add_codegen_android buildspec: .codebuild/run_e2e_tests.yml env: compute-type: BUILD_GENERAL1_LARGE @@ -85,7 +85,7 @@ batch: depend-on: - publish_to_local_registry - identifier: >- - l-configure_codegen_ios_datastore_modelgen_android_datastore_modelgen_js_feature_flags + l_configure_codegen_ios_datastore_modelgen_android_datastore_modelgen_js_feature_flags buildspec: .codebuild/run_e2e_tests.yml env: compute-type: BUILD_GENERAL1_LARGE @@ -96,7 +96,7 @@ batch: depend-on: - publish_to_local_registry - identifier: >- - l-graphql_codegen_ios_add_codegen_js_datastore_modelgen_ios_remove_codegen_js + l_graphql_codegen_ios_add_codegen_js_datastore_modelgen_ios_remove_codegen_js buildspec: .codebuild/run_e2e_tests.yml env: compute-type: BUILD_GENERAL1_LARGE @@ -107,7 +107,7 @@ batch: depend-on: - publish_to_local_registry - identifier: >- - l-datastore_modelgen_flutter_env_codegen_model_introspection_codegen_pull_codegen + l_datastore_modelgen_flutter_env_codegen_model_introspection_codegen_pull_codegen buildspec: .codebuild/run_e2e_tests.yml env: compute-type: BUILD_GENERAL1_LARGE @@ -118,7 +118,7 @@ batch: depend-on: - publish_to_local_registry - identifier: >- - l-push_codegen_ios_push_codegen_android_graphql_documents_generator_push_codegen_js + l_push_codegen_ios_push_codegen_android_graphql_documents_generator_push_codegen_js buildspec: .codebuild/run_e2e_tests.yml env: compute-type: BUILD_GENERAL1_LARGE @@ -129,7 +129,7 @@ batch: depend-on: - publish_to_local_registry - identifier: >- - l-build_app_ts_uninitialized_project_codegen_js_uninitialized_project_modelgen_android_uninitialized_project_modelgen_flutter + l_build_app_ts_uninitialized_project_codegen_js_uninitialized_project_modelgen_android_uninitialized_project_modelgen_flutter buildspec: .codebuild/run_e2e_tests.yml env: compute-type: BUILD_GENERAL1_LARGE @@ -139,7 +139,7 @@ batch: CLI_REGION: ap-southeast-1 depend-on: - publish_to_local_registry - - identifier: l-uninitialized_project_modelgen_ios_uninitialized_project_modelgen_js + - identifier: l_uninitialized_project_modelgen_ios_uninitialized_project_modelgen_js buildspec: .codebuild/run_e2e_tests.yml env: compute-type: BUILD_GENERAL1_LARGE @@ -150,7 +150,7 @@ batch: depend-on: - publish_to_local_registry - identifier: >- - w-add_codegen_ios_configure_codegen_android_configure_codegen_js_graphql_codegen_android + w_add_codegen_ios_configure_codegen_android_configure_codegen_js_graphql_codegen_android buildspec: .codebuild/run_e2e_tests_windows.yml env: compute-type: BUILD_GENERAL1_LARGE @@ -161,7 +161,7 @@ batch: depend-on: - publish_to_local_registry - identifier: >- - w-graphql_codegen_js_remove_codegen_android_remove_codegen_ios_add_codegen_android + w_graphql_codegen_js_remove_codegen_android_remove_codegen_ios_add_codegen_android buildspec: .codebuild/run_e2e_tests_windows.yml env: compute-type: BUILD_GENERAL1_LARGE @@ -172,7 +172,7 @@ batch: depend-on: - publish_to_local_registry - identifier: >- - w-configure_codegen_ios_datastore_modelgen_android_datastore_modelgen_js_feature_flags + w_configure_codegen_ios_datastore_modelgen_android_datastore_modelgen_js_feature_flags buildspec: .codebuild/run_e2e_tests_windows.yml env: compute-type: BUILD_GENERAL1_LARGE @@ -183,7 +183,7 @@ batch: depend-on: - publish_to_local_registry - identifier: >- - w-graphql_codegen_ios_add_codegen_js_datastore_modelgen_ios_remove_codegen_js + w_graphql_codegen_ios_add_codegen_js_datastore_modelgen_ios_remove_codegen_js buildspec: .codebuild/run_e2e_tests_windows.yml env: compute-type: BUILD_GENERAL1_LARGE @@ -194,7 +194,7 @@ batch: depend-on: - publish_to_local_registry - identifier: >- - w-datastore_modelgen_flutter_env_codegen_model_introspection_codegen_pull_codegen + w_datastore_modelgen_flutter_env_codegen_model_introspection_codegen_pull_codegen buildspec: .codebuild/run_e2e_tests_windows.yml env: compute-type: BUILD_GENERAL1_LARGE @@ -205,7 +205,7 @@ batch: depend-on: - publish_to_local_registry - identifier: >- - w-push_codegen_ios_push_codegen_android_graphql_documents_generator_push_codegen_js + w_push_codegen_ios_push_codegen_android_graphql_documents_generator_push_codegen_js buildspec: .codebuild/run_e2e_tests_windows.yml env: compute-type: BUILD_GENERAL1_LARGE @@ -216,7 +216,7 @@ batch: depend-on: - publish_to_local_registry - identifier: >- - w-build_app_ts_uninitialized_project_codegen_js_uninitialized_project_modelgen_android_uninitialized_project_modelgen_flutter + w_build_app_ts_uninitialized_project_codegen_js_uninitialized_project_modelgen_android_uninitialized_project_modelgen_flutter buildspec: .codebuild/run_e2e_tests_windows.yml env: compute-type: BUILD_GENERAL1_LARGE @@ -226,7 +226,7 @@ batch: CLI_REGION: ap-southeast-1 depend-on: - publish_to_local_registry - - identifier: w-uninitialized_project_modelgen_ios_uninitialized_project_modelgen_js + - identifier: w_uninitialized_project_modelgen_ios_uninitialized_project_modelgen_js buildspec: .codebuild/run_e2e_tests_windows.yml env: compute-type: BUILD_GENERAL1_LARGE @@ -242,4 +242,4 @@ batch: compute-type: BUILD_GENERAL1_MEDIUM depend-on: - >- - l-add_codegen_ios_configure_codegen_android_configure_codegen_js_graphql_codegen_android + l_add_codegen_ios_configure_codegen_android_configure_codegen_js_graphql_codegen_android diff --git a/scripts/split-e2e-tests.ts b/scripts/split-e2e-tests.ts index 309f32b00..4150524a0 100644 --- a/scripts/split-e2e-tests.ts +++ b/scripts/split-e2e-tests.ts @@ -184,7 +184,7 @@ function basicE2EJob(inputJob: any, baseJob: string) { } function getIdentifier(os: string, names: string) { - const jobName = `${os}-${names.replace(/-/g, '_')}`.substring(0, 127); + const jobName = `${os}_${names.replace(/-/g, '_')}`.substring(0, 127); return jobName; };