Skip to content

Commit

Permalink
Merge pull request #2134 from bugsnag/release/v7.23.0
Browse files Browse the repository at this point in the history
Release v7.23.0
  • Loading branch information
gingerbenw authored May 9, 2024
2 parents 644e544 + 8c172cd commit 5dcaaa8
Show file tree
Hide file tree
Showing 257 changed files with 63,600 additions and 61,745 deletions.
114 changes: 52 additions & 62 deletions .buildkite/basic/react-native-android-pipeline.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,122 +2,112 @@ steps:

- group: "React Native (Android) Tests"
steps:
#
# Android builder
#
- label: ":docker: Build RN Android Builder image (Java 17, Node 18)"
key: "android-builder-image-java-17-node-18"
- label: ':android: Build RN {{matrix}} test fixture APK (Old Arch)'
key: "build-react-native-android-fixture-old-arch"
timeout_in_minutes: 30
plugins:
- docker-compose#v4.12.0:
build: react-native-android-builder-java-17-node-18
image-repository: 855461928731.dkr.ecr.us-west-1.amazonaws.com/js
cache-from: react-native-android-builder-java-17-node-18:855461928731.dkr.ecr.us-west-1.amazonaws.com/js:ci-${BRANCH_NAME}
- docker-compose#v4.12.0:
push: react-native-android-builder-java-17-node-18:855461928731.dkr.ecr.us-west-1.amazonaws.com/js:ci-${BRANCH_NAME}
retry:
automatic:
- exit_status: "*"
limit: 1

#
# Test fixtures
#
- label: ":android: Build RN 0.73 (Old Arch) apk"
key: "rn-0-73-old-arch-apk"
depends_on:
- "android-builder-image-java-17-node-18"
timeout_in_minutes: 60
agents:
queue: macos-12-arm
env:
REACT_NATIVE_VERSION: "rn0.73"
RN_NEW_ARCH: "false"
ARTEFACT_NAME: "rn0.73-old-arch"
plugins:
- docker-compose#v4.12.0:
pull: react-native-android-builder-java-17-node-18
run: react-native-android-builder-java-17-node-18
JAVA_VERSION: "17"
NODE_VERSION: "18"
RN_VERSION: "{{matrix}}"
BUILD_ANDROID: "true"
artifact_paths:
- build/rn0.73-old-arch.apk
- "test/react-native/features/fixtures/generated/old-arch/**/reactnative.apk"
commands:
- "bundle install"
- "node scripts/generate-react-native-fixture.js"
matrix:
- "0.73"
retry:
automatic:
- exit_status: "*"
limit: 1

- label: ":android: Build RN 0.73 (New Arch) apk"
key: "rn-0-73-new-arch-apk"
depends_on:
- "android-builder-image-java-17-node-18"
timeout_in_minutes: 60
- label: ':android: Build RN {{matrix}} test fixture APK (New Arch)'
key: "build-react-native-android-fixture-new-arch"
timeout_in_minutes: 30
agents:
queue: macos-12-arm
env:
REACT_NATIVE_VERSION: "rn0.73"
RN_NEW_ARCH: "true"
ARTEFACT_NAME: "rn0.73-new-arch"
plugins:
- docker-compose#v4.12.0:
pull: react-native-android-builder-java-17-node-18
run: react-native-android-builder-java-17-node-18
JAVA_VERSION: "17"
NODE_VERSION: "18"
RN_VERSION: "{{matrix}}"
RCT_NEW_ARCH_ENABLED: "true"
BUILD_ANDROID: "true"
artifact_paths:
- build/rn0.73-new-arch.apk
- "test/react-native/features/fixtures/generated/new-arch/**/reactnative.apk"
commands:
- "bundle install"
- "node scripts/generate-react-native-fixture.js"
retry:
automatic:
- exit_status: "*"
limit: 1
matrix:
- "0.73"

#
# End-to-end tests
#
- label: ":bitbar: :android: RN 0.73 (Old Arch) Android 12 end-to-end tests"
depends_on: "rn-0-73-old-arch-apk"
- label: ":bitbar: :android: RN {{matrix}} Android 12 (Old Arch) end-to-end tests"
depends_on: "build-react-native-android-fixture-old-arch"
timeout_in_minutes: 60
plugins:
artifacts#v1.9.0:
download: "build/rn0.73-old-arch.apk"
download: "test/react-native/features/fixtures/generated/old-arch/{{matrix}}/reactnative.apk"
upload: ./test/react-native/maze_output/**/*
docker-compose#v4.7.0:
docker-compose#v4.12.0:
pull: react-native-maze-runner
run: react-native-maze-runner
service-ports: true
command:
- --app=build/rn0.73-old-arch.apk
- --app-activity=com.reactnative.MainActivity
- --app-package=com.reactnative
- --app=/app/features/fixtures/generated/old-arch/{{matrix}}/reactnative.apk
- --farm=bb
- --device=ANDROID_12
- --a11y-locator
- --fail-fast
- --no-tunnel
- --aws-public-ip
retry:
manual:
permit_on_passed: true
env:
SKIP_NAVIGATION_SCENARIOS: "true"
HERMES: "true"
concurrency: 25
concurrency_group: "bitbar"
concurrency_method: eager
matrix:
- "0.73"

- label: ":bitbar: :android: RN 0.73 (New Arch) Android 12 end-to-end tests"
depends_on: "rn-0-73-new-arch-apk"
- label: ":bitbar: :android: RN {{matrix}} Android 12 (New Arch) end-to-end tests"
depends_on: "build-react-native-android-fixture-new-arch"
timeout_in_minutes: 60
plugins:
artifacts#v1.9.0:
download: "build/rn0.73-new-arch.apk"
download: "test/react-native/features/fixtures/generated/new-arch/{{matrix}}/reactnative.apk"
upload: ./test/react-native/maze_output/**/*
docker-compose#v4.7.0:
docker-compose#v4.12.0:
pull: react-native-maze-runner
run: react-native-maze-runner
service-ports: true
command:
- --app=build/rn0.73-new-arch.apk
- --app-activity=com.reactnative.MainActivity
- --app-package=com.reactnative
- --app=/app/features/fixtures/generated/new-arch/{{matrix}}/reactnative.apk
- --farm=bb
- --device=ANDROID_12
- --a11y-locator
- --fail-fast
- --no-tunnel
- --aws-public-ip
retry:
manual:
permit_on_passed: true
env:
SKIP_NAVIGATION_SCENARIOS: "true"
HERMES: "true"
RCT_NEW_ARCH_ENABLED: "true"
concurrency: 25
concurrency_group: "bitbar"
concurrency_method: eager
matrix:
- "0.73"

Loading

0 comments on commit 5dcaaa8

Please sign in to comment.