Skip to content

Commit 22a0291

Browse files
committed
chore: auto generate canary build spec files
1 parent 65f126d commit 22a0291

14 files changed

+568
-124
lines changed

.codebuild/android_canary_workflow.yml

Lines changed: 58 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
# auto generated file. DO NOT EDIT manually
12
version: 0.2
23
env:
34
shell: bash
@@ -21,8 +22,18 @@ batch:
2122
compute-type: BUILD_GENERAL1_MEDIUM
2223
depend-on:
2324
- build_linux
25+
- identifier: build_app_android_ap_east_1
26+
buildspec: .codebuild/run_regionalized_android_modelgen_e2e_test.yml
27+
env:
28+
compute-type: BUILD_GENERAL1_LARGE
29+
variables:
30+
TEST_SUITE: src/__tests__/build-app-android.test.ts
31+
CLI_REGION: ap-east-1
32+
CANARY_METRIC_NAME: AndroidAppBuildCodegenSuccessRate
33+
depend-on:
34+
- publish_to_local_registry
2435
- identifier: build_app_android_ap_northeast_1
25-
buildspec: .codebuild/run_canary_android_modelgen_e2e_test.yml
36+
buildspec: .codebuild/run_regionalized_android_modelgen_e2e_test.yml
2637
env:
2738
compute-type: BUILD_GENERAL1_LARGE
2839
variables:
@@ -32,7 +43,7 @@ batch:
3243
depend-on:
3344
- publish_to_local_registry
3445
- identifier: build_app_android_ap_northeast_2
35-
buildspec: .codebuild/run_canary_android_modelgen_e2e_test.yml
46+
buildspec: .codebuild/run_regionalized_android_modelgen_e2e_test.yml
3647
env:
3748
compute-type: BUILD_GENERAL1_LARGE
3849
variables:
@@ -41,8 +52,18 @@ batch:
4152
CANARY_METRIC_NAME: AndroidAppBuildCodegenSuccessRate
4253
depend-on:
4354
- publish_to_local_registry
55+
- identifier: build_app_android_ap_northeast_3
56+
buildspec: .codebuild/run_regionalized_android_modelgen_e2e_test.yml
57+
env:
58+
compute-type: BUILD_GENERAL1_LARGE
59+
variables:
60+
TEST_SUITE: src/__tests__/build-app-android.test.ts
61+
CLI_REGION: ap-northeast-3
62+
CANARY_METRIC_NAME: AndroidAppBuildCodegenSuccessRate
63+
depend-on:
64+
- publish_to_local_registry
4465
- identifier: build_app_android_ap_south_1
45-
buildspec: .codebuild/run_canary_android_modelgen_e2e_test.yml
66+
buildspec: .codebuild/run_regionalized_android_modelgen_e2e_test.yml
4667
env:
4768
compute-type: BUILD_GENERAL1_LARGE
4869
variables:
@@ -52,7 +73,7 @@ batch:
5273
depend-on:
5374
- publish_to_local_registry
5475
- identifier: build_app_android_ap_southeast_1
55-
buildspec: .codebuild/run_canary_android_modelgen_e2e_test.yml
76+
buildspec: .codebuild/run_regionalized_android_modelgen_e2e_test.yml
5677
env:
5778
compute-type: BUILD_GENERAL1_LARGE
5879
variables:
@@ -62,7 +83,7 @@ batch:
6283
depend-on:
6384
- publish_to_local_registry
6485
- identifier: build_app_android_ap_southeast_2
65-
buildspec: .codebuild/run_canary_android_modelgen_e2e_test.yml
86+
buildspec: .codebuild/run_regionalized_android_modelgen_e2e_test.yml
6687
env:
6788
compute-type: BUILD_GENERAL1_LARGE
6889
variables:
@@ -72,7 +93,7 @@ batch:
7293
depend-on:
7394
- publish_to_local_registry
7495
- identifier: build_app_android_ca_central_1
75-
buildspec: .codebuild/run_canary_android_modelgen_e2e_test.yml
96+
buildspec: .codebuild/run_regionalized_android_modelgen_e2e_test.yml
7697
env:
7798
compute-type: BUILD_GENERAL1_LARGE
7899
variables:
@@ -82,7 +103,7 @@ batch:
82103
depend-on:
83104
- publish_to_local_registry
84105
- identifier: build_app_android_eu_central_1
85-
buildspec: .codebuild/run_canary_android_modelgen_e2e_test.yml
106+
buildspec: .codebuild/run_regionalized_android_modelgen_e2e_test.yml
86107
env:
87108
compute-type: BUILD_GENERAL1_LARGE
88109
variables:
@@ -92,7 +113,7 @@ batch:
92113
depend-on:
93114
- publish_to_local_registry
94115
- identifier: build_app_android_eu_north_1
95-
buildspec: .codebuild/run_canary_android_modelgen_e2e_test.yml
116+
buildspec: .codebuild/run_regionalized_android_modelgen_e2e_test.yml
96117
env:
97118
compute-type: BUILD_GENERAL1_LARGE
98119
variables:
@@ -101,8 +122,18 @@ batch:
101122
CANARY_METRIC_NAME: AndroidAppBuildCodegenSuccessRate
102123
depend-on:
103124
- publish_to_local_registry
125+
- identifier: build_app_android_eu_south_1
126+
buildspec: .codebuild/run_regionalized_android_modelgen_e2e_test.yml
127+
env:
128+
compute-type: BUILD_GENERAL1_LARGE
129+
variables:
130+
TEST_SUITE: src/__tests__/build-app-android.test.ts
131+
CLI_REGION: eu-south-1
132+
CANARY_METRIC_NAME: AndroidAppBuildCodegenSuccessRate
133+
depend-on:
134+
- publish_to_local_registry
104135
- identifier: build_app_android_eu_west_1
105-
buildspec: .codebuild/run_canary_android_modelgen_e2e_test.yml
136+
buildspec: .codebuild/run_regionalized_android_modelgen_e2e_test.yml
106137
env:
107138
compute-type: BUILD_GENERAL1_LARGE
108139
variables:
@@ -112,7 +143,7 @@ batch:
112143
depend-on:
113144
- publish_to_local_registry
114145
- identifier: build_app_android_eu_west_2
115-
buildspec: .codebuild/run_canary_android_modelgen_e2e_test.yml
146+
buildspec: .codebuild/run_regionalized_android_modelgen_e2e_test.yml
116147
env:
117148
compute-type: BUILD_GENERAL1_LARGE
118149
variables:
@@ -122,7 +153,7 @@ batch:
122153
depend-on:
123154
- publish_to_local_registry
124155
- identifier: build_app_android_eu_west_3
125-
buildspec: .codebuild/run_canary_android_modelgen_e2e_test.yml
156+
buildspec: .codebuild/run_regionalized_android_modelgen_e2e_test.yml
126157
env:
127158
compute-type: BUILD_GENERAL1_LARGE
128159
variables:
@@ -131,8 +162,18 @@ batch:
131162
CANARY_METRIC_NAME: AndroidAppBuildCodegenSuccessRate
132163
depend-on:
133164
- publish_to_local_registry
165+
- identifier: build_app_android_me_south_1
166+
buildspec: .codebuild/run_regionalized_android_modelgen_e2e_test.yml
167+
env:
168+
compute-type: BUILD_GENERAL1_LARGE
169+
variables:
170+
TEST_SUITE: src/__tests__/build-app-android.test.ts
171+
CLI_REGION: me-south-1
172+
CANARY_METRIC_NAME: AndroidAppBuildCodegenSuccessRate
173+
depend-on:
174+
- publish_to_local_registry
134175
- identifier: build_app_android_sa_east_1
135-
buildspec: .codebuild/run_canary_android_modelgen_e2e_test.yml
176+
buildspec: .codebuild/run_regionalized_android_modelgen_e2e_test.yml
136177
env:
137178
compute-type: BUILD_GENERAL1_LARGE
138179
variables:
@@ -142,7 +183,7 @@ batch:
142183
depend-on:
143184
- publish_to_local_registry
144185
- identifier: build_app_android_us_east_1
145-
buildspec: .codebuild/run_canary_android_modelgen_e2e_test.yml
186+
buildspec: .codebuild/run_regionalized_android_modelgen_e2e_test.yml
146187
env:
147188
compute-type: BUILD_GENERAL1_LARGE
148189
variables:
@@ -152,7 +193,7 @@ batch:
152193
depend-on:
153194
- publish_to_local_registry
154195
- identifier: build_app_android_us_east_2
155-
buildspec: .codebuild/run_canary_android_modelgen_e2e_test.yml
196+
buildspec: .codebuild/run_regionalized_android_modelgen_e2e_test.yml
156197
env:
157198
compute-type: BUILD_GENERAL1_LARGE
158199
variables:
@@ -162,7 +203,7 @@ batch:
162203
depend-on:
163204
- publish_to_local_registry
164205
- identifier: build_app_android_us_west_1
165-
buildspec: .codebuild/run_canary_android_modelgen_e2e_test.yml
206+
buildspec: .codebuild/run_regionalized_android_modelgen_e2e_test.yml
166207
env:
167208
compute-type: BUILD_GENERAL1_LARGE
168209
variables:
@@ -172,7 +213,7 @@ batch:
172213
depend-on:
173214
- publish_to_local_registry
174215
- identifier: build_app_android_us_west_2
175-
buildspec: .codebuild/run_canary_android_modelgen_e2e_test.yml
216+
buildspec: .codebuild/run_regionalized_android_modelgen_e2e_test.yml
176217
env:
177218
compute-type: BUILD_GENERAL1_LARGE
178219
variables:
@@ -186,4 +227,4 @@ batch:
186227
env:
187228
compute-type: BUILD_GENERAL1_MEDIUM
188229
depend-on:
189-
- build_app_ts_us_east_1
230+
- build_app_android_ap_east_1
Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
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

