Skip to content

Commit 36bac47

Browse files
committed
Merge remote-tracking branch 'origin/develop' into lmiller/23302-async-fn
2 parents 723e306 + 070b3c9 commit 36bac47

File tree

262 files changed

+7181
-2485
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

262 files changed

+7181
-2485
lines changed

.circleci/cache-version.txt

+3
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
# Bump this version to force CI to re-create the cache from scratch.
2+
3+
9-13-22

circle.yml renamed to .circleci/config.yml

+15-16
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,6 @@ linuxWorkflowExcludeFilters: &linux-x64-workflow-exclude-filters
5555
unless:
5656
or:
5757
- false
58-
# - equal: [ 'tgriesser/chore/fix-windows-build', << pipeline.git.branch >> ]
5958

6059
# windows is slow and expensive in CI, so it normally only runs on main branches
6160
# add your branch to this list to run the full Windows build on your PR
@@ -224,7 +223,7 @@ commands:
224223
command: node ./scripts/get-platform-key.js > platform_key
225224
- restore_cache:
226225
name: Restore cache state, to check for known modules cache existence
227-
key: v{{ .Environment.CACHE_VERSION }}-{{ checksum "platform_key" }}-node-modules-cache-{{ checksum "circle_cache_key" }}
226+
key: v{{ checksum ".circleci/cache-version.txt" }}-{{ checksum "platform_key" }}-node-modules-cache-{{ checksum "circle_cache_key" }}
228227
- run:
229228
name: Move node_modules back from /tmp
230229
command: |
@@ -251,7 +250,7 @@ commands:
251250
- restore_cache:
252251
name: Restore system tests node_modules cache
253252
keys:
254-
- v{{ .Environment.CACHE_VERSION }}-{{ checksum "platform_key" }}-system-tests-projects-node-modules-cache-{{ checksum "system_tests_cache_key" }}
253+
- v{{ checksum ".circleci/cache-version.txt" }}-{{ checksum "platform_key" }}-system-tests-projects-node-modules-cache-{{ checksum "system_tests_cache_key" }}
255254

256255
update_cached_system_tests_deps:
257256
description: 'Update the cached node_modules for projects in "system-tests/projects/**"'
@@ -265,7 +264,7 @@ commands:
265264
- restore_cache:
266265
name: Restore cache state, to check for known modules cache existence
267266
keys:
268-
- v{{ .Environment.CACHE_VERSION }}-{{ checksum "platform_key" }}-state-of-system-tests-projects-node-modules-cache-{{ checksum "system_tests_cache_key" }}
267+
- v{{ checksum ".circleci/cache-version.txt" }}-{{ checksum "platform_key" }}-state-of-system-tests-projects-node-modules-cache-{{ checksum "system_tests_cache_key" }}
269268
- run:
270269
name: Send root honeycomb event for this CI build
271270
command: cd system-tests/scripts && node ./send-root-honeycomb-event.js
@@ -279,20 +278,20 @@ commands:
279278
- restore_cache:
280279
name: Restore system tests node_modules cache
281280
keys:
282-
- v{{ .Environment.CACHE_VERSION }}-{{ checksum "platform_key" }}-system-tests-projects-node-modules-cache-{{ checksum "system_tests_cache_key" }}
283-
- v{{ .Environment.CACHE_VERSION }}-{{ checksum "platform_key" }}-system-tests-projects-node-modules-cache-
281+
- v{{ checksum ".circleci/cache-version.txt" }}-{{ checksum "platform_key" }}-system-tests-projects-node-modules-cache-{{ checksum "system_tests_cache_key" }}
282+
- v{{ checksum ".circleci/cache-version.txt" }}-{{ checksum "platform_key" }}-system-tests-projects-node-modules-cache-
284283
- run:
285284
name: Update system-tests node_modules cache
286285
command: yarn workspace @tooling/system-tests projects:yarn:install
287286
- save_cache:
288287
name: Save system tests node_modules cache
289-
key: v{{ .Environment.CACHE_VERSION }}-{{ checksum "platform_key" }}-system-tests-projects-node-modules-cache-{{ checksum "system_tests_cache_key" }}
288+
key: v{{ checksum ".circleci/cache-version.txt" }}-{{ checksum "platform_key" }}-system-tests-projects-node-modules-cache-{{ checksum "system_tests_cache_key" }}
290289
paths:
291290
- /tmp/cy-system-tests-node-modules
292291
- run: touch /tmp/system_tests_node_modules_installed
293292
- save_cache:
294293
name: Save system tests node_modules cache state key
295-
key: v{{ .Environment.CACHE_VERSION }}-{{ checksum "platform_key" }}-state-of-system-tests-projects-node-modules-cache-{{ checksum "system_tests_cache_key" }}
294+
key: v{{ checksum ".circleci/cache-version.txt" }}-{{ checksum "platform_key" }}-state-of-system-tests-projects-node-modules-cache-{{ checksum "system_tests_cache_key" }}
296295
paths:
297296
- /tmp/system_tests_node_modules_installed
298297

