Skip to content

Commit 56e21a6

Browse files
authored
Enable full CI on CodeBuild (#6067)
1 parent 22bec1f commit 56e21a6

File tree

1 file changed

+148
-163
lines changed

1 file changed

+148
-163
lines changed

ci/buildspec.yml

Lines changed: 148 additions & 163 deletions
Original file line numberDiff line numberDiff line change
@@ -23,166 +23,151 @@ batch:
2323
compute-type: BUILD_GENERAL1_MEDIUM
2424
debug-session: true
2525

26-
# # Run unit tests on client and server.
27-
# - identifier: server_unit_tests
28-
# buildspec: ci/1-server-unit-tests.yml
29-
# env:
30-
# compute-type: BUILD_GENERAL1_MEDIUM
31-
# # This job doesn't build any Docker images, but the backend tests use Docker to bring up database containers, so
32-
# # we need the privileged mode for that.
33-
# privileged-mode: true
34-
# debug-session: true
35-
#
36-
# # Run all Cypress tests.
37-
# - identifier: cypress01
38-
# depend-on: [client_unit_tests, server_unit_tests]
39-
# buildspec: ci/2-cypress.yml
40-
# env:
41-
# compute-type: BUILD_GENERAL1_MEDIUM
42-
# debug-session: true
43-
#
44-
# # Run all Cypress tests.
45-
# - identifier: cypress02
46-
# depend-on: [client_unit_tests, server_unit_tests]
47-
# buildspec: ci/2-cypress.yml
48-
# env:
49-
# compute-type: BUILD_GENERAL1_MEDIUM
50-
# debug-session: true
51-
#
52-
# # Run all Cypress tests.
53-
# - identifier: cypress03
54-
# depend-on: [client_unit_tests, server_unit_tests]
55-
# buildspec: ci/2-cypress.yml
56-
# env:
57-
# compute-type: BUILD_GENERAL1_MEDIUM
58-
# debug-session: true
59-
#
60-
# # Run all Cypress tests.
61-
# - identifier: cypress04
62-
# depend-on: [client_unit_tests, server_unit_tests]
63-
# buildspec: ci/2-cypress.yml
64-
# env:
65-
# compute-type: BUILD_GENERAL1_MEDIUM
66-
# debug-session: true
67-
#
68-
# # Run all Cypress tests.
69-
# - identifier: cypress05
70-
# depend-on: [client_unit_tests, server_unit_tests]
71-
# buildspec: ci/2-cypress.yml
72-
# env:
73-
# compute-type: BUILD_GENERAL1_MEDIUM
74-
# debug-session: true
75-
#
76-
# # Run all Cypress tests.
77-
# - identifier: cypress06
78-
# depend-on: [client_unit_tests, server_unit_tests]
79-
# buildspec: ci/2-cypress.yml
80-
# env:
81-
# compute-type: BUILD_GENERAL1_MEDIUM
82-
# debug-session: true
83-
#
84-
# # Run all Cypress tests.
85-
# - identifier: cypress07
86-
# depend-on: [client_unit_tests, server_unit_tests]
87-
# buildspec: ci/2-cypress.yml
88-
# env:
89-
# compute-type: BUILD_GENERAL1_MEDIUM
90-
# debug-session: true
91-
#
92-
# # Run all Cypress tests.
93-
# - identifier: cypress08
94-
# depend-on: [client_unit_tests, server_unit_tests]
95-
# buildspec: ci/2-cypress.yml
96-
# env:
97-
# compute-type: BUILD_GENERAL1_MEDIUM
98-
# debug-session: true
99-
#
100-
# # Run all Cypress tests.
101-
# - identifier: cypress09
102-
# depend-on: [client_unit_tests, server_unit_tests]
103-
# buildspec: ci/2-cypress.yml
104-
# env:
105-
# compute-type: BUILD_GENERAL1_MEDIUM
106-
# debug-session: true
107-
#
108-
# # Run all Cypress tests.
109-
# - identifier: cypress10
110-
# depend-on: [client_unit_tests, server_unit_tests]
111-
# buildspec: ci/2-cypress.yml
112-
# env:
113-
# compute-type: BUILD_GENERAL1_MEDIUM
114-
# debug-session: true
115-
#
116-
# # Run all Cypress tests.
117-
# - identifier: cypress11
118-
# depend-on: [client_unit_tests, server_unit_tests]
119-
# buildspec: ci/2-cypress.yml
120-
# env:
121-
# compute-type: BUILD_GENERAL1_MEDIUM
122-
# debug-session: true
123-
#
124-
# # Run all Cypress tests.
125-
# - identifier: cypress12
126-
# depend-on: [client_unit_tests, server_unit_tests]
127-
# buildspec: ci/2-cypress.yml
128-
# env:
129-
# compute-type: BUILD_GENERAL1_MEDIUM
130-
# debug-session: true
131-
#
132-
# # Run all Cypress tests.
133-
# - identifier: cypress13
134-
# depend-on: [client_unit_tests, server_unit_tests]
135-
# buildspec: ci/2-cypress.yml
136-
# env:
137-
# compute-type: BUILD_GENERAL1_MEDIUM
138-
# debug-session: true
139-
#
140-
# # Run all Cypress tests.
141-
# - identifier: cypress14
142-
# depend-on: [client_unit_tests, server_unit_tests]
143-
# buildspec: ci/2-cypress.yml
144-
# env:
145-
# compute-type: BUILD_GENERAL1_MEDIUM
146-
# debug-session: true
147-
#
148-
# # Run all Cypress tests.
149-
# - identifier: cypress15
150-
# depend-on: [client_unit_tests, server_unit_tests]
151-
# buildspec: ci/2-cypress.yml
152-
# env:
153-
# compute-type: BUILD_GENERAL1_MEDIUM
154-
# debug-session: true
155-
#
156-
# # Run all Cypress tests.
157-
# - identifier: cypress16
158-
# depend-on: [client_unit_tests, server_unit_tests]
159-
# buildspec: ci/2-cypress.yml
160-
# env:
161-
# compute-type: BUILD_GENERAL1_MEDIUM
162-
# debug-session: true
163-
#
164-
# # Publish
165-
# - identifier: publish
166-
# depend-on: [client_unit_tests, server_unit_tests]
167-
# buildspec: ci/3-publish.yml
168-
# env:
169-
# compute-type: BUILD_GENERAL1_MEDIUM
170-
# privileged-mode: true
171-
# debug-session: true
172-
# depend-on:
173-
# - cypress01
174-
# - cypress02
175-
# - cypress03
176-
# - cypress04
177-
# - cypress05
178-
# - cypress06
179-
# - cypress07
180-
# - cypress08
181-
# - cypress09
182-
# - cypress10
183-
# - cypress11
184-
# - cypress12
185-
# - cypress13
186-
# - cypress14
187-
# - cypress15
188-
# - cypress16
26+
# Run unit tests on client and server.
27+
- identifier: server_unit_tests
28+
buildspec: ci/1-server-unit-tests.yml
29+
env:
30+
compute-type: BUILD_GENERAL1_MEDIUM
31+
# This job doesn't build any Docker images, but the backend tests use Docker to bring up database containers, so
32+
# we need the privileged mode for that.
33+
privileged-mode: true
34+
debug-session: true
35+
36+
# Run all Cypress tests.
37+
- identifier: cypress01
38+
depend-on: [client_unit_tests, server_unit_tests]
39+
buildspec: ci/2-cypress.yml
40+
env:
41+
compute-type: BUILD_GENERAL1_MEDIUM
42+
debug-session: true
43+
44+
- identifier: cypress02
45+
depend-on: [client_unit_tests, server_unit_tests]
46+
buildspec: ci/2-cypress.yml
47+
env:
48+
compute-type: BUILD_GENERAL1_MEDIUM
49+
debug-session: true
50+
51+
- identifier: cypress03
52+
depend-on: [client_unit_tests, server_unit_tests]
53+
buildspec: ci/2-cypress.yml
54+
env:
55+
compute-type: BUILD_GENERAL1_MEDIUM
56+
debug-session: true
57+
58+
- identifier: cypress04
59+
depend-on: [client_unit_tests, server_unit_tests]
60+
buildspec: ci/2-cypress.yml
61+
env:
62+
compute-type: BUILD_GENERAL1_MEDIUM
63+
debug-session: true
64+
65+
- identifier: cypress05
66+
depend-on: [client_unit_tests, server_unit_tests]
67+
buildspec: ci/2-cypress.yml
68+
env:
69+
compute-type: BUILD_GENERAL1_MEDIUM
70+
debug-session: true
71+
72+
- identifier: cypress06
73+
depend-on: [client_unit_tests, server_unit_tests]
74+
buildspec: ci/2-cypress.yml
75+
env:
76+
compute-type: BUILD_GENERAL1_MEDIUM
77+
debug-session: true
78+
79+
- identifier: cypress07
80+
depend-on: [client_unit_tests, server_unit_tests]
81+
buildspec: ci/2-cypress.yml
82+
env:
83+
compute-type: BUILD_GENERAL1_MEDIUM
84+
debug-session: true
85+
86+
- identifier: cypress08
87+
depend-on: [client_unit_tests, server_unit_tests]
88+
buildspec: ci/2-cypress.yml
89+
env:
90+
compute-type: BUILD_GENERAL1_MEDIUM
91+
debug-session: true
92+
93+
- identifier: cypress09
94+
depend-on: [client_unit_tests, server_unit_tests]
95+
buildspec: ci/2-cypress.yml
96+
env:
97+
compute-type: BUILD_GENERAL1_MEDIUM
98+
debug-session: true
99+
100+
- identifier: cypress10
101+
depend-on: [client_unit_tests, server_unit_tests]
102+
buildspec: ci/2-cypress.yml
103+
env:
104+
compute-type: BUILD_GENERAL1_MEDIUM
105+
debug-session: true
106+
107+
- identifier: cypress11
108+
depend-on: [client_unit_tests, server_unit_tests]
109+
buildspec: ci/2-cypress.yml
110+
env:
111+
compute-type: BUILD_GENERAL1_MEDIUM
112+
debug-session: true
113+
114+
- identifier: cypress12
115+
depend-on: [client_unit_tests, server_unit_tests]
116+
buildspec: ci/2-cypress.yml
117+
env:
118+
compute-type: BUILD_GENERAL1_MEDIUM
119+
debug-session: true
120+
121+
- identifier: cypress13
122+
depend-on: [client_unit_tests, server_unit_tests]
123+
buildspec: ci/2-cypress.yml
124+
env:
125+
compute-type: BUILD_GENERAL1_MEDIUM
126+
debug-session: true
127+
128+
- identifier: cypress14
129+
depend-on: [client_unit_tests, server_unit_tests]
130+
buildspec: ci/2-cypress.yml
131+
env:
132+
compute-type: BUILD_GENERAL1_MEDIUM
133+
debug-session: true
134+
135+
- identifier: cypress15
136+
depend-on: [client_unit_tests, server_unit_tests]
137+
buildspec: ci/2-cypress.yml
138+
env:
139+
compute-type: BUILD_GENERAL1_MEDIUM
140+
debug-session: true
141+
142+
- identifier: cypress16
143+
depend-on: [client_unit_tests, server_unit_tests]
144+
buildspec: ci/2-cypress.yml
145+
env:
146+
compute-type: BUILD_GENERAL1_MEDIUM
147+
debug-session: true
148+
149+
# Publish
150+
- identifier: publish
151+
depend-on: [client_unit_tests, server_unit_tests]
152+
buildspec: ci/3-publish.yml
153+
env:
154+
compute-type: BUILD_GENERAL1_MEDIUM
155+
privileged-mode: true
156+
debug-session: true
157+
depend-on:
158+
- cypress01
159+
- cypress02
160+
- cypress03
161+
- cypress04
162+
- cypress05
163+
- cypress06
164+
- cypress07
165+
- cypress08
166+
- cypress09
167+
- cypress10
168+
- cypress11
169+
- cypress12
170+
- cypress13
171+
- cypress14
172+
- cypress15
173+
- cypress16

0 commit comments

Comments
 (0)