.codebuild/e2e_workflow.yml

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -107,7 +107,7 @@ batch:
107107
variables:
108108
TEST_SUITE: >-
109109
src/__tests__/add-codegen-ios.test.ts|src/__tests__/configure-codegen-android.test.ts|src/__tests__/configure-codegen-js.test.ts|src/__tests__/graphql-codegen-android.test.ts
110-
CLI_REGION: us-east-1
110+
CLI_REGION: ap-east-1
111111
depend-on:
112112
- publish_to_local_registry
113113
- identifier: >-
@@ -118,7 +118,7 @@ batch:
118118
variables:
119119
TEST_SUITE: >-
120120
src/__tests__/graphql-codegen-js.test.ts|src/__tests__/remove-codegen-android.test.ts|src/__tests__/remove-codegen-ios.test.ts|src/__tests__/add-codegen-android.test.ts
121-
CLI_REGION: us-east-2
121+
CLI_REGION: ap-northeast-1
122122
depend-on:
123123
- publish_to_local_registry
124124
- identifier: >-
@@ -129,7 +129,7 @@ batch:
129129
variables:
130130
TEST_SUITE: >-
131131
src/__tests__/configure-codegen-ios.test.ts|src/__tests__/datastore-modelgen-android.test.ts|src/__tests__/datastore-modelgen-js.test.ts|src/__tests__/feature-flags.test.ts
132-
CLI_REGION: us-west-2
132+
CLI_REGION: ap-northeast-2
133133
depend-on:
134134
- publish_to_local_registry
135135
- identifier: >-
@@ -140,7 +140,7 @@ batch:
140140
variables:
141141
TEST_SUITE: >-
142142
src/__tests__/graphql-codegen-ios.test.ts|src/__tests__/add-codegen-js.test.ts|src/__tests__/datastore-modelgen-ios.test.ts|src/__tests__/remove-codegen-js.test.ts
143-
CLI_REGION: eu-west-2
143+
CLI_REGION: ap-northeast-3
144144
depend-on:
145145
- publish_to_local_registry
146146
- identifier: >-
@@ -151,7 +151,7 @@ batch:
151151
variables:
152152
TEST_SUITE: >-
153153
src/__tests__/datastore-modelgen-flutter.test.ts|src/__tests__/env-codegen.test.ts|src/__tests__/model-introspection-codegen.test.ts|src/__tests__/pull-codegen.test.ts
154-
CLI_REGION: eu-central-1
154+
CLI_REGION: ap-south-1
155155
depend-on:
156156
- publish_to_local_registry
157157
- identifier: >-
@@ -162,7 +162,7 @@ batch:
162162
variables:
163163
TEST_SUITE: >-
164164
src/__tests__/push-codegen-ios.test.ts|src/__tests__/push-codegen-android.test.ts|src/__tests__/graphql-documents-generator.test.ts|src/__tests__/push-codegen-js.test.ts
165-
CLI_REGION: ap-northeast-1
165+
CLI_REGION: ap-southeast-1
166166
depend-on:
167167
- publish_to_local_registry
168168
- identifier: >-
@@ -173,7 +173,7 @@ batch:
173173
variables:
174174
TEST_SUITE: >-
175175
src/__tests__/build-app-ts.test.ts|src/__tests__/graphql-generator-app.test.ts|src/__tests__/push-codegen-admin-modelgen.test.ts|src/__tests__/uninitialized-project-codegen-js.test.ts
176-
CLI_REGION: ap-southeast-1
176+
CLI_REGION: ap-southeast-2
177177
DISABLE_ESLINT_PLUGIN: true
178178
depend-on:
179179
- publish_to_local_registry
@@ -185,7 +185,7 @@ batch:
185185
variables:
186186
TEST_SUITE: >-
187187
src/__tests__/uninitialized-project-modelgen-android.test.ts|src/__tests__/uninitialized-project-modelgen-flutter.test.ts|src/__tests__/uninitialized-project-modelgen-ios.test.ts|src/__tests__/uninitialized-project-modelgen-js.test.ts
188-
CLI_REGION: ap-southeast-2
188+
CLI_REGION: ca-central-1
189189
depend-on:
190190
- publish_to_local_registry
191191
- identifier: >-

0 commit comments

Comments
 (0)