1
1
---
2
- bazel : 5.0.0
2
+ bazel : 6.1.1
3
3
# Note, this will tell the user to do the wrong thing (manually run buildifer)
4
4
# See https://github.com/bazelbuild/continuous-integration/issues/1161
5
5
buildifier :
@@ -13,268 +13,60 @@ tasks:
13
13
ubuntu1804 :
14
14
name : ubuntu1804
15
15
platform : ubuntu1804
16
- run_targets :
17
- - " @yarn//:yarn"
18
- - " //internal/node/test:no_deps"
19
- - " //internal/node/test:has_deps_legacy"
20
- - " //internal/node/test:has_deps"
21
- - " //internal/node/test:has_deps_hybrid"
22
- - " //internal/npm_install/test:index"
23
- # Disabled due to https://github.com/bazelbuild/rules_nodejs/issues/1486
24
- # - "@fine_grained_deps_yarn//typescript/bin:tsc"
25
16
build_targets :
26
17
- " //..."
27
- test_flags :
28
- # Both chrome & firefox are missing shared libs on bazelci ubuntu.
29
- # On circleci we have the same issue but we can work around it using apt-get.
30
- # on bazelci apt-get fails with permission denied and there is no sudo
31
- # command to switch to root.
32
- # TODO(gregmagolan): figure out how to install missing shared libs
33
- - " --test_tag_filters=-e2e,-examples,-browser:chromium-local,-browser:firefox-local,-browser:custom_chrome"
34
- test_targets :
35
- - " //..."
36
- ubuntu1804_debug :
37
- name : ubuntu1804_debug
38
- platform : ubuntu1804
39
- test_flags :
40
- - " --compilation_mode=dbg"
41
- - " --define=VERBOSE_LOGS=1"
42
- # Both chrome & firefox are missing shared libs on bazelci ubuntu.
43
- # On circleci we have the same issue but we can work around it using apt-get.
44
- # on bazelci apt-get fails with permission denied and there is no sudo
45
- # command to switch to root.
46
- # TODO(gregmagolan): figure out how to install missing shared libs
47
- - " --test_tag_filters=-e2e,-examples,-browser:chromium-local,-browser:firefox-local,-browser:custom_chrome"
48
18
test_targets :
49
19
- " //..."
50
- ubuntu1804_e2e :
51
- name : ubuntu1804_e2e
20
+ ubuntu1804-smoke :
21
+ name : ubuntu1804-smoke
52
22
platform : ubuntu1804
53
- # We need to reduce the memory & CPU usage of the top-level
54
- # bazel process for bazel-in-bazel tests to not
55
- # deplete the system memory completely.
56
- # - startup JVM memory reduced
57
- # - top-level bazel process should use as little memory as possible and only 1 core
58
- # - nested bazel process should use a limited number of cores
59
- shell_commands :
60
- - echo 'startup --host_jvm_args=-Xms256m --host_jvm_args=-Xmx1536m' >> .bazelrc
23
+ working_directory : " e2e/smoke"
61
24
build_targets :
62
25
- " //..."
63
- # We control Bazel version in integration tests, so we don't need USE_BAZEL_VERSION for tests.
64
- skip_use_bazel_version_for_test : true
65
- test_flags :
66
- - " --test_tag_filters=e2e"
67
- - " --local_ram_resources=792"
68
- # test_args will be passed to the nested bazel process
69
- - " --test_arg=--local_ram_resources=13288"
70
- - " --test_arg=--local_cpu_resources=7"
71
26
test_targets :
72
27
- " //..."
73
- ubuntu1804_examples :
74
- name : ubuntu1804_examples
28
+ ubuntu1804-nodejs_host :
29
+ name : ubuntu1804-nodejs_host
75
30
platform : ubuntu1804
76
- # We need to reduce the memory & CPU usage of the top-level
77
- # bazel process for bazel-in-bazel tests to not
78
- # deplete the system memory completely.
79
- # - startup JVM memory reduced
80
- # - top-level bazel process should use as little memory as possible and only 1 core
81
- # - nested bazel process should use a limited number of cores
82
- shell_commands :
83
- - echo 'startup --host_jvm_args=-Xms256m --host_jvm_args=-Xmx1536m' >> .bazelrc
84
- build_flags :
85
- - " --build_tag_filters=examples"
31
+ working_directory : " e2e/nodejs_host"
86
32
build_targets :
87
33
- " //..."
88
- # We control Bazel version in integration tests, so we don't need USE_BAZEL_VERSION for tests.
89
- skip_use_bazel_version_for_test : true
90
- test_flags :
91
- - " --test_tag_filters=examples"
92
- - " --local_ram_resources=792"
93
- # test_args will be passed to the nested bazel process
94
- - " --test_arg=--local_ram_resources=13288"
95
- - " --test_arg=--local_cpu_resources=7"
96
- # Both chrome & firefox are missing shared libs on bazelci ubuntu.
97
- # On circleci we have the same issue but we can work around it using apt-get.
98
- # on bazelci apt-get fails with permission denied and there is no sudo
99
- # command to switch to root.
100
- # TODO(gregmagolan): figure out how to install missing shared libs
101
- - " --test_arg=--test_tag_filters=-browser:chromium-local,-browser:firefox-local"
102
- - " --test_output=streamed"
103
34
test_targets :
104
35
- " //..."
105
36
# Temporarily disabled MacOS tests until pre-existing failure can be investigated.
106
- # macos:
37
+ # macos-smoke :
107
38
# name: macos
108
39
# platform: macos
109
- # run_targets:
110
- # - "@yarn//:yarn"
111
- # # Regression test for #1493
112
- # - "//internal/node/test:no_deps"
113
- # - "//internal/node/test:has_deps_legacy"
114
- # - "//internal/node/test:has_deps"
115
- # - "//internal/node/test:has_deps_hybrid"
116
- # - "//internal/npm_install/test:index"
117
- # # Disabled due to https://github.com/bazelbuild/rules_nodejs/issues/1486
118
- # #- "@fine_grained_deps_yarn//typescript/bin:tsc"
40
+ # working_directory: "e2e/smoke"
119
41
# build_targets:
120
42
# - "//..."
121
- # test_flags:
122
- # # Firefox are missing shared libs on bazelci mac
123
- # # TODO(gregmagolan): figure out how to install missing shared libs
124
- # - "--test_tag_filters=-e2e,-examples,-browser:firefox-local"
125
43
# test_targets:
126
44
# - "//..."
127
- # macos_e2e:
128
- # name: macos_e2e
129
- # platform: macos
130
- # # We need to reduce the memory & CPU usage of the top-level
131
- # # bazel process for bazel-in-bazel tests to not
132
- # # deplete the system memory completely.
133
- # # - startup JVM memory reduced
134
- # # - top-level bazel process should use as little memory as possible and only 1 core
135
- # # - nested bazel process should use a limited number of cores
136
- # shell_commands:
137
- # - echo 'startup --host_jvm_args=-Xms256m --host_jvm_args=-Xmx1536m' >> .bazelrc
138
- # build_flags:
139
- # - "--build_tag_filters=e2e"
140
- # build_targets:
141
- # - "//..."
142
- # # We control Bazel version in integration tests, so we don't need USE_BAZEL_VERSION for tests.
143
- # skip_use_bazel_version_for_test: true
144
- # test_flags:
145
- # - "--test_tag_filters=e2e,-no-bazelci-mac"
146
- # - "--local_ram_resources=792"
147
- # # test_args will be passed to the nested bazel process
148
- # # TODO(gregmagolan): fix frequent flake with multiple cores in nested bazel (osx buildkite & local)
149
- # - "--test_arg=--local_ram_resources=13288"
150
- # # Firefox are missing shared libs on bazelci mac
151
- # # TODO(gregmagolan): figure out how to install missing shared libs
152
- # - "--test_arg=--test_tag_filters=-browser:firefox-local"
153
- # test_targets:
154
- # - "//..."
155
- # macos_examples:
156
- # name: macos_examples
157
- # platform: macos
158
- # # We need to reduce the memory & CPU usage of the top-level
159
- # # bazel process for bazel-in-bazel tests to not
160
- # # deplete the system memory completely.
161
- # # - startup JVM memory reduced
162
- # # - top-level bazel process should use as little memory as possible and only 1 core
163
- # # - nested bazel process should use a limited number of cores
164
- # shell_commands:
165
- # - echo 'startup --host_jvm_args=-Xms256m --host_jvm_args=-Xmx1536m' >> .bazelrc
166
- # build_flags:
167
- # - "--build_tag_filters=examples"
168
- # build_targets:
169
- # - "//..."
170
- # # We control Bazel version in integration tests, so we don't need USE_BAZEL_VERSION for tests.
171
- # skip_use_bazel_version_for_test: true
172
- # test_flags:
173
- # - "--test_tag_filters=examples"
174
- # - "--local_ram_resources=792"
175
- # # test_args will be passed to the nested bazel process
176
- # # TODO(gregmagolan): fix frequent flake with multiple cores in nested bazel (osx buildkite & local)
177
- # - "--test_arg=--local_ram_resources=13288"
178
- # # Firefox are missing shared libs on bazelci mac
179
- # # TODO(gregmagolan): figure out how to install missing shared libs
180
- # - "--test_arg=--test_tag_filters=-no-bazelci-mac,-browser:firefox-local"
181
- # test_targets:
182
- # - "//..."
183
- # TODO(gregmagolan): fix platform configuraiton for this test job for Bazel 2.0
184
- # macos_fake_rbe:
185
- # name: macos_fake_rbe
186
- # platform: macos
187
- # shell_commands:
188
- # # Reproduce https://github.com/bazelbuild/rules_nodejs/issues/1305
189
- # # TODO: switch to use real mac cross-platform RBE on CI when
190
- # # https://github.com/bazelbuild/continuous-integration/pull/749
191
- # # lands on bazelci master.
192
- # - echo 'build --platforms=@rbe_default//config:platform' >> .bazelrc
193
- # run_targets:
194
- # - "//internal/node/test:no_deps"
195
- windows :
196
- name : windows
197
- platform : windows
198
- run_targets :
199
- - " @yarn//:yarn"
200
- - " //internal/node/test:no_deps"
201
- - " //internal/node/test:has_deps_legacy"
202
- - " //internal/node/test:has_deps"
203
- - " //internal/node/test:has_deps_hybrid"
204
- - " //internal/npm_install/test:index"
205
- # Disabled due to https://github.com/bazelbuild/rules_nodejs/issues/1486
206
- # - "@fine_grained_deps_yarn//typescript/bin:tsc"
207
- build_flags :
208
- - " --build_tag_filters=-e2e,-examples,-fix-windows,-no-bazelci-windows,-requires-runfiles"
209
- build_targets :
210
- - " //..."
211
- test_flags :
212
- # Firefox not supported on Windows with rules_webtesting (if run it exit with success)
213
- # See https://github.com/bazelbuild/rules_webtesting/blob/0.3.3/browsers/BUILD.bazel#L66.
214
- - " --test_tag_filters=-e2e,-examples,-fix-windows,-no-bazelci-windows,-requires-runfiles,-browser:firefox-local"
215
- test_targets :
216
- - " //..."
217
- windows_runfiles_enabled :
218
- name : windows_runfiles_enabled
45
+ windows-smoke :
46
+ name : windows-smoke
219
47
platform : windows
220
- test_flags :
221
- - " --test_tag_filters=requires-runfiles,-fix-windows,-no-bazelci-windows"
222
- - " --enable_runfiles"
223
- test_targets :
224
- - " //..."
225
- windows_e2e :
226
- name : windows_e2e
227
- platform : windows
228
- build_flags :
229
- - " --build_tag_filters=e2e,-fix-windows,-no-bazelci-windows,-requires-runfiles"
48
+ working_directory : " e2e/smoke"
230
49
build_targets :
231
50
- " //..."
232
- # We control Bazel version in integration tests, so we don't need USE_BAZEL_VERSION for tests.
233
- skip_use_bazel_version_for_test : true
234
51
test_flags :
235
- - " --test_tag_filters=e2e,-fix-windows,-no-bazelci-windows,-requires-runfiles"
236
- - " --local_ram_resources=792"
237
- # test_args will be passed to the nested bazel process
238
- - " --test_arg=--local_ram_resources=13288"
239
- # Firefox not supported on Windows with rules_webtesting (if run it exit with success)
240
- # See https://github.com/bazelbuild/rules_webtesting/blob/0.3.3/browsers/BUILD.bazel#L66.
241
- # Chrome fails to launch on Windows inside bazel-in-bazel with: [17:12:04] E/launcher -
242
- # spawn D:\...\external\io_bazel_rules_webtesting\third_party\chromedriver\chromedriver.out\chromedriver_win32\chromedriver.exe ENOENT
243
- - " --test_arg=--test_tag_filters=-fix-windows,-no-bazelci-windows,-requires-runfiles,-browser:chromium-local,-browser:firefox-local"
52
+ - " --test_tag_filters=-fix-windows,-no-bazelci-windows"
244
53
test_targets :
245
54
- " //..."
246
- windows_examples :
247
- name : windows_examples
55
+ windows-nodejs_host :
56
+ name : windows-nodejs_host
248
57
platform : windows
249
- build_flags :
250
- - " --build_tag_filters=examples,-fix-windows,-no-bazelci-windows,-requires-runfiles"
58
+ working_directory : " e2e/nodejs_host"
251
59
build_targets :
252
60
- " //..."
253
- # We control Bazel version in integration tests, so we don't need USE_BAZEL_VERSION for tests.
254
- skip_use_bazel_version_for_test : true
255
61
test_flags :
256
- - " --test_tag_filters=examples,-fix-windows,-no-bazelci-windows,-requires-runfiles"
257
- - " --local_ram_resources=792"
258
- # test_args will be passed to the nested bazel process
259
- - " --test_arg=--local_ram_resources=13288"
260
- # Firefox not supported on Windows with rules_webtesting (if run it exit with success)
261
- # See https://github.com/bazelbuild/rules_webtesting/blob/0.3.3/browsers/BUILD.bazel#L66.
262
- # Chrome fails to launch on Windows inside bazel-in-bazel with: [17:12:04] E/launcher -
263
- # spawn D:\...\external\io_bazel_rules_webtesting\third_party\chromedriver\chromedriver.out\chromedriver_win32\chromedriver.exe ENOENT
264
- - " --test_arg=--test_tag_filters=-fix-windows,-no-bazelci-windows,-requires-runfiles,-browser:chromium-local,-browser:firefox-local"
62
+ - " --test_tag_filters=-fix-windows,-no-bazelci-windows"
265
63
test_targets :
266
64
- " //..."
267
- rbe_ubuntu1604 :
268
- name : rbe_ubuntu1604
65
+ rbe_ubuntu1604-smoke :
66
+ name : rbe_ubuntu1604-smoke
269
67
platform : rbe_ubuntu1604
68
+ working_directory : " e2e/smoke"
270
69
build_targets :
271
70
- " //..."
272
- build_flags :
273
- # TODO(gregmagolan): figure out how to install missing shared libs
274
- # Without this filter the @cypress external repository will be built and that build will fail due to missing shared libs.
275
- - " --build_tag_filters=-examples,-e2e,-no-rbe,-browser:chromium-local,-browser:firefox-local"
276
- test_flags :
277
- # TODO(gregmagolan): figure out how to install missing shared libs
278
- - " --test_tag_filters=-examples,-e2e,-no-rbe,-browser:chromium-local,-browser:firefox-local"
279
71
test_targets :
280
72
- " //..."
0 commit comments