@@ -71,30 +71,23 @@ var_11: &yarn_install_loose_lockfile
71
71
name : " Installing project dependencies"
72
72
command : yarn install --non-interactive
73
73
74
- # Anchor that can be used to download and install Yarn globally in the bash environment.
75
- var_12 : &yarn_download
76
- run :
77
- name : " Downloading and installing Yarn"
78
- command : |
79
- touch $BASH_ENV
80
- curl -o- -L https://yarnpkg.com/install.sh | PROFILE=$BASH_ENV bash -s -- --version "1.19.1"
81
74
# Sets up the Bazel config which is specific for CircleCI builds.
82
- var_13 : &setup_bazel_ci_config
75
+ var_12 : &setup_bazel_ci_config
83
76
run :
84
77
name : " Setting up Bazel configuration for CI"
85
78
command : |
86
79
echo "import %workspace%/.circleci/bazel.rc" >> ./.bazelrc
87
80
88
81
# Attaches the release output which has been stored in the workspace to the current job.
89
82
# https://circleci.com/docs/2.0/workflows/#using-workspaces-to-share-data-among-jobs
90
- var_14 : &attach_release_output
83
+ var_13 : &attach_release_output
91
84
attach_workspace :
92
85
at : dist/
93
86
94
87
# Branch filter that we can specify for jobs that should only run on publish branches. This filter
95
88
# is used to ensure that not all upstream branches will be published as Github builds
96
89
# (e.g. revert branches, feature branches)
97
- var_15 : &publish_branches_filter
90
+ var_14 : &publish_branches_filter
98
91
branches :
99
92
only :
100
93
- master
@@ -108,33 +101,33 @@ var_15: &publish_branches_filter
108
101
# In order to reduce duplication we use a YAML anchor that just always excludes the "_presubmit"
109
102
# branch. We don't want to run Circle for the temporary "_presubmit" branch which is reserved
110
103
# for the caretaker.
111
- var_16 : &ignore_presubmit_branch_filter
104
+ var_15 : &ignore_presubmit_branch_filter
112
105
branches :
113
106
ignore :
114
107
- " _presubmit"
115
108
116
109
# Runs a script that sets up the Bazel remote execution. This will be used by jobs that run
117
110
# Bazel primarily and should benefit from remote caching and execution.
118
- var_17 : &setup_bazel_remote_execution
111
+ var_16 : &setup_bazel_remote_execution
119
112
run :
120
113
name : " Setup bazel RBE remote execution"
121
114
command : ./scripts/circleci/bazel/setup-remote-execution.sh
122
115
123
116
# Sets up the bazel binary globally. We don't want to access bazel through Yarn and NodeJS
124
117
# because it could mean that the Bazel child process only has access to limited memory.
125
- var_18 : &setup_bazel_binary
118
+ var_17 : &setup_bazel_binary
126
119
run :
127
120
name : " Setting up global Bazel binary"
128
121
command : ./scripts/circleci/setup_bazel_binary.sh
129
122
130
123
# Sets up the Angular snapshot builds.
131
- var_19 : &setup_snapshot_builds
124
+ var_18 : &setup_snapshot_builds
132
125
run :
133
126
name : " Setting up Angular snapshot builds"
134
127
command : node ./scripts/circleci/setup-angular-snapshots.js master
135
128
136
129
# Filter to skip a job on builds for pull requests.
137
- var_20 : &skip_on_pull_requests_filter
130
+ var_19 : &skip_on_pull_requests_filter
138
131
branches :
139
132
ignore :
140
133
- /pull\/\d+/
@@ -163,7 +156,6 @@ jobs:
163
156
- *restore_cache
164
157
- *setup_bazel_ci_config
165
158
- *setup_bazel_remote_execution
166
- - *yarn_download
167
159
- *yarn_install
168
160
- *setup_bazel_binary
169
161
@@ -185,7 +177,6 @@ jobs:
185
177
- *restore_cache
186
178
- *setup_bazel_ci_config
187
179
- *setup_bazel_remote_execution
188
- - *yarn_download
189
180
- *yarn_install
190
181
- *setup_bazel_binary
191
182
@@ -204,7 +195,6 @@ jobs:
204
195
- *restore_cache
205
196
- *setup_bazel_ci_config
206
197
- *setup_bazel_remote_execution
207
- - *yarn_download
208
198
- *yarn_install
209
199
- *setup_bazel_binary
210
200
@@ -224,7 +214,6 @@ jobs:
224
214
- *restore_cache
225
215
- *setup_bazel_ci_config
226
216
- *setup_bazel_remote_execution
227
- - *yarn_download
228
217
- *yarn_install
229
218
- *setup_bazel_binary
230
219
@@ -244,7 +233,6 @@ jobs:
244
233
- *checkout_code
245
234
- *restore_cache
246
235
- *setup_bazel_ci_config
247
- - *yarn_download
248
236
- *yarn_install
249
237
250
238
- run : ./scripts/circleci/run-browserstack-tests.sh
@@ -266,7 +254,6 @@ jobs:
266
254
- *checkout_code
267
255
- *restore_cache
268
256
- *setup_bazel_ci_config
269
- - *yarn_download
270
257
- *yarn_install
271
258
272
259
- run : ./scripts/circleci/run-saucelabs-tests.sh
@@ -280,7 +267,6 @@ jobs:
280
267
- *checkout_code
281
268
- *restore_cache
282
269
- *setup_bazel_ci_config
283
- - *yarn_download
284
270
- *yarn_install
285
271
- *setup_bazel_binary
286
272
@@ -317,7 +303,6 @@ jobs:
317
303
- *restore_cache
318
304
- *setup_bazel_ci_config
319
305
- *setup_bazel_remote_execution
320
- - *yarn_download
321
306
- *yarn_install
322
307
- *setup_bazel_binary
323
308
@@ -371,7 +356,6 @@ jobs:
371
356
- *attach_release_output
372
357
- *setup_bazel_ci_config
373
358
- *setup_bazel_remote_execution
374
- - *yarn_download
375
359
- *yarn_install
376
360
- *setup_bazel_binary
377
361
@@ -397,7 +381,6 @@ jobs:
397
381
- *checkout_code
398
382
- *restore_cache
399
383
- *attach_release_output
400
- - *yarn_download
401
384
- *yarn_install
402
385
403
386
- run : cp -R dist/releases/* node_modules/@angular/
@@ -414,7 +397,6 @@ jobs:
414
397
- *checkout_code
415
398
- *restore_cache
416
399
- *attach_release_output
417
- - *yarn_download
418
400
- *setup_snapshot_builds
419
401
- *yarn_install_loose_lockfile
420
402
@@ -435,7 +417,6 @@ jobs:
435
417
- *restore_cache
436
418
- *setup_bazel_ci_config
437
419
- *setup_bazel_remote_execution
438
- - *yarn_download
439
420
- *setup_snapshot_builds
440
421
- *yarn_install_loose_lockfile
441
422
- *setup_bazel_binary
@@ -456,7 +437,6 @@ jobs:
456
437
- *restore_cache
457
438
- *setup_bazel_ci_config
458
439
- *setup_bazel_remote_execution
459
- - *yarn_download
460
440
- *yarn_install
461
441
- *setup_bazel_binary
462
442
@@ -476,7 +456,6 @@ jobs:
476
456
- *restore_cache
477
457
- *setup_bazel_ci_config
478
458
- *setup_bazel_remote_execution
479
- - *yarn_download
480
459
- *setup_snapshot_builds
481
460
- *yarn_install_loose_lockfile
482
461
- *setup_bazel_binary
@@ -498,7 +477,6 @@ jobs:
498
477
- *setup_bazel_binary
499
478
- *setup_bazel_ci_config
500
479
- *setup_bazel_remote_execution
501
- - *yarn_download
502
480
- *yarn_install
503
481
504
482
# Install the latest canary version of the "material-components-web".
0 commit comments