diff --git a/.codebuild/canary_workflow.yml b/.codebuild/canary_workflow.yml new file mode 100644 index 000000000..c738cf059 --- /dev/null +++ b/.codebuild/canary_workflow.yml @@ -0,0 +1,56 @@ +version: 0.2 +env: + shell: bash + compute-type: BUILD_GENERAL1_LARGE +batch: + fast-fail: false + build-graph: + - identifier: build_linux + buildspec: .codebuild/build_linux.yml + env: + compute-type: BUILD_GENERAL1_LARGE + - identifier: test + buildspec: .codebuild/test.yml + env: + compute-type: BUILD_GENERAL1_LARGE + depend-on: + - build_linux + - identifier: publish_to_local_registry + buildspec: .codebuild/publish_to_local_registry.yml + env: + compute-type: BUILD_GENERAL1_MEDIUM + depend-on: + - build_linux + - identifier: build_app_swift_us_east_1 + buildspec: .codebuild/run_ios_modelgen_e2e_test.yml + env: + compute-type: BUILD_GENERAL1_LARGE + variables: + TEST_SUITE: src/__tests__/build-app-swift.test.ts + CLI_REGION: us-east-1 + depend-on: + - publish_to_local_registry + - identifier: build_app_android_us_east_1 + buildspec: .codebuild/run_android_modelgen_e2e_test.yml + env: + compute-type: BUILD_GENERAL1_LARGE + variables: + TEST_SUITE: src/__tests__/build-app-android.test.ts + CLI_REGION: us-east-1 + depend-on: + - publish_to_local_registry + - identifier: build_app_ts_us_east_1 + buildspec: .codebuild/run_e2e_tests.yml + env: + compute-type: BUILD_GENERAL1_LARGE + variables: + TEST_SUITE: src/__tests__/build-app-ts.test.ts + CLI_REGION: us-east-1 + depend-on: + - publish_to_local_registry + - identifier: cleanup_e2e_resources + buildspec: .codebuild/cleanup_e2e_resources.yml + env: + compute-type: BUILD_GENERAL1_MEDIUM + depend-on: + - build_app_ts_us_east_1