@@ -312,7 +311,7 @@ commands:
312311
command: node ./scripts/get-platform-key.js > platform_key
313312
- restore_cache:
314313
name: Restore cache state, to check for known modules cache existence
315-
key: v{{ .Environment.CACHE_VERSION }}-{{ checksum "platform_key" }}-state-of-node-modules-cache-{{ checksum "circle_cache_key" }}
314+
key: v{{ checksum ".circleci/cache-version.txt" }}-{{ checksum "platform_key" }}-state-of-node-modules-cache-{{ checksum "circle_cache_key" }}
316315
- run:
317316
name: Bail if cache exists
318317
command: |
@@ -324,7 +323,7 @@ commands:
324323
- restore_cache:
325324
name: Restore weekly yarn cache
326325
keys:
327-
- v{{ .Environment.CACHE_VERSION }}-{{ checksum "platform_key" }}-deps-root-weekly-{{ checksum "cache_date" }}
326+
- v{{ checksum ".circleci/cache-version.txt" }}-{{ checksum "platform_key" }}-deps-root-weekly-{{ checksum "cache_date" }}
328327
- run:
329328
name: Install Node Modules
330329
command: |
@@ -341,7 +340,7 @@ commands:
341340
steps:
342341
- save_cache:
343342
name: Saving node modules for root, cli, and all globbed workspace packages
344-
key: v{{ .Environment.CACHE_VERSION }}-{{ checksum "platform_key" }}-node-modules-cache-{{ checksum "circle_cache_key" }}
343+
key: v{{ checksum ".circleci/cache-version.txt" }}-{{ checksum "platform_key" }}-node-modules-cache-{{ checksum "circle_cache_key" }}
345344
paths:
346345
- node_modules
347346
- cli/node_modules
@@ -352,18 +351,18 @@ commands:
352351
steps:
353352
- save_cache:
354353
name: Saving node modules for root, cli, and all globbed workspace packages
355-
key: v{{ .Environment.CACHE_VERSION }}-{{ checksum "platform_key" }}-node-modules-cache-{{ checksum "circle_cache_key" }}
354+
key: v{{ checksum ".circleci/cache-version.txt" }}-{{ checksum "platform_key" }}-node-modules-cache-{{ checksum "circle_cache_key" }}
356355
paths:
357356
- /tmp/node_modules_cache
358357
- run: touch node_modules_installed
359358
- save_cache:
360359
name: Saving node-modules cache state key
361-
key: v{{ .Environment.CACHE_VERSION }}-{{ checksum "platform_key" }}-state-of-node-modules-cache-{{ checksum "circle_cache_key" }}
360+
key: v{{ checksum ".circleci/cache-version.txt" }}-{{ checksum "platform_key" }}-state-of-node-modules-cache-{{ checksum "circle_cache_key" }}
362361
paths:
363362
- node_modules_installed
364363
- save_cache:
365364
name: Save weekly yarn cache
366-
key: v{{ .Environment.CACHE_VERSION }}-{{ checksum "platform_key" }}-deps-root-weekly-{{ checksum "cache_date" }}
365+
key: v{{ checksum ".circleci/cache-version.txt" }}-{{ checksum "platform_key" }}-deps-root-weekly-{{ checksum "cache_date" }}
367366
paths:
368367
- ~/.yarn
369368
- ~/.cy-npm-cache
@@ -902,7 +901,7 @@ commands:
902901
fi
903902
904903
curl -L https://raw.githubusercontent.com/cypress-io/cypress/$branch/scripts/ensure-node.sh --output ci-ensure-node.sh
905-
else
904+
else
906905
# if no .node-version file exists, we no-op the node script and use the global yarn
907906
echo '' > ci-ensure-node.sh
908907
fi
@@ -1031,7 +1030,7 @@ commands:
10311030
# by default, electron-builder will NOT sign app built in a pull request
10321031
# even our internal one (!)
10331032
# Usually this is not a problem, since we only build and test binary
1034-
# built on "develop" and "master" branches
1033+
# built on the "develop" branch
10351034
# but if you need to really build and sign a binary in a PR
10361035
# set variable CSC_FOR_PULL_REQUEST=true
10371036
command: |

.github/workflows/merge-master-into-develop.yml

-79
This file was deleted.

.github/workflows/snyk_sca_scan.yaml

+2-3
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,13 @@
11
name: Snyk Software Composition Analysis Scan
22
# This git workflow leverages Snyk actions to perform a Software Composition
3-
# Analysis scan on our Opensource libraries upon Pull Requests to Master &
4-
# Develop branches. We use this as a control to prevent vulnerable packages
3+
# Analysis scan on our Opensource libraries upon Pull Requests to the
4+
# "develop" branch. We use this as a control to prevent vulnerable packages
55
# from being introduced into the codebase.
66
on:
77
pull_request_target:
88
types:
99
- opened
1010
branches:
11-
- master
1211
- develop
1312
jobs:
1413
Snyk_SCA_Scan:

.github/workflows/snyk_static_analysis_scan.yaml

+2-3
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,13 @@
11
name: Snyk Static Analysis Scan
22
# This git workflow leverages Snyk actions to perform a Static Application
3-
# Testing scan (SAST) on our first-party code upon Pull Requests to Master &
4-
# Develop branches. We use this as a control to prevent vulnerabilities
3+
# Testing scan (SAST) on our first-party code upon Pull Requests to the
4+
# "develop" branch. We use this as a control to prevent vulnerabilities
55
# from being introduced into the codebase.
66
on:
77
pull_request_target:
88
types:
99
- opened
1010
branches:
11-
- master
1211
- develop
1312
jobs:
1413
Snyk_SAST_Scan :

.releaserc.base.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,6 @@ module.exports = {
1515
],
1616
extends: 'semantic-release-monorepo',
1717
branches: [
18-
'master',
18+
{ name: 'develop', channel: 'latest' },
1919
],
2020
}

.releaserc.js

-4
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,3 @@
11
module.exports = {
22
...require('./.releaserc.base'),
3-
branches: [
4-
'master',
5-
{ name: 'chore/webpack-5', channel: 'channel-next' },
6-
],
73
}

0 commit comments

Comments
 (0)