forked from bugsnag/bugsnag-js
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Split RN pipeline into iOS and Android parts
- Loading branch information
1 parent
739d4c3
commit 34373db
Showing
3 changed files
with
369 additions
and
352 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,355 @@ | ||
steps: | ||
|
||
- group: "React Native (Android) Tests" | ||
steps: | ||
# | ||
# Android builder | ||
# | ||
- label: ":docker: Build RN Android Builder image" | ||
key: "android-builder-image" | ||
timeout_in_minutes: 30 | ||
plugins: | ||
- docker-compose#v3.9.0: | ||
build: react-native-android-builder | ||
image-repository: 855461928731.dkr.ecr.us-west-1.amazonaws.com/js | ||
cache-from: react-native-android-builder:855461928731.dkr.ecr.us-west-1.amazonaws.com/js:ci-${BRANCH_NAME} | ||
- docker-compose#v3.9.0: | ||
push: react-native-android-builder:855461928731.dkr.ecr.us-west-1.amazonaws.com/js:ci-${BRANCH_NAME} | ||
|
||
# | ||
# Test fixtures | ||
# | ||
- label: ":android: Build RN 0.60 apk" | ||
key: "rn-0-60-apk" | ||
depends_on: | ||
- "android-builder-image" | ||
timeout_in_minutes: 60 | ||
env: | ||
REACT_NATIVE_VERSION: "rn0.60" | ||
LANG: "en_US.UTF-8" | ||
plugins: | ||
- docker-compose#v3.9.0: | ||
run: react-native-android-builder | ||
artifact_paths: | ||
- build/rn0.60.apk | ||
|
||
- label: ":android: Build RN 0.66 apk" | ||
key: "rn-0-66-apk" | ||
depends_on: | ||
- "android-builder-image" | ||
timeout_in_minutes: 60 | ||
env: | ||
REACT_NATIVE_VERSION: "rn0.66" | ||
plugins: | ||
- docker-compose#v3.9.0: | ||
run: react-native-android-builder | ||
artifact_paths: | ||
- build/rn0.66.apk | ||
|
||
- label: ":android: Build RN 0.67 apk" | ||
key: "rn-0-67-apk" | ||
depends_on: | ||
- "android-builder-image" | ||
timeout_in_minutes: 60 | ||
env: | ||
REACT_NATIVE_VERSION: "rn0.67" | ||
plugins: | ||
- docker-compose#v3.9.0: | ||
run: react-native-android-builder | ||
artifact_paths: | ||
- build/rn0.67.apk | ||
|
||
- label: ":android: Build RN 0.68 Hermes apk" | ||
key: "rn-0-68-hermes-apk" | ||
depends_on: | ||
- "android-builder-image" | ||
timeout_in_minutes: 60 | ||
env: | ||
REACT_NATIVE_VERSION: "rn0.68-hermes" | ||
plugins: | ||
- docker-compose#v3.9.0: | ||
run: react-native-android-builder | ||
artifact_paths: | ||
- build/rn0.68-hermes.apk | ||
|
||
- label: ":android: Build RN 0.69 apk" | ||
key: "rn-0-69-apk" | ||
depends_on: | ||
- "android-builder-image" | ||
timeout_in_minutes: 60 | ||
env: | ||
REACT_NATIVE_VERSION: "rn0.69" | ||
plugins: | ||
- docker-compose#v3.9.0: | ||
run: react-native-android-builder | ||
artifact_paths: | ||
- build/rn0.69.apk | ||
|
||
- label: ":android: Build react-navigation 0.60 apk" | ||
key: "react-navigation-0-60-apk" | ||
depends_on: | ||
- "android-builder-image" | ||
timeout_in_minutes: 60 | ||
env: | ||
REACT_NATIVE_VERSION: "rn0.60" | ||
JS_SOURCE_DIR: "react_navigation_js" | ||
ARTEFACT_NAME: "r_navigation_0.60" | ||
plugins: | ||
- docker-compose#v3.9.0: | ||
run: react-native-android-builder | ||
artifact_paths: | ||
- build/r_navigation_0.60.apk | ||
|
||
- label: ":android: Build react-navigation 0.66 apk" | ||
key: "react-navigation-0-66-apk" | ||
depends_on: | ||
- "android-builder-image" | ||
timeout_in_minutes: 60 | ||
env: | ||
REACT_NATIVE_VERSION: "rn0.66" | ||
JS_SOURCE_DIR: "react_navigation_js" | ||
ARTEFACT_NAME: "r_navigation_0.66" | ||
plugins: | ||
- docker-compose#v3.9.0: | ||
run: react-native-android-builder | ||
artifact_paths: | ||
- build/r_navigation_0.66.apk | ||
|
||
- label: ":android: Build react-native-navigation 0.60 apk" | ||
key: "react-native-navigation-0-60-apk" | ||
depends_on: | ||
- "android-builder-image" | ||
timeout_in_minutes: 60 | ||
env: | ||
REACT_NATIVE_VERSION: "rn0.60" | ||
JS_SOURCE_DIR: "react_native_navigation_js" | ||
ARTEFACT_NAME: "r_native_navigation_0.60" | ||
plugins: | ||
- docker-compose#v3.9.0: | ||
run: react-native-android-builder | ||
artifact_paths: | ||
- build/r_native_navigation_0.60.apk | ||
|
||
- label: ":android: Build react-native-navigation 0.66 apk" | ||
key: "react-native-navigation-0-66-apk" | ||
depends_on: | ||
- "android-builder-image" | ||
timeout_in_minutes: 60 | ||
env: | ||
REACT_NATIVE_VERSION: "rn0.66" | ||
JS_SOURCE_DIR: "react_native_navigation_js" | ||
ARTEFACT_NAME: "r_native_navigation_0.66" | ||
plugins: | ||
- docker-compose#v3.9.0: | ||
run: react-native-android-builder | ||
artifact_paths: | ||
- build/r_native_navigation_0.66.apk | ||
|
||
# | ||
# End-to-end tests | ||
# | ||
- label: ":android: RN 0.60 Android 11 end-to-end tests" | ||
depends_on: "rn-0-60-apk" | ||
timeout_in_minutes: 60 | ||
plugins: | ||
artifacts#v1.5.0: | ||
download: "build/rn0.60.apk" | ||
upload: ./test/react-native/maze_output/**/* | ||
docker-compose#v3.9.0: | ||
pull: react-native-maze-runner | ||
run: react-native-maze-runner | ||
use-aliases: true | ||
command: | ||
- --app=build/rn0.60.apk | ||
- --farm=bs | ||
- --device=ANDROID_11_0 | ||
- --a11y-locator | ||
- --fail-fast | ||
env: | ||
SKIP_NAVIGATION_SCENARIOS: "true" | ||
concurrency: 24 | ||
concurrency_group: "browserstack-app" | ||
concurrency_method: eager | ||
|
||
- label: ":android: RN 0.66 Android 11 end-to-end tests" | ||
depends_on: "rn-0-66-apk" | ||
timeout_in_minutes: 60 | ||
plugins: | ||
artifacts#v1.5.0: | ||
download: "build/rn0.66.apk" | ||
upload: ./test/react-native/maze_output/**/* | ||
docker-compose#v3.9.0: | ||
pull: react-native-maze-runner | ||
run: react-native-maze-runner | ||
use-aliases: true | ||
command: | ||
- --app=build/rn0.66.apk | ||
- --farm=bs | ||
- --device=ANDROID_11_0 | ||
- --a11y-locator | ||
- --fail-fast | ||
env: | ||
SKIP_NAVIGATION_SCENARIOS: "true" | ||
concurrency: 24 | ||
concurrency_group: "browserstack-app" | ||
concurrency_method: eager | ||
|
||
- label: ":android: RN 0.67 Android 11 end-to-end tests" | ||
depends_on: "rn-0-67-apk" | ||
timeout_in_minutes: 60 | ||
plugins: | ||
artifacts#v1.5.0: | ||
download: "build/rn0.67.apk" | ||
upload: ./test/react-native/maze_output/**/* | ||
docker-compose#v3.9.0: | ||
pull: react-native-maze-runner | ||
run: react-native-maze-runner | ||
use-aliases: true | ||
command: | ||
- --app=build/rn0.67.apk | ||
- --farm=bs | ||
- --device=ANDROID_11_0 | ||
- --a11y-locator | ||
- --fail-fast | ||
env: | ||
SKIP_NAVIGATION_SCENARIOS: "true" | ||
HERMES: "true" | ||
concurrency: 24 | ||
concurrency_group: "browserstack-app" | ||
concurrency_method: eager | ||
|
||
- label: ":android: RN 0.69 Android 11 end-to-end tests" | ||
depends_on: "rn-0-69-apk" | ||
timeout_in_minutes: 60 | ||
plugins: | ||
artifacts#v1.5.0: | ||
download: "build/rn0.69.apk" | ||
upload: ./test/react-native/maze_output/**/* | ||
docker-compose#v3.9.0: | ||
pull: react-native-maze-runner | ||
run: react-native-maze-runner | ||
use-aliases: true | ||
command: | ||
- --app=build/rn0.69.apk | ||
- --farm=bs | ||
- --device=ANDROID_11_0 | ||
- --a11y-locator | ||
- --fail-fast | ||
env: | ||
SKIP_NAVIGATION_SCENARIOS: "true" | ||
HERMES: "true" | ||
concurrency: 24 | ||
concurrency_group: "browserstack-app" | ||
concurrency_method: eager | ||
|
||
- label: ":android: RN 0.68 (Hermes) Android 12 end-to-end tests" | ||
depends_on: "rn-0-68-hermes-apk" | ||
timeout_in_minutes: 60 | ||
plugins: | ||
artifacts#v1.5.0: | ||
download: "build/rn0.68-hermes.apk" | ||
upload: ./test/react-native/maze_output/**/* | ||
docker-compose#v3.9.0: | ||
pull: react-native-maze-runner | ||
run: react-native-maze-runner | ||
use-aliases: true | ||
command: | ||
- --app=build/rn0.68-hermes.apk | ||
- --farm=bs | ||
- --device=ANDROID_12_0 | ||
- --a11y-locator | ||
- --fail-fast | ||
env: | ||
SKIP_NAVIGATION_SCENARIOS: "true" | ||
HERMES: "true" | ||
concurrency: 24 | ||
concurrency_group: "browserstack-app" | ||
concurrency_method: eager | ||
|
||
- label: ":android: react-navigation 0.60 Android 11 end-to-end tests" | ||
depends_on: "react-navigation-0-60-apk" | ||
timeout_in_minutes: 60 | ||
plugins: | ||
artifacts#v1.5.0: | ||
download: "build/r_navigation_0.60.apk" | ||
upload: ./test/react-native/maze_output/**/* | ||
docker-compose#v3.9.0: | ||
pull: react-native-maze-runner | ||
run: react-native-maze-runner | ||
use-aliases: true | ||
command: | ||
- --app=build/r_navigation_0.60.apk | ||
- --farm=bs | ||
- --device=ANDROID_11_0 | ||
- --a11y-locator | ||
- --fail-fast | ||
- features/navigation.feature | ||
concurrency: 24 | ||
concurrency_group: "browserstack-app" | ||
concurrency_method: eager | ||
|
||
- label: ":android: react-navigation 0.66 Android 11 end-to-end tests" | ||
depends_on: "react-navigation-0-66-apk" | ||
timeout_in_minutes: 60 | ||
plugins: | ||
artifacts#v1.5.0: | ||
download: "build/r_navigation_0.66.apk" | ||
upload: ./test/react-native/maze_output/**/* | ||
docker-compose#v3.9.0: | ||
pull: react-native-maze-runner | ||
run: react-native-maze-runner | ||
use-aliases: true | ||
command: | ||
- --app=build/r_navigation_0.66.apk | ||
- --farm=bs | ||
- --device=ANDROID_11_0 | ||
- --a11y-locator | ||
- --fail-fast | ||
- features/navigation.feature | ||
concurrency: 24 | ||
concurrency_group: "browserstack-app" | ||
concurrency_method: eager | ||
|
||
- label: ":android: react-native-navigation 0.60 Android 11 end-to-end tests" | ||
depends_on: "react-native-navigation-0-60-apk" | ||
timeout_in_minutes: 60 | ||
plugins: | ||
artifacts#v1.5.0: | ||
download: "build/r_native_navigation_0.60.apk" | ||
upload: ./test/react-native/maze_output/**/* | ||
docker-compose#v3.9.0: | ||
pull: react-native-maze-runner | ||
run: react-native-maze-runner | ||
use-aliases: true | ||
command: | ||
- --app=build/r_native_navigation_0.60.apk | ||
- --farm=bs | ||
- --device=ANDROID_11_0 | ||
- --a11y-locator | ||
- --fail-fast | ||
- features/navigation.feature | ||
concurrency: 24 | ||
concurrency_group: "browserstack-app" | ||
concurrency_method: eager | ||
|
||
- label: ":android: react-native-navigation 0.66 Android 11 end-to-end tests" | ||
depends_on: "react-native-navigation-0-66-apk" | ||
timeout_in_minutes: 60 | ||
plugins: | ||
artifacts#v1.5.0: | ||
download: "build/r_native_navigation_0.66.apk" | ||
upload: ./test/react-native/maze_output/**/* | ||
docker-compose#v3.9.0: | ||
pull: react-native-maze-runner | ||
run: react-native-maze-runner | ||
use-aliases: true | ||
command: | ||
- --app=build/r_native_navigation_0.66.apk | ||
- --farm=bs | ||
- --device=ANDROID_11_0 | ||
- --a11y-locator | ||
- --fail-fast | ||
- features/navigation.feature | ||
concurrency: 24 | ||
concurrency_group: "browserstack-app" | ||
concurrency_method: eager |
Oops, something went wrong.