Skip to content

Commit cbe1775

Browse files
authored
Merge pull request #904 from aws-amplify/add-canaries
feat: added canary yml file
2 parents 2d29c88 + 4f7c7c5 commit cbe1775

File tree

1 file changed

+56
-0
lines changed

1 file changed

+56
-0
lines changed

.codebuild/canary_workflow.yml

Lines changed: 56 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,56 @@
1+
version: 0.2
2+
env:
3+
shell: bash
4+
compute-type: BUILD_GENERAL1_LARGE
5+
batch:
6+
fast-fail: false
7+
build-graph:
8+
- identifier: build_linux
9+
buildspec: .codebuild/build_linux.yml
10+
env:
11+
compute-type: BUILD_GENERAL1_LARGE
12+
- identifier: test
13+
buildspec: .codebuild/test.yml
14+
env:
15+
compute-type: BUILD_GENERAL1_LARGE
16+
depend-on:
17+
- build_linux
18+
- identifier: publish_to_local_registry
19+
buildspec: .codebuild/publish_to_local_registry.yml
20+
env:
21+
compute-type: BUILD_GENERAL1_MEDIUM
22+
depend-on:
23+
- build_linux
24+
- identifier: build_app_swift_us_east_1
25+
buildspec: .codebuild/run_ios_modelgen_e2e_test.yml
26+
env:
27+
compute-type: BUILD_GENERAL1_LARGE
28+
variables:
29+
TEST_SUITE: src/__tests__/build-app-swift.test.ts
30+
CLI_REGION: us-east-1
31+
depend-on:
32+
- publish_to_local_registry
33+
- identifier: build_app_android_us_east_1
34+
buildspec: .codebuild/run_android_modelgen_e2e_test.yml
35+
env:
36+
compute-type: BUILD_GENERAL1_LARGE
37+
variables:
38+
TEST_SUITE: src/__tests__/build-app-android.test.ts
39+
CLI_REGION: us-east-1
40+
depend-on:
41+
- publish_to_local_registry
42+
- identifier: build_app_ts_us_east_1
43+
buildspec: .codebuild/run_e2e_tests.yml
44+
env:
45+
compute-type: BUILD_GENERAL1_LARGE
46+
variables:
47+
TEST_SUITE: src/__tests__/build-app-ts.test.ts
48+
CLI_REGION: us-east-1
49+
depend-on:
50+
- publish_to_local_registry
51+
- identifier: cleanup_e2e_resources
52+
buildspec: .codebuild/cleanup_e2e_resources.yml
53+
env:
54+
compute-type: BUILD_GENERAL1_MEDIUM
55+
depend-on:
56+
- build_app_ts_us_east_1

0 commit comments

Comments
 (0)