-
Notifications
You must be signed in to change notification settings - Fork 819
Expand file tree
/
Copy pathe2e_workflow.yml
More file actions
183 lines (182 loc) · 5.81 KB
/
e2e_workflow.yml
File metadata and controls
183 lines (182 loc) · 5.81 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
version: 0.2
env:
shell: bash
compute-type: BUILD_GENERAL1_MEDIUM
variables:
AWS_DEFAULT_REGION: us-east-1
AWS_REGION: us-east-1
CDK_DEFAULT_REGION: us-east-1
CLI_REGION: us-east-1
TEST_SUITE: src/__tests__/auth_2b.test.ts
AMPLIFY_DIR: '$CODEBUILD_SRC_DIR/out'
AMPLIFY_PATH: '$CODEBUILD_SRC_DIR/out/amplify-pkg-linux-x64'
batch:
fast-fail: false
build-graph:
- identifier: build_linux
buildspec: codebuild_specs/build_linux.yml
env:
compute-type: BUILD_GENERAL1_LARGE
- identifier: build_windows
buildspec: codebuild_specs/build_windows.yml
env:
type: WINDOWS_SERVER_2022_CONTAINER
compute-type: BUILD_GENERAL1_LARGE
image: $WINDOWS_IMAGE_2019
- identifier: test
buildspec: codebuild_specs/test.yml
depend-on:
- build_linux
env:
compute-type: BUILD_GENERAL1_LARGE
- identifier: lint
buildspec: codebuild_specs/lint.yml
depend-on:
- build_linux
env:
compute-type: BUILD_GENERAL1_LARGE
- identifier: mock_e2e_tests
buildspec: codebuild_specs/mock_e2e_tests.yml
depend-on:
- build_linux
env:
compute-type: BUILD_GENERAL1_LARGE
- identifier: validate_cdk_version
buildspec: codebuild_specs/validate_cdk_version.yml
depend-on:
- build_linux
- identifier: verify_api_extract
buildspec: codebuild_specs/verify_api_extract.yml
depend-on:
- build_linux
env:
compute-type: BUILD_GENERAL1_LARGE
- identifier: verify_yarn_lock
buildspec: codebuild_specs/verify_yarn_lock.yml
depend-on:
- build_linux
- identifier: publish_to_local_registry
buildspec: codebuild_specs/publish_to_local_registry.yml
depend-on:
- build_linux
env:
compute-type: BUILD_GENERAL1_LARGE
- identifier: build_pkg_binaries_arm
buildspec: codebuild_specs/build_pkg_binaries_arm.yml
depend-on:
- publish_to_local_registry
env:
compute-type: BUILD_GENERAL1_LARGE
- identifier: build_pkg_binaries_linux
buildspec: codebuild_specs/build_pkg_binaries_linux.yml
depend-on:
- publish_to_local_registry
env:
compute-type: BUILD_GENERAL1_LARGE
- identifier: build_pkg_binaries_macos
buildspec: codebuild_specs/build_pkg_binaries_macos.yml
depend-on:
- publish_to_local_registry
env:
compute-type: BUILD_GENERAL1_LARGE
- identifier: build_pkg_binaries_win
buildspec: codebuild_specs/build_pkg_binaries_win.yml
depend-on:
- publish_to_local_registry
env:
compute-type: BUILD_GENERAL1_LARGE
- identifier: upb
buildspec: codebuild_specs/upload_pkg_binaries.yml
depend-on:
- build_pkg_binaries_arm
- build_pkg_binaries_linux
- build_pkg_binaries_macos
- build_pkg_binaries_win
env:
compute-type: BUILD_GENERAL1_LARGE
- identifier: verify_versions_match
buildspec: codebuild_specs/verify_versions_match.yml
depend-on:
- publish_to_local_registry
- identifier: verify_pkg_cli
buildspec: codebuild_specs/verify_pkg_cli.yml
depend-on:
- build_pkg_binaries_arm
- build_pkg_binaries_linux
- build_pkg_binaries_macos
- build_pkg_binaries_win
env:
compute-type: BUILD_GENERAL1_LARGE
- identifier: run_e2e_tests_linux
buildspec: codebuild_specs/run_e2e_tests_linux.yml
env:
compute-type: BUILD_GENERAL1_LARGE
variables:
CLI_REGION: us-east-1
TEST_SUITE: src/__tests__/auth_2a.test.ts|src/__tests__/auth_2b.test.ts|src/__tests__/auth_2d.test.ts
debug-session: true
depend-on:
- upb
- identifier: run_e2e_tests_linux_2
buildspec: codebuild_specs/run_e2e_tests_linux.yml
env:
compute-type: BUILD_GENERAL1_LARGE
variables:
CLI_REGION: us-east-1
TEST_SUITE: src/__tests__/auth_2f.test.ts
debug-session: true
depend-on:
- upb
- identifier: run_coverage_linux
buildspec: codebuild_specs/run_coverage_linux.yml
env:
compute-type: BUILD_GENERAL1_MEDIUM
debug-session: true
depend-on:
- run_e2e_tests_linux
- run_e2e_tests_linux_2
- identifier: run_e2e_tests_windows
buildspec: codebuild_specs/run_e2e_tests_windows.yml
env:
type: WINDOWS_SERVER_2022_CONTAINER
compute-type: BUILD_GENERAL1_LARGE
image: $WINDOWS_IMAGE_2019
variables:
CLI_REGION: us-east-1
TEST_SUITE: src/__tests__/auth_2a.test.ts|src/__tests__/auth_2b.test.ts|src/__tests__/auth_2d.test.ts|src/__tests__/auth_2f.test.ts
depend-on:
- build_windows
- upb
- identifier: integration_test
buildspec: codebuild_specs/integration_test.yml
depend-on:
- build_linux
env:
compute-type: BUILD_GENERAL1_LARGE
- identifier: amplify_sudo_install_test
buildspec: codebuild_specs/amplify_sudo_install_test.yml
env:
compute-type: BUILD_GENERAL1_MEDIUM
depend-on:
- upb
- identifier: amplify_install_test
buildspec: codebuild_specs/amplify_install_test.yml
env:
compute-type: BUILD_GENERAL1_MEDIUM
depend-on:
- upb
- identifier: amplify_console_integration_tests
buildspec: codebuild_specs/amplify_console_integration_tests.yml
env:
compute-type: BUILD_GENERAL1_LARGE
depend-on:
- upb
- identifier: aggregate_e2e_reports
buildspec: codebuild_specs/aggregate_e2e_reports.yml
env:
compute-type: BUILD_GENERAL1_LARGE
variables:
WAIT_FOR_IDS_FILE_PATH: ./codebuild_specs/wait_for_ids_local.json
debug-session: true
depend-on:
- upb