diff --git a/.buildkite/full/pipeline.full.yml b/.buildkite/full/pipeline.full.yml index 24798c23b..4cc41f7ab 100644 --- a/.buildkite/full/pipeline.full.yml +++ b/.buildkite/full/pipeline.full.yml @@ -21,12 +21,12 @@ steps: # # Upload full React Native pipelines # - # - label: ":large_blue_circle: :large_blue_circle: :large_blue_circle: FULL REACT NATIVE (ANDROID) STEPS :large_blue_circle: :large_blue_circle: :large_blue_circle:" - # depends_on: - # - "publish-js" - # - "android-builder-base-java-11" - # commands: - # - buildkite-agent pipeline upload .buildkite/full/react-native-android-pipeline.full.yml + - label: ":large_blue_circle: :large_blue_circle: :large_blue_circle: FULL REACT NATIVE (ANDROID) STEPS :large_blue_circle: :large_blue_circle: :large_blue_circle:" + depends_on: + - "publish-js" + - "android-builder-base-java-11" + commands: + - buildkite-agent pipeline upload .buildkite/full/react-native-android-pipeline.full.yml - label: ":large_blue_circle: :large_blue_circle: :large_blue_circle: FULL REACT NATIVE (IOS) STEPS :large_blue_circle: :large_blue_circle: :large_blue_circle:" depends_on: diff --git a/.buildkite/full/react-native-android-pipeline.full.yml b/.buildkite/full/react-native-android-pipeline.full.yml index 615e59f8a..239a4948c 100644 --- a/.buildkite/full/react-native-android-pipeline.full.yml +++ b/.buildkite/full/react-native-android-pipeline.full.yml @@ -23,127 +23,127 @@ steps: # # Test fixtures # - - label: ":android: Build RN 0.66 apk" - key: "rn-0-66-apk" - depends_on: - - "android-builder-image-java-11-node-16" - timeout_in_minutes: 60 - env: - REACT_NATIVE_VERSION: "rn0.66" - plugins: - - docker-compose#v4.12.0: - pull: react-native-android-builder-java-11-node-16 - run: react-native-android-builder-java-11-node-16 - artifact_paths: - - build/rn0.66.apk - retry: - automatic: - - exit_status: "*" - limit: 1 + # - label: ":android: Build RN 0.66 apk" + # key: "rn-0-66-apk" + # depends_on: + # - "android-builder-image-java-11-node-16" + # timeout_in_minutes: 60 + # env: + # REACT_NATIVE_VERSION: "rn0.66" + # plugins: + # - docker-compose#v4.12.0: + # pull: react-native-android-builder-java-11-node-16 + # run: react-native-android-builder-java-11-node-16 + # artifact_paths: + # - build/rn0.66.apk + # retry: + # automatic: + # - exit_status: "*" + # limit: 1 - - label: ":android: Build RN 0.67 apk" - key: "rn-0-67-apk" - depends_on: - - "android-builder-image-java-11-node-16" - timeout_in_minutes: 60 - env: - REACT_NATIVE_VERSION: "rn0.67" - plugins: - - docker-compose#v4.12.0: - pull: react-native-android-builder-java-11-node-16 - run: react-native-android-builder-java-11-node-16 - artifact_paths: - - build/rn0.67.apk - retry: - automatic: - - exit_status: "*" - limit: 1 + # - label: ":android: Build RN 0.67 apk" + # key: "rn-0-67-apk" + # depends_on: + # - "android-builder-image-java-11-node-16" + # timeout_in_minutes: 60 + # env: + # REACT_NATIVE_VERSION: "rn0.67" + # plugins: + # - docker-compose#v4.12.0: + # pull: react-native-android-builder-java-11-node-16 + # run: react-native-android-builder-java-11-node-16 + # artifact_paths: + # - build/rn0.67.apk + # retry: + # automatic: + # - exit_status: "*" + # limit: 1 - - label: ":android: Build RN 0.68 Hermes apk" - key: "rn-0-68-hermes-apk" - depends_on: - - "android-builder-image-java-11-node-16" - timeout_in_minutes: 60 - env: - REACT_NATIVE_VERSION: "rn0.68-hermes" - plugins: - - docker-compose#v4.12.0: - pull: react-native-android-builder-java-11-node-16 - run: react-native-android-builder-java-11-node-16 - artifact_paths: - - build/rn0.68-hermes.apk - retry: - automatic: - - exit_status: "*" - limit: 1 + # - label: ":android: Build RN 0.68 Hermes apk" + # key: "rn-0-68-hermes-apk" + # depends_on: + # - "android-builder-image-java-11-node-16" + # timeout_in_minutes: 60 + # env: + # REACT_NATIVE_VERSION: "rn0.68-hermes" + # plugins: + # - docker-compose#v4.12.0: + # pull: react-native-android-builder-java-11-node-16 + # run: react-native-android-builder-java-11-node-16 + # artifact_paths: + # - build/rn0.68-hermes.apk + # retry: + # automatic: + # - exit_status: "*" + # limit: 1 - - label: ":android: Build RN 0.69 apk" - key: "rn-0-69-apk" - depends_on: - - "android-builder-image-java-11-node-16" - timeout_in_minutes: 60 - env: - REACT_NATIVE_VERSION: "rn0.69" - plugins: - - docker-compose#v4.12.0: - pull: react-native-android-builder-java-11-node-16 - run: react-native-android-builder-java-11-node-16 - artifact_paths: - - build/rn0.69.apk - retry: - automatic: - - exit_status: "*" - limit: 1 + # - label: ":android: Build RN 0.69 apk" + # key: "rn-0-69-apk" + # depends_on: + # - "android-builder-image-java-11-node-16" + # timeout_in_minutes: 60 + # env: + # REACT_NATIVE_VERSION: "rn0.69" + # plugins: + # - docker-compose#v4.12.0: + # pull: react-native-android-builder-java-11-node-16 + # run: react-native-android-builder-java-11-node-16 + # artifact_paths: + # - build/rn0.69.apk + # retry: + # automatic: + # - exit_status: "*" + # limit: 1 - - label: ':android: Build RN {{matrix}} test fixture APK (Old Arch)' - key: "build-react-native-android-fixture-old-arch-full" - timeout_in_minutes: 30 - agents: - queue: macos-14 - env: - JAVA_VERSION: "17" - NODE_VERSION: "18" - RN_VERSION: "{{matrix}}" - RCT_NEW_ARCH_ENABLED: "0" - BUILD_ANDROID: "true" - artifact_paths: - - "test/react-native/features/fixtures/generated/old-arch/**/reactnative.apk" - commands: - - "bundle install" - - "node scripts/generate-react-native-fixture.js" - matrix: - - "0.71" - - "0.72" - - "0.73" - retry: - automatic: - - exit_status: "*" - limit: 1 + # - label: ':android: Build RN {{matrix}} test fixture APK (Old Arch)' + # key: "build-react-native-android-fixture-old-arch-full" + # timeout_in_minutes: 30 + # agents: + # queue: macos-14 + # env: + # JAVA_VERSION: "17" + # NODE_VERSION: "18" + # RN_VERSION: "{{matrix}}" + # RCT_NEW_ARCH_ENABLED: "0" + # BUILD_ANDROID: "true" + # artifact_paths: + # - "test/react-native/features/fixtures/generated/old-arch/**/reactnative.apk" + # commands: + # - "bundle install" + # - "node scripts/generate-react-native-fixture.js" + # matrix: + # - "0.71" + # - "0.72" + # - "0.73" + # retry: + # automatic: + # - exit_status: "*" + # limit: 1 - - label: ':android: Build RN {{matrix}} test fixture APK (New Arch)' - key: "build-react-native-android-fixture-new-arch-full" - timeout_in_minutes: 30 - agents: - queue: macos-14 - env: - JAVA_VERSION: "17" - NODE_VERSION: "18" - RN_VERSION: "{{matrix}}" - RCT_NEW_ARCH_ENABLED: "1" - BUILD_ANDROID: "true" - artifact_paths: - - "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.71" - - "0.72" - - "0.73" + # - label: ':android: Build RN {{matrix}} test fixture APK (New Arch)' + # key: "build-react-native-android-fixture-new-arch-full" + # timeout_in_minutes: 30 + # agents: + # queue: macos-14 + # env: + # JAVA_VERSION: "17" + # NODE_VERSION: "18" + # RN_VERSION: "{{matrix}}" + # RCT_NEW_ARCH_ENABLED: "1" + # BUILD_ANDROID: "true" + # artifact_paths: + # - "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.71" + # - "0.72" + # - "0.73" - label: ':android: Build react-native-navigation {{matrix}} test fixture APK (Old Arch)' key: "build-react-native-navigation-android-fixture-old-arch" @@ -198,188 +198,188 @@ steps: # # End-to-end tests # - - label: ":bitbar: :android: RN 0.66 Android end-to-end tests" - depends_on: "rn-0-66-apk" - timeout_in_minutes: 60 - plugins: - artifacts#v1.9.0: - download: "build/rn0.66.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.66.apk - - --app-activity=com.reactnative.MainActivity - - --app-package=com.reactnative - - --farm=bb - - --device=ANDROID_10|ANDROID_11|ANDROID_12 - - --appium-version=1.22 - - --a11y-locator - - --fail-fast - - --no-tunnel - - --aws-public-ip - env: - SKIP_NAVIGATION_SCENARIOS: "true" - concurrency: 25 - concurrency_group: 'bitbar' - concurrency_method: eager + # - label: ":bitbar: :android: RN 0.66 Android end-to-end tests" + # depends_on: "rn-0-66-apk" + # timeout_in_minutes: 60 + # plugins: + # artifacts#v1.9.0: + # download: "build/rn0.66.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.66.apk + # - --app-activity=com.reactnative.MainActivity + # - --app-package=com.reactnative + # - --farm=bb + # - --device=ANDROID_10|ANDROID_11|ANDROID_12 + # - --appium-version=1.22 + # - --a11y-locator + # - --fail-fast + # - --no-tunnel + # - --aws-public-ip + # env: + # SKIP_NAVIGATION_SCENARIOS: "true" + # concurrency: 25 + # concurrency_group: 'bitbar' + # concurrency_method: eager - - label: ":bitbar: :android: RN 0.67 Android end-to-end tests" - depends_on: "rn-0-67-apk" - timeout_in_minutes: 60 - plugins: - artifacts#v1.9.0: - download: "build/rn0.67.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.67.apk - - --app-activity=com.reactnative.MainActivity - - --app-package=com.reactnative - - --farm=bb - - --device=ANDROID_10|ANDROID_11|ANDROID_12 - - --appium-version=1.22 - - --a11y-locator - - --fail-fast - - --no-tunnel - - --aws-public-ip - env: - SKIP_NAVIGATION_SCENARIOS: "true" - HERMES: "true" - concurrency: 25 - concurrency_group: 'bitbar' - concurrency_method: eager + # - label: ":bitbar: :android: RN 0.67 Android end-to-end tests" + # depends_on: "rn-0-67-apk" + # timeout_in_minutes: 60 + # plugins: + # artifacts#v1.9.0: + # download: "build/rn0.67.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.67.apk + # - --app-activity=com.reactnative.MainActivity + # - --app-package=com.reactnative + # - --farm=bb + # - --device=ANDROID_10|ANDROID_11|ANDROID_12 + # - --appium-version=1.22 + # - --a11y-locator + # - --fail-fast + # - --no-tunnel + # - --aws-public-ip + # env: + # SKIP_NAVIGATION_SCENARIOS: "true" + # HERMES: "true" + # concurrency: 25 + # concurrency_group: 'bitbar' + # concurrency_method: eager - - label: ":bitbar: :android: RN 0.69 Android end-to-end tests" - depends_on: "rn-0-69-apk" - timeout_in_minutes: 60 - plugins: - artifacts#v1.9.0: - download: "build/rn0.69.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.69.apk - - --app-activity=com.reactnative.MainActivity - - --app-package=com.reactnative - - --farm=bb - - --device=ANDROID_10|ANDROID_11|ANDROID_12 - - --appium-version=1.22 - - --a11y-locator - - --fail-fast - - --no-tunnel - - --aws-public-ip - env: - SKIP_NAVIGATION_SCENARIOS: "true" - HERMES: "true" - concurrency: 25 - concurrency_group: 'bitbar' - concurrency_method: eager + # - label: ":bitbar: :android: RN 0.69 Android end-to-end tests" + # depends_on: "rn-0-69-apk" + # timeout_in_minutes: 60 + # plugins: + # artifacts#v1.9.0: + # download: "build/rn0.69.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.69.apk + # - --app-activity=com.reactnative.MainActivity + # - --app-package=com.reactnative + # - --farm=bb + # - --device=ANDROID_10|ANDROID_11|ANDROID_12 + # - --appium-version=1.22 + # - --a11y-locator + # - --fail-fast + # - --no-tunnel + # - --aws-public-ip + # env: + # SKIP_NAVIGATION_SCENARIOS: "true" + # HERMES: "true" + # concurrency: 25 + # concurrency_group: 'bitbar' + # concurrency_method: eager - - label: ":bitbar: :android: RN 0.68 (Hermes) Android end-to-end tests" - depends_on: "rn-0-68-hermes-apk" - timeout_in_minutes: 60 - plugins: - artifacts#v1.9.0: - download: "build/rn0.68-hermes.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.68-hermes.apk - - --app-activity=com.reactnative.MainActivity - - --app-package=com.reactnative - - --farm=bb - - --device=ANDROID_10|ANDROID_11|ANDROID_12 - - --appium-version=1.22 - - --a11y-locator - - --fail-fast - - --no-tunnel - - --aws-public-ip - env: - SKIP_NAVIGATION_SCENARIOS: "true" - HERMES: "true" - concurrency: 25 - concurrency_group: 'bitbar' - concurrency_method: eager + # - label: ":bitbar: :android: RN 0.68 (Hermes) Android end-to-end tests" + # depends_on: "rn-0-68-hermes-apk" + # timeout_in_minutes: 60 + # plugins: + # artifacts#v1.9.0: + # download: "build/rn0.68-hermes.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.68-hermes.apk + # - --app-activity=com.reactnative.MainActivity + # - --app-package=com.reactnative + # - --farm=bb + # - --device=ANDROID_10|ANDROID_11|ANDROID_12 + # - --appium-version=1.22 + # - --a11y-locator + # - --fail-fast + # - --no-tunnel + # - --aws-public-ip + # env: + # SKIP_NAVIGATION_SCENARIOS: "true" + # HERMES: "true" + # concurrency: 25 + # concurrency_group: 'bitbar' + # concurrency_method: eager - - label: ":bitbar: :android: RN {{matrix}} Android 12 (Old Arch) end-to-end tests" - depends_on: "build-react-native-android-fixture-old-arch-full" - timeout_in_minutes: 60 - plugins: - artifacts#v1.9.0: - download: "test/react-native/features/fixtures/generated/old-arch/{{matrix}}/reactnative.apk" - upload: ./test/react-native/maze_output/**/* - docker-compose#v4.12.0: - pull: react-native-maze-runner - run: react-native-maze-runner - service-ports: true - command: - - --app=/app/features/fixtures/generated/old-arch/{{matrix}}/reactnative.apk - - --farm=bb - - --device=ANDROID_12 - - --appium-version=1.22 - - --a11y-locator - - --fail-fast - - --no-tunnel - - --aws-public-ip - retry: - manual: - permit_on_passed: true - env: - RN_VERSION: "{{matrix}}" - RCT_NEW_ARCH_ENABLED: "0" - concurrency: 25 - concurrency_group: "bitbar" - concurrency_method: eager - matrix: - - "0.71" - - "0.72" - - "0.73" + # - label: ":bitbar: :android: RN {{matrix}} Android 12 (Old Arch) end-to-end tests" + # depends_on: "build-react-native-android-fixture-old-arch-full" + # timeout_in_minutes: 60 + # plugins: + # artifacts#v1.9.0: + # download: "test/react-native/features/fixtures/generated/old-arch/{{matrix}}/reactnative.apk" + # upload: ./test/react-native/maze_output/**/* + # docker-compose#v4.12.0: + # pull: react-native-maze-runner + # run: react-native-maze-runner + # service-ports: true + # command: + # - --app=/app/features/fixtures/generated/old-arch/{{matrix}}/reactnative.apk + # - --farm=bb + # - --device=ANDROID_12 + # - --appium-version=1.22 + # - --a11y-locator + # - --fail-fast + # - --no-tunnel + # - --aws-public-ip + # retry: + # manual: + # permit_on_passed: true + # env: + # RN_VERSION: "{{matrix}}" + # RCT_NEW_ARCH_ENABLED: "0" + # concurrency: 25 + # concurrency_group: "bitbar" + # concurrency_method: eager + # matrix: + # - "0.71" + # - "0.72" + # - "0.73" - - label: ":bitbar: :android: RN {{matrix}} Android 12 (New Arch) end-to-end tests" - depends_on: "build-react-native-android-fixture-new-arch-full" - timeout_in_minutes: 60 - plugins: - artifacts#v1.9.0: - download: "test/react-native/features/fixtures/generated/new-arch/{{matrix}}/reactnative.apk" - upload: ./test/react-native/maze_output/**/* - docker-compose#v4.12.0: - pull: react-native-maze-runner - run: react-native-maze-runner - service-ports: true - command: - - --app=/app/features/fixtures/generated/new-arch/{{matrix}}/reactnative.apk - - --farm=bb - - --device=ANDROID_12 - - --appium-version=1.22 - - --a11y-locator - - --fail-fast - - --no-tunnel - - --aws-public-ip - retry: - manual: - permit_on_passed: true - env: - RCT_NEW_ARCH_ENABLED: "1" - RN_VERSION: "{{matrix}}" - concurrency: 25 - concurrency_group: "bitbar" - concurrency_method: eager - matrix: - - "0.71" - - "0.72" - - "0.73" + # - label: ":bitbar: :android: RN {{matrix}} Android 12 (New Arch) end-to-end tests" + # depends_on: "build-react-native-android-fixture-new-arch-full" + # timeout_in_minutes: 60 + # plugins: + # artifacts#v1.9.0: + # download: "test/react-native/features/fixtures/generated/new-arch/{{matrix}}/reactnative.apk" + # upload: ./test/react-native/maze_output/**/* + # docker-compose#v4.12.0: + # pull: react-native-maze-runner + # run: react-native-maze-runner + # service-ports: true + # command: + # - --app=/app/features/fixtures/generated/new-arch/{{matrix}}/reactnative.apk + # - --farm=bb + # - --device=ANDROID_12 + # - --appium-version=1.22 + # - --a11y-locator + # - --fail-fast + # - --no-tunnel + # - --aws-public-ip + # retry: + # manual: + # permit_on_passed: true + # env: + # RCT_NEW_ARCH_ENABLED: "1" + # RN_VERSION: "{{matrix}}" + # concurrency: 25 + # concurrency_group: "bitbar" + # concurrency_method: eager + # matrix: + # - "0.71" + # - "0.72" + # - "0.73" - label: ":bitbar: :android: react-native-navigation {{matrix}} Android 12 (Old Arch) end-to-end tests" depends_on: "build-react-native-navigation-android-fixture-old-arch"