Skip to content

Commit

Permalink
Merge pull request #1996 from bugsnag/PLAT-10600/rn-072-tests
Browse files Browse the repository at this point in the history
Add RN 0.72 test fixture
  • Loading branch information
yousif-bugsnag authored Aug 11, 2023
2 parents 8f52045 + 5793ffb commit 9a53258
Show file tree
Hide file tree
Showing 126 changed files with 37,341 additions and 6,941 deletions.
141 changes: 138 additions & 3 deletions .buildkite/react-native-android-pipeline.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,7 @@ steps:
LANG: "en_US.UTF-8"
plugins:
- docker-compose#v4.12.0:
pull: react-native-android-builder
run: react-native-android-builder
artifact_paths:
- build/rn0.60.apk
Expand All @@ -42,6 +43,7 @@ steps:
REACT_NATIVE_VERSION: "rn0.66"
plugins:
- docker-compose#v4.12.0:
pull: react-native-android-builder
run: react-native-android-builder
artifact_paths:
- build/rn0.66.apk
Expand All @@ -55,6 +57,7 @@ steps:
REACT_NATIVE_VERSION: "rn0.67"
plugins:
- docker-compose#v4.12.0:
pull: react-native-android-builder
run: react-native-android-builder
artifact_paths:
- build/rn0.67.apk
Expand All @@ -68,6 +71,7 @@ steps:
REACT_NATIVE_VERSION: "rn0.68-hermes"
plugins:
- docker-compose#v4.12.0:
pull: react-native-android-builder
run: react-native-android-builder
artifact_paths:
- build/rn0.68-hermes.apk
Expand All @@ -81,24 +85,75 @@ steps:
REACT_NATIVE_VERSION: "rn0.69"
plugins:
- docker-compose#v4.12.0:
pull: react-native-android-builder
run: react-native-android-builder
artifact_paths:
- build/rn0.69.apk

- label: ":android: Build RN 0.71 (Old Arch) apk"
key: "rn-0-71-old-arch-apk"
depends_on:
- "android-builder-image"
timeout_in_minutes: 60
env:
REACT_NATIVE_VERSION: "rn0.71"
RN_NEW_ARCH: "false"
ARTEFACT_NAME: "rn0.71-old-arch"
plugins:
- docker-compose#v4.12.0:
pull: react-native-android-builder
run: react-native-android-builder
artifact_paths:
- build/rn0.71-old-arch.apk

- label: ":android: Build RN 0.71 (New Arch) apk"
key: "rn-0-71-new-arch-apk"
depends_on:
- "android-builder-image"
timeout_in_minutes: 60
env:
REACT_NATIVE_VERSION: "rn0.71-new-arch"
REACT_NATIVE_VERSION: "rn0.71"
RN_NEW_ARCH: "true"
ARTEFACT_NAME: "rn0.71-new-arch"
plugins:
- docker-compose#v4.12.0:
pull: react-native-android-builder
run: react-native-android-builder
artifact_paths:
- build/rn0.71-new-arch.apk

- label: ":android: Build RN 0.72 (Old Arch) apk"
key: "rn-0-72-old-arch-apk"
depends_on:
- "android-builder-image"
timeout_in_minutes: 60
env:
REACT_NATIVE_VERSION: "rn0.72"
RN_NEW_ARCH: "false"
ARTEFACT_NAME: "rn0.72-old-arch"
plugins:
- docker-compose#v4.12.0:
pull: react-native-android-builder
run: react-native-android-builder
artifact_paths:
- build/rn0.72-old-arch.apk

- label: ":android: Build RN 0.72 (New Arch) apk"
key: "rn-0-72-new-arch-apk"
depends_on:
- "android-builder-image"
timeout_in_minutes: 60
env:
REACT_NATIVE_VERSION: "rn0.72"
RN_NEW_ARCH: "true"
ARTEFACT_NAME: "rn0.72-new-arch"
plugins:
- docker-compose#v4.12.0:
pull: react-native-android-builder
run: react-native-android-builder
artifact_paths:
- build/rn0.72-new-arch.apk

