Skip to content

Commit

Permalink
Merge branch 'integration/v8' into v8-upgrading-node
Browse files Browse the repository at this point in the history
  • Loading branch information
Dan Skinner committed Aug 31, 2023
2 parents 3c87066 + bf75f5b commit 2970552
Show file tree
Hide file tree
Showing 610 changed files with 86,218 additions and 3,356 deletions.
148 changes: 148 additions & 0 deletions .buildkite/basic/browser-pipeline.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,148 @@
steps:

- group: "Browser Tests"
steps:
- label: ":docker: Maze Runner image - BitBar browsers"
key: "browser-maze-runner-bb"
timeout_in_minutes: 20
plugins:
- artifacts#v1.5.0:
download: min_packages.tar
- docker-compose#v4.12.0:
build:
- browser-maze-runner-bb
image-repository: 855461928731.dkr.ecr.us-west-1.amazonaws.com/js
cache-from:
- browser-maze-runner-bb:855461928731.dkr.ecr.us-west-1.amazonaws.com/js:ci-browser-${BRANCH_NAME}
- docker-compose#v4.12.0:
push:
- browser-maze-runner-bb:855461928731.dkr.ecr.us-west-1.amazonaws.com/js:ci-browser-${BRANCH_NAME}

- label: ":docker: Maze Runner image - BrowserStack browsers"
key: "browser-maze-runner-bs"
timeout_in_minutes: 20
plugins:
- artifacts#v1.5.0:
download: min_packages.tar
- docker-compose#v4.12.0:
build:
- browser-maze-runner-bs
image-repository: 855461928731.dkr.ecr.us-west-1.amazonaws.com/js
cache-from:
- browser-maze-runner-bs:855461928731.dkr.ecr.us-west-1.amazonaws.com/js:ci-browser-${BRANCH_NAME}
- docker-compose#v4.12.0:
push:
- browser-maze-runner-bs:855461928731.dkr.ecr.us-west-1.amazonaws.com/js:ci-browser-${BRANCH_NAME}

#
# BitBar tests
#
- label: ":bitbar: {{matrix}} Browser tests (US hub)"
matrix:
- firefox_latest
- chrome_latest
- edge_latest
depends_on: "browser-maze-runner-bb"
timeout_in_minutes: 30
plugins:
docker-compose#v4.12.0:
pull: browser-maze-runner-bb
run: browser-maze-runner-bb
service-ports: true
use-aliases: true
command:
- "--farm=bb"
- "--browser={{matrix}}"
- "--no-tunnel"
- "--aws-public-ip"
artifacts#v1.5.0:
upload:
- "./test/browser/maze_output/failed/**/*"
concurrency: 5
concurrency_group: "bitbar-web"
concurrency_method: eager

# Skipped pending PLAT-10590
# - label: ":bitbar: {{matrix}} Browser tests (EU hub)"
# matrix:
# - chrome_43
# - chrome_72
# - firefox_78
# depends_on: "browser-maze-runner-bb"
# timeout_in_minutes: 30
# plugins:
# docker-compose#v4.12.0:
# pull: browser-maze-runner-bb
# run: browser-maze-runner-bb
# service-ports: true
# use-aliases: true
# command:
# - "--farm=bb"
# - "--browser={{matrix}}"
# - "--no-tunnel"
# - "--aws-public-ip"
# - "--selenium-server=https://eu-desktop-hub.bitbar.com/wd/hub"
# artifacts#v1.5.0:
# upload:
# - "./test/browser/maze_output/failed/**/*"
# concurrency: 5
# concurrency_group: "bitbar-web"
# concurrency_method: eager

- label: ":bitbar: ie_11 Browser tests"
depends_on: "browser-maze-runner-bb"
timeout_in_minutes: 30
plugins:
docker-compose#v4.12.0:
pull: browser-maze-runner-bb
run: browser-maze-runner-bb
service-ports: true
use-aliases: true
command:
- "--farm=bb"
- "--browser=ie_11"
- "--no-tunnel"
- "--aws-public-ip"
artifacts#v1.5.0:
upload:
- "./test/browser/maze_output/failed/**/*"
concurrency: 5
concurrency_group: "bitbar-web"
concurrency_method: eager
env:
HOST: "localhost" # IE11 needs the host set to localhost for some reason

#
# BrowserStack tests
#
- label: ":browserstack: {{matrix}} tests"
matrix:
- ie_8
- ie_9
- ie_10
- edge_17
- safari_10
- safari_16
- ios_10
- ios_15
- android_7
# TODO: Move these to BitBar
- chrome_43
- chrome_72
- firefox_78
depends_on: "browser-maze-runner-bs"
timeout_in_minutes: 30
plugins:
docker-compose#v4.12.0:
pull: browser-maze-runner-bs
run: browser-maze-runner-bs
use-aliases: true
command:
- "--farm=bs"
- "--browser={{matrix}}"
artifacts#v1.5.0:
upload:
- "./test/browser/maze_output/failed/**/*"
concurrency: 2
concurrency_group: "browserstack"
concurrency_method: eager
File renamed without changes.
35 changes: 35 additions & 0 deletions .buildkite/basic/node-pipeline.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,35 @@
steps:

