Skip to content

Commit b86fc1d

Browse files
authored
Merge pull request #2406 from bugsnag/release/v8.3.1
Release v8.3.1
2 parents 8049dff + aac8224 commit b86fc1d

Some content is hidden

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

45 files changed

+537
-307
lines changed

.buildkite/README.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
## Package manifest
2+
3+
The `package_manifest.json` includes a list of paths for each set of end-to-end tests, which when updated in a given PR, will automatically trigger those tests to be run. Otherwise, test suites can be manually unblocked and run on a case by case basis.

.buildkite/basic/browser-pipeline.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@ steps:
66
- group: "Browser Tests"
77
steps:
88
- label: ":docker: Maze Runner image - BitBar browsers"
9+
depends_on: "package-js"
910
key: "browser-maze-runner-bb"
1011
timeout_in_minutes: 20
1112
plugins:
@@ -26,6 +27,7 @@ steps:
2627
limit: 1
2728

2829
- label: ":docker: Maze Runner image - BrowserStack browsers"
30+
depends_on: "package-js"
2931
key: "browser-maze-runner-bs"
3032
timeout_in_minutes: 20
3133
plugins:
Lines changed: 30 additions & 31 deletions
Original file line numberDiff line numberDiff line change
@@ -1,33 +1,32 @@
11
steps:
22

3-
#
4-
# Node 14
5-
#
6-
- label: "Electron {{matrix.electron_version}} tests - macOS - Node {{matrix.node_version}}"
7-
timeout_in_minutes: 40
8-
agents:
9-
queue: macos-node-18
10-
env:
11-
NODE_VERSION: "{{matrix.node_version}}"
12-
ELECTRON_VERSION: "{{matrix.electron_version}}"
13-
PLAYWRIGHT_SKIP_BROWSER_DOWNLOAD: "1"
14-
START_LOCAL_NPM: "1"
15-
VERBOSE: "1"
16-
matrix:
17-
setup:
18-
electron_version:
19-
- "^20.0.0"
20-
- "^24.0.0"
21-
- "^26.0.0"
22-
- "^28.0.0"
23-
- "^30.0.0"
24-
node_version:
25-
- "18"
26-
commands:
27-
- echo "Running on Node `node -v`"
28-
- npm install electron@${ELECTRON_VERSION} --no-audit --progress=false --no-save
29-
- npm ci --no-audit --progress=false
30-
- npm run build:electron
31-
- defaults write com.apple.CrashReporter DialogType none
32-
- npm run test:unit:electron-runner
33-
- npm run test:electron
3+
- group: ":electron: Electron Tests"
4+
steps:
5+
- label: "Electron {{matrix.electron_version}} tests - macOS - Node {{matrix.node_version}}"
6+
timeout_in_minutes: 40
7+
agents:
8+
queue: macos-node-18
9+
env:
10+
NODE_VERSION: "{{matrix.node_version}}"
11+
ELECTRON_VERSION: "{{matrix.electron_version}}"
12+
PLAYWRIGHT_SKIP_BROWSER_DOWNLOAD: "1"
13+
START_LOCAL_NPM: "1"
14+
VERBOSE: "1"
15+
matrix:
16+
setup:
17+
electron_version:
18+
- "^20.0.0"
19+
- "^24.0.0"
20+
- "^26.0.0"
21+
- "^28.0.0"
22+
- "^30.0.0"
23+
node_version:
24+
- "18"
25+
commands:
26+
- echo "Running on Node `node -v`"
27+
- npm install electron@${ELECTRON_VERSION} --no-audit --progress=false --no-save
28+
- npm ci --no-audit --progress=false
29+
- npm run build:electron
30+
- defaults write com.apple.CrashReporter DialogType none
31+
- npm run test:unit:electron-runner
32+
- npm run test:electron

.buildkite/basic/expo-pipeline.yml