- label: ":android: Build react-navigation 0.60 apk"
key: "react-navigation-0-60-apk"
depends_on:
Expand All @@ -110,6 +165,7 @@ steps:
ARTEFACT_NAME: "r_navigation_0.60"
plugins:
- docker-compose#v4.12.0:
pull: react-native-android-builder
run: react-native-android-builder
artifact_paths:
- build/r_navigation_0.60.apk
Expand All @@ -125,6 +181,7 @@ steps:
ARTEFACT_NAME: "r_navigation_0.69"
plugins:
- docker-compose#v4.12.0:
pull: react-native-android-builder
run: react-native-android-builder
artifact_paths:
- build/r_navigation_0.69.apk
Expand All @@ -140,6 +197,7 @@ steps:
ARTEFACT_NAME: "r_native_navigation_0.60"
plugins:
- docker-compose#v4.12.0:
pull: react-native-android-builder
run: react-native-android-builder
artifact_paths:
- build/r_native_navigation_0.60.apk
Expand All @@ -155,6 +213,7 @@ steps:
ARTEFACT_NAME: "r_native_navigation_0.66"
plugins:
- docker-compose#v4.12.0:
pull: react-native-android-builder
run: react-native-android-builder
artifact_paths:
- build/r_native_navigation_0.66.apk
Expand Down Expand Up @@ -233,7 +292,6 @@ steps:
- --aws-public-ip
env:
SKIP_NAVIGATION_SCENARIOS: "true"
HERMES: "true"
concurrency: 25
concurrency_group: 'bitbar-app'
concurrency_method: eager
Expand All @@ -259,7 +317,6 @@ steps:
- --aws-public-ip
env:
SKIP_NAVIGATION_SCENARIOS: "true"
HERMES: "true"
concurrency: 25
concurrency_group: 'bitbar-app'
concurrency_method: eager
Expand Down Expand Up @@ -290,6 +347,32 @@ steps:
concurrency_group: 'bitbar-app'
concurrency_method: eager

- label: ":android: RN 0.71 (Old Arch) Android 12 end-to-end tests"
depends_on: "rn-0-71-old-arch-apk"
timeout_in_minutes: 60
plugins:
artifacts#v1.9.0:
download: "build/rn0.71-old-arch.apk"
upload: ./test/react-native/maze_output/**/*
docker-compose#v4.7.0:
pull: react-native-maze-runner
run: react-native-maze-runner
service-ports: true
command:
- --app=build/rn0.71-old-arch.apk
- --farm=bb
- --device=ANDROID_12
- --a11y-locator
- --fail-fast
- --no-tunnel
- --aws-public-ip
env:
SKIP_NAVIGATION_SCENARIOS: "true"
HERMES: "true"
concurrency: 25
concurrency_group: "bitbar-app"
concurrency_method: eager

- label: ":android: RN 0.71 (New Arch) Android 12 end-to-end tests"
depends_on: "rn-0-71-new-arch-apk"
timeout_in_minutes: 60
Expand All @@ -316,6 +399,58 @@ steps:
concurrency_group: "bitbar-app"
concurrency_method: eager

- label: ":android: RN 0.72 (Old Arch) Android 12 end-to-end tests"
depends_on: "rn-0-72-old-arch-apk"
timeout_in_minutes: 60
plugins:
artifacts#v1.9.0:
download: "build/rn0.72-old-arch.apk"
upload: ./test/react-native/maze_output/**/*
docker-compose#v4.7.0:
pull: react-native-maze-runner
run: react-native-maze-runner
service-ports: true
command:
- --app=build/rn0.72-old-arch.apk
- --farm=bb
- --device=ANDROID_12
- --a11y-locator
- --fail-fast
- --no-tunnel
- --aws-public-ip
env:
SKIP_NAVIGATION_SCENARIOS: "true"
HERMES: "true"
concurrency: 25
concurrency_group: "bitbar-app"
concurrency_method: eager

- label: ":android: RN 0.72 (New Arch) Android 12 end-to-end tests"
depends_on: "rn-0-72-new-arch-apk"
timeout_in_minutes: 60
plugins:
artifacts#v1.9.0:
download: "build/rn0.72-new-arch.apk"
upload: ./test/react-native/maze_output/**/*
docker-compose#v4.7.0:
pull: react-native-maze-runner
run: react-native-maze-runner
service-ports: true
command:
- --app=build/rn0.72-new-arch.apk
- --farm=bb
- --device=ANDROID_12
- --a11y-locator
- --fail-fast
- --no-tunnel
- --aws-public-ip
env:
SKIP_NAVIGATION_SCENARIOS: "true"
HERMES: "true"
concurrency: 25
concurrency_group: "bitbar-app"
concurrency_method: eager

- label: ":bitbar: :android: react-navigation 0.60 Android end-to-end tests"
depends_on: "react-navigation-0-60-apk"
timeout_in_minutes: 60
Expand Down
Loading

0 comments on commit 9a53258

Please sign in to comment.