- group: "Node Tests"
steps:
- label: ":docker: Build node maze runner image"
key: "node-maze-runner-image"
timeout_in_minutes: 20
plugins:
- artifacts#v1.5.0:
download: min_packages.tar
build: ${BUILDKITE_TRIGGERED_FROM_BUILD_ID}
- docker-compose#v4.12.0:
build:
- node-maze-runner
image-repository: 855461928731.dkr.ecr.us-west-1.amazonaws.com/js
cache-from:
- node-maze-runner:855461928731.dkr.ecr.us-west-1.amazonaws.com/js:ci-node-${BRANCH_NAME}
- docker-compose#v4.12.0:
push:
- node-maze-runner:855461928731.dkr.ecr.us-west-1.amazonaws.com/js:ci-node-${BRANCH_NAME}

- label: ":node: Node {{matrix}}"
depends_on: "node-maze-runner-image"
timeout_in_minutes: 30
matrix:
- 12
- 14
- 16
- 18
plugins:
docker-compose#v4.12.0:
run: node-maze-runner
use-aliases: true
env:
NODE_VERSION: "{{matrix}}"
107 changes: 107 additions & 0 deletions .buildkite/basic/react-native-android-pipeline.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,107 @@
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#v4.12.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#v4.12.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.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

#
# End-to-end tests
#
- label: ":bitbar: :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: ":bitbar: :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
90 changes: 90 additions & 0 deletions .buildkite/basic/react-native-ios-pipeline.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,90 @@
steps:

- group: "React Native (iOS) Tests"
steps:

#
# Test fixtures
#
- label: ":ios: Build RN 0.72 (Old Arch) ipa"
key: "rn-0-72-old-arch-ipa"
timeout_in_minutes: 60
agents:
queue: "opensource-arm-mac-cocoa-12"
env:
REACT_NATIVE_VERSION: "rn0.72"
LANG: "en_US.UTF-8"
DEVELOPER_DIR: "/Applications/Xcode14.app"
RCT_NEW_ARCH_ENABLED: "0"
ARTEFACT_NAME: "rn0.72-old-arch"
artifact_paths: build/rn0.72-old-arch.ipa
commands:
- npm run test:build-react-native-ios

- label: ":ios: Build RN 0.72 (New Arch) ipa"
key: "rn-0-72-new-arch-ipa"
timeout_in_minutes: 60
agents:
queue: "opensource-arm-mac-cocoa-12"
env:
REACT_NATIVE_VERSION: "rn0.72"
LANG: "en_US.UTF-8"
DEVELOPER_DIR: "/Applications/Xcode14.app"
RCT_NEW_ARCH_ENABLED: "1"
ARTEFACT_NAME: "rn0.72-new-arch"
artifact_paths: build/rn0.72-new-arch.ipa
commands:
- npm run test:build-react-native-ios

#
# End-to-end tests
#
- label: ":ios: RN 0.72 (Old Arch) iOS 14 end-to-end tests"
depends_on: "rn-0-72-old-arch-ipa"
timeout_in_minutes: 60
plugins:
artifacts#v1.5.0:
download: "build/rn0.72-old-arch.ipa"
upload: ./test/react-native/maze_output/**/*
docker-compose#v4.12.0:
pull: react-native-maze-runner
run: react-native-maze-runner
use-aliases: true
command:
- --app=build/rn0.72-old-arch.ipa
- --farm=bs
- --device=IOS_14
- --a11y-locator
- --appium-version=1.18.0
- --fail-fast
env:
SKIP_NAVIGATION_SCENARIOS: "true"
HERMES: "true"
concurrency: 5
concurrency_group: "browserstack-app"
concurrency_method: eager

- label: ":ios: RN 0.72 (New Arch) iOS 14 end-to-end tests"
depends_on: "rn-0-72-new-arch-ipa"
timeout_in_minutes: 60
plugins:
artifacts#v1.5.0:
download: "build/rn0.72-new-arch.ipa"
upload: ./test/react-native/maze_output/**/*
docker-compose#v4.12.0:
pull: react-native-maze-runner
run: react-native-maze-runner
use-aliases: true
command:
- --app=build/rn0.72-new-arch.ipa
- --farm=bs
- --device=IOS_14
- --a11y-locator
- --appium-version=1.18.0
- --fail-fast
env:
SKIP_NAVIGATION_SCENARIOS: "true"
HERMES: "true"
concurrency: 5
concurrency_group: "browserstack-app"
concurrency_method: eager
Loading

0 comments on commit 2970552

Please sign in to comment.