Skip to content

Commit

Permalink
Merge pull request #904 from aws-amplify/add-canaries
Browse files Browse the repository at this point in the history
feat: added canary yml file
  • Loading branch information
tejas2008 authored Nov 1, 2024
2 parents 2d29c88 + 4f7c7c5 commit cbe1775
Showing 1 changed file with 56 additions and 0 deletions.
56 changes: 56 additions & 0 deletions .codebuild/canary_workflow.yml
Original file line number Diff line number Diff line change
@@ -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

0 comments on commit cbe1775

Please sign in to comment.