Lines changed: 38 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,38 @@
1+
agents:
2+
queue: "opensource"
3+
4+
steps:
5+
- group: ":expo: Expo Tests"
6+
steps:
7+
- label: "@bugsnag/expo latest"
8+
depends_on: "publish-js"
9+
trigger: "bugsnag-expo"
10+
build:
11+
branch: "v52/next"
12+
env:
13+
BUGSNAG_JS_BRANCH: "${BUILDKITE_BRANCH}"
14+
BUGSNAG_JS_COMMIT: "${BUILDKITE_COMMIT}"
15+
# a branch name that's safe to use as a docker cache identifier
16+
BUGSNAG_JS_CACHE_SAFE_BRANCH_NAME: "${BRANCH_NAME}"
17+
18+
- label: "@bugsnag/expo v51/next"
19+
depends_on: "publish-js"
20+
trigger: "bugsnag-expo"
21+
build:
22+
branch: "v51/next"
23+
env:
24+
BUGSNAG_JS_BRANCH: "${BUILDKITE_BRANCH}"
25+
BUGSNAG_JS_COMMIT: "${BUILDKITE_COMMIT}"
26+
# a branch name that's safe to use as a docker cache identifier
27+
BUGSNAG_JS_CACHE_SAFE_BRANCH_NAME: "${BRANCH_NAME}"
28+
29+
- label: "@bugsnag/expo v50/next"
30+
depends_on: "publish-js"
31+
trigger: "bugsnag-expo"
32+
build:
33+
branch: "v50/next"
34+
env:
35+
BUGSNAG_JS_BRANCH: "${BUILDKITE_BRANCH}"
36+
BUGSNAG_JS_COMMIT: "${BUILDKITE_COMMIT}"
37+
# a branch name that's safe to use as a docker cache identifier
38+
BUGSNAG_JS_CACHE_SAFE_BRANCH_NAME: "${BRANCH_NAME}"

.buildkite/basic/node-pipeline.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,10 +3,11 @@ agents:
33

44
steps:
55

6-
- group: "Node Tests"
6+
- group: ":node: Node Tests"
77
steps:
88
- label: ":docker: Build node maze runner image"
99
key: "node-maze-runner-image"
10+
depends_on: "package-js"
1011
timeout_in_minutes: 20
1112
plugins:
1213
- artifacts#v1.5.0:

.buildkite/full/react-native-android-pipeline.full.yml renamed to .buildkite/basic/react-native-android-full-pipeline.yml

Lines changed: 25 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -8,8 +8,24 @@ steps:
88
#
99
# Android builder
1010
#
11+
- label: ":docker: Build Java 11 Android Builder base image"
12+
key: "android-builder-base-java-11"
13+
timeout_in_minutes: 30
14+
plugins:
15+
- docker-compose#v4.12.0:
16+
build: android-builder-base-java-11
17+
image-repository: 855461928731.dkr.ecr.us-west-1.amazonaws.com/js
18+
cache-from: android-builder-base-java-11:855461928731.dkr.ecr.us-west-1.amazonaws.com/js:android-builder-base-java-11
19+
- docker-compose#v4.12.0:
20+
push: android-builder-base-java-11:855461928731.dkr.ecr.us-west-1.amazonaws.com/js:android-builder-base-java-11
21+
retry:
22+
automatic:
23+
- exit_status: "*"
24+
limit: 1
25+
1126
- label: ":docker: Build RN Android Builder image (Java 11, Node 16)"
1227
key: "android-builder-image-java-11-node-16"
28+
depends_on: "android-builder-base-java-11"
1329
timeout_in_minutes: 20
1430
plugins:
1531
- docker-compose#v4.12.0:
@@ -24,12 +40,13 @@ steps:
2440
limit: 1
2541

2642
#
27-
# Test fixtures
43+
# Test fixture builds
2844
#
2945
- label: ":android: Build RN 0.68 Hermes apk"
3046
key: "rn-0-68-hermes-apk"
31-
depends_on:
47+
depends_on:
3248
- "android-builder-image-java-11-node-16"
49+
- "publish-js"
3350
timeout_in_minutes: 20
3451
env:
3552
REACT_NATIVE_VERSION: "rn0.68-hermes"
@@ -46,8 +63,9 @@ steps:
4663

4764
- label: ":android: Build RN 0.69 apk"
4865
key: "rn-0-69-apk"
49-
depends_on:
66+
depends_on:
5067
- "android-builder-image-java-11-node-16"
68+
- "publish-js"
5169
timeout_in_minutes: 20
5270
env:
5371
REACT_NATIVE_VERSION: "rn0.69"
@@ -64,6 +82,7 @@ steps:
6482

6583
- label: ':android: Build RN {{matrix}} test fixture APK (Old Arch)'
6684
key: "build-react-native-android-fixture-old-arch-full"
85+
depends_on: "publish-js"
6786
timeout_in_minutes: 15
6887
agents:
6988
queue: macos-node-18
@@ -90,6 +109,7 @@ steps:
90109

91110
- label: ':android: Build RN {{matrix}} test fixture APK (New Arch)'
92111
key: "build-react-native-android-fixture-new-arch-full"
112+
depends_on: "publish-js"
93113
timeout_in_minutes: 15
94114
agents:
95115
queue: macos-node-18
@@ -116,6 +136,7 @@ steps:
116136

117137
- label: ':android: Build react-native-navigation {{matrix}} test fixture APK (Old Arch)'
118138
key: "build-react-native-navigation-android-fixture-old-arch"
139+
depends_on: "publish-js"
119140
timeout_in_minutes: 30
120141
agents:
121142
queue: macos-node-18
@@ -141,6 +162,7 @@ steps:
141162

142163
- label: ':android: Build react-native-navigation {{matrix}} test fixture APK (New Arch)'
143164
key: "build-react-native-navigation-android-fixture-new-arch"
165+
depends_on: "publish-js"
144166
timeout_in_minutes: 30
145167
agents:
146168
queue: macos-node-18

.buildkite/basic/react-native-android-pipeline.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@ steps:
77
steps:
88
- label: ':android: Build RN {{matrix}} test fixture APK (Old Arch)'
99
key: "build-react-native-android-fixture-old-arch"
10+
depends_on: "publish-js"
1011
timeout_in_minutes: 15
1112
agents:
1213
queue: macos-node-18
@@ -30,6 +31,7 @@ steps:
3031

3132
- label: ':android: Build RN {{matrix}} test fixture APK (New Arch)'
3233
key: "build-react-native-android-fixture-new-arch"
34+
depends_on: "publish-js"
3335
timeout_in_minutes: 15
3436
agents:
3537
queue: macos-node-18

.buildkite/full/react-native-cli-pipeline.full.yml renamed to .buildkite/basic/react-native-cli-pipeline.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@ steps:
77
steps:
88
- label: ':android: RN CLI - {{matrix}} Android build and sourcemap upload tests'
99
key: "build-react-native-cli-android-fixture"
10+
depends_on: "publish-js"
1011
timeout_in_minutes: 15
1112
agents:
1213
queue: macos-14
@@ -34,6 +35,7 @@ steps:
3435

3536
- label: ':mac: RN CLI - {{matrix}} iOS build and sourcemap upload tests'
3637
key: "build-react-native-cli-ios-fixture"
38+
depends_on: "publish-js"
3739
timeout_in_minutes: 20
3840
agents:
3941
queue: "macos-14"

.buildkite/full/react-native-ios-pipeline.full.yml renamed to .buildkite/basic/react-native-ios-full-pipeline.yml

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,7 @@ steps:
1111
#
1212
- label: ":ios: Build RN 0.68 Hermes ipa"
1313
key: "rn-0-68-hermes-ipa"
14+
depends_on: "publish-js"
1415
timeout_in_minutes: 20
1516
agents:
1617
queue: "macos-12-arm"
@@ -28,6 +29,7 @@ steps:
2829

2930
- label: ":ios: Build RN 0.69 ipa"
3031
key: "rn-0-69-ipa"
32+
depends_on: "publish-js"
3133
timeout_in_minutes: 20
3234
agents:
3335
queue: "macos-12-arm"
@@ -45,6 +47,7 @@ steps:
4547

4648
- label: ':mac: Build RN {{matrix}} test fixture ipa (Old Arch)'
4749
key: "build-react-native-ios-fixture-old-arch-full"
50+
depends_on: "publish-js"
4851
timeout_in_minutes: 30
4952
agents:
5053
queue: "macos-14"
@@ -71,6 +74,7 @@ steps:
7174

7275
- label: ':mac: Build RN {{matrix}} test fixture ipa (New Arch)'
7376
key: "build-react-native-ios-fixture-new-arch-full"
77+
depends_on: "publish-js"
7478
timeout_in_minutes: 30
7579
agents:
7680
queue: "macos-14"
@@ -97,6 +101,7 @@ steps:
97101

98102
- label: ':mac: Build react-native-navigation {{matrix}} test fixture ipa (Old Arch)'
99103
key: "build-react-native-navigation-ios-fixture-old-arch"
104+
depends_on: "publish-js"
100105
timeout_in_minutes: 30
101106
agents:
102107
queue: "macos-14"
@@ -211,7 +216,7 @@ steps:
211216
concurrency: 5
212217
concurrency_group: "browserstack-app"
213218
concurrency_method: eager
214-
219+
215220
- label: ":bitbar: :mac: RN {{matrix}} iOS (Old Arch) end-to-end tests"
216221
depends_on: "build-react-native-ios-fixture-old-arch-full"
217222
timeout_in_minutes: 40

.buildkite/basic/react-native-ios-pipeline.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,7 @@ steps:
1111
#
1212
- label: ':mac: Build RN {{matrix}} test fixture ipa (Old Arch)'
1313
key: "build-react-native-ios-fixture-old-arch"
14+
depends_on: "publish-js"
1415
timeout_in_minutes: 20
1516
agents:
1617
queue: "macos-14"
@@ -34,6 +35,7 @@ steps:
3435

3536
- label: ':mac: Build RN {{matrix}} test fixture ipa (New Arch)'
3637
key: "build-react-native-ios-fixture-new-arch"
38+
depends_on: "publish-js"
3739
timeout_in_minutes: 20
3840
agents:
3941
queue: "macos-14"
Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
steps:
2+
- block: "Trigger browser pipeline"
3+
key: "trigger-browser-pipeline"
4+
5+
- label: ":pipeline: Upload browser pipeline"
6+
depends_on: "trigger-browser-pipeline"
7+
agents:
8+
queue: macos
9+
timeout_in_minutes: 5
10+
command: buildkite-agent pipeline upload .buildkite/basic/browser-pipeline.yml
Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
steps:
2+
- block: "Trigger electron pipeline"
3+
key: "trigger-electron-pipeline"
4+
5+
- label: ":pipeline: Upload electron pipeline"
6+
depends_on: "trigger-electron-pipeline"
7+
agents:
8+
queue: macos
9+
timeout_in_minutes: 5
10+
command: buildkite-agent pipeline upload .buildkite/basic/electron-pipeline.yml
Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
steps:
2+
- block: "Trigger expo pipeline (external)"
3+
key: "trigger-expo-pipeline"
4+
5+
- label: ":pipeline: Upload expo pipeline"
6+
depends_on: "trigger-expo-pipeline"
7+
agents:
8+
queue: macos
9+
timeout_in_minutes: 5
10+
command: buildkite-agent pipeline upload .buildkite/basic/expo-pipeline.yml
Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
steps:
2+
- block: "Trigger node pipeline"
3+
key: "trigger-node-pipeline"
4+
5+
- label: ":pipeline: Upload node pipeline"
6+
depends_on: "trigger-node-pipeline"
7+
agents:
8+
queue: macos
9+
timeout_in_minutes: 5
10+
command: buildkite-agent pipeline upload .buildkite/basic/node-pipeline.yml
Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
steps:
2+
- block: "Trigger react-native android full pipeline"
3+
key: "trigger-react-native-android-full-pipeline"
4+
5+
- label: ":pipeline: Upload react native android full pipeline"
6+
depends_on: "trigger-react-native-android-full-pipeline"
7+
agents:
8+
queue: macos
9+
timeout_in_minutes: 5
10+
command: buildkite-agent pipeline upload .buildkite/basic/react-native-android-full-pipeline.yml
Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
steps:
2+
- block: "Trigger react-native android pipeline"
3+
key: "trigger-react-native-android-pipeline"
4+
5+
- label: ":pipeline: Upload react native android pipeline"
6+
depends_on: "trigger-react-native-android-pipeline"
7+
agents:
8+
queue: macos
9+
timeout_in_minutes: 5
10+
command: buildkite-agent pipeline upload .buildkite/basic/react-native-android-pipeline.yml
Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
steps:
2+
- block: "Trigger react-native cli pipeline"
3+
key: "trigger-react-native-cli-pipeline"
4+
5+
- label: ":pipeline: Upload react native cli pipeline"
6+
depends_on: "trigger-react-native-cli-pipeline"
7+
agents:
8+
queue: macos
9+
timeout_in_minutes: 5
10+
command: buildkite-agent pipeline upload .buildkite/basic/react-native-cli-pipeline.yml

0 commit comments

Comments
 (0)