diff --git a/.buildkite/basic/browser-pipeline.yml b/.buildkite/basic/browser-pipeline.yml index 9844d45200..728b017c96 100644 --- a/.buildkite/basic/browser-pipeline.yml +++ b/.buildkite/basic/browser-pipeline.yml @@ -17,6 +17,10 @@ steps: - docker-compose#v4.12.0: push: - browser-maze-runner-bb:855461928731.dkr.ecr.us-west-1.amazonaws.com/js:ci-browser-${BRANCH_NAME} + retry: + automatic: + - exit_status: "*" + limit: 1 - label: ":docker: Maze Runner image - BrowserStack browsers" key: "browser-maze-runner-bs" @@ -33,6 +37,10 @@ steps: - docker-compose#v4.12.0: push: - browser-maze-runner-bs:855461928731.dkr.ecr.us-west-1.amazonaws.com/js:ci-browser-${BRANCH_NAME} + retry: + automatic: + - exit_status: "*" + limit: 1 # # BitBar tests diff --git a/.buildkite/basic/node-pipeline.yml b/.buildkite/basic/node-pipeline.yml index 25ade0f6a5..743ecfdc64 100644 --- a/.buildkite/basic/node-pipeline.yml +++ b/.buildkite/basic/node-pipeline.yml @@ -18,6 +18,10 @@ steps: - docker-compose#v4.12.0: push: - node-maze-runner:855461928731.dkr.ecr.us-west-1.amazonaws.com/js:ci-node-${BRANCH_NAME} + retry: + automatic: + - exit_status: "*" + limit: 1 - label: ":node: Node {{matrix}}" depends_on: "node-maze-runner-image" diff --git a/.buildkite/basic/react-native-android-pipeline.yml b/.buildkite/basic/react-native-android-pipeline.yml index f534d2d1f7..c563c915f5 100644 --- a/.buildkite/basic/react-native-android-pipeline.yml +++ b/.buildkite/basic/react-native-android-pipeline.yml @@ -15,6 +15,10 @@ steps: 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} + retry: + automatic: + - exit_status: "*" + limit: 1 # # Test fixtures @@ -34,6 +38,10 @@ steps: run: react-native-android-builder artifact_paths: - build/rn0.72-old-arch.apk + retry: + automatic: + - exit_status: "*" + limit: 1 - label: ":android: Build RN 0.72 (New Arch) apk" key: "rn-0-72-new-arch-apk" @@ -50,6 +58,10 @@ steps: run: react-native-android-builder artifact_paths: - build/rn0.72-new-arch.apk + retry: + automatic: + - exit_status: "*" + limit: 1 # # End-to-end tests diff --git a/.buildkite/basic/react-native-ios-pipeline.yml b/.buildkite/basic/react-native-ios-pipeline.yml index ae949565d8..e4e5e0b3d8 100644 --- a/.buildkite/basic/react-native-ios-pipeline.yml +++ b/.buildkite/basic/react-native-ios-pipeline.yml @@ -20,6 +20,10 @@ steps: artifact_paths: build/rn0.72-old-arch.ipa commands: - npm run test:build-react-native-ios + retry: + automatic: + - exit_status: "*" + limit: 1 - label: ":ios: Build RN 0.72 (New Arch) ipa" key: "rn-0-72-new-arch-ipa" @@ -35,6 +39,10 @@ steps: artifact_paths: build/rn0.72-new-arch.ipa commands: - npm run test:build-react-native-ios + retry: + automatic: + - exit_status: "*" + limit: 1 # # End-to-end tests diff --git a/.buildkite/full/react-native-android-pipeline.full.yml b/.buildkite/full/react-native-android-pipeline.full.yml index 3f2d309ce5..d314376d9a 100644 --- a/.buildkite/full/react-native-android-pipeline.full.yml +++ b/.buildkite/full/react-native-android-pipeline.full.yml @@ -19,6 +19,10 @@ steps: run: react-native-android-builder artifact_paths: - build/rn0.60.apk + retry: + automatic: + - exit_status: "*" + limit: 1 - label: ":android: Build RN 0.66 apk" key: "rn-0-66-apk" @@ -33,6 +37,10 @@ steps: run: react-native-android-builder artifact_paths: - build/rn0.66.apk + retry: + automatic: + - exit_status: "*" + limit: 1 - label: ":android: Build RN 0.67 apk" key: "rn-0-67-apk" @@ -47,6 +55,10 @@ steps: run: react-native-android-builder 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" @@ -61,6 +73,10 @@ steps: run: react-native-android-builder 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" @@ -75,6 +91,10 @@ steps: run: react-native-android-builder artifact_paths: - build/rn0.69.apk + retry: + automatic: + - exit_status: "*" + limit: 1 - label: ":android: Build RN 0.71 (Old Arch) apk" key: "rn-0-71-old-arch-apk" @@ -91,6 +111,10 @@ steps: run: react-native-android-builder artifact_paths: - build/rn0.71-old-arch.apk + retry: + automatic: + - exit_status: "*" + limit: 1 - label: ":android: Build RN 0.71 (New Arch) apk" key: "rn-0-71-new-arch-apk" @@ -107,6 +131,10 @@ steps: run: react-native-android-builder artifact_paths: - build/rn0.71-new-arch.apk + retry: + automatic: + - exit_status: "*" + limit: 1 - label: ":android: Build react-navigation 0.60 apk" key: "react-navigation-0-60-apk" @@ -123,6 +151,10 @@ steps: run: react-native-android-builder artifact_paths: - build/r_navigation_0.60.apk + retry: + automatic: + - exit_status: "*" + limit: 1 - label: ":android: Build react-navigation 0.69 apk" key: "react-navigation-0-69-apk" @@ -139,6 +171,10 @@ steps: run: react-native-android-builder artifact_paths: - build/r_navigation_0.69.apk + retry: + automatic: + - exit_status: "*" + limit: 1 - label: ":android: Build react-native-navigation 0.60 apk" key: "react-native-navigation-0-60-apk" @@ -155,6 +191,10 @@ steps: run: react-native-android-builder artifact_paths: - build/r_native_navigation_0.60.apk + retry: + automatic: + - exit_status: "*" + limit: 1 - label: ":android: Build react-native-navigation 0.66 apk" key: "react-native-navigation-0-66-apk" @@ -171,6 +211,10 @@ steps: run: react-native-android-builder artifact_paths: - build/r_native_navigation_0.66.apk + retry: + automatic: + - exit_status: "*" + limit: 1 # # End-to-end tests diff --git a/.buildkite/full/react-native-cli-pipeline.full.yml b/.buildkite/full/react-native-cli-pipeline.full.yml index 7169d0f166..2d03681f69 100644 --- a/.buildkite/full/react-native-cli-pipeline.full.yml +++ b/.buildkite/full/react-native-cli-pipeline.full.yml @@ -203,6 +203,10 @@ steps: cache-from: react-native-cli-android-builder:855461928731.dkr.ecr.us-west-1.amazonaws.com/js:ci-${BRANCH_NAME} - docker-compose#v4.12.0: push: react-native-cli-android-builder:855461928731.dkr.ecr.us-west-1.amazonaws.com/js:ci-${BRANCH_NAME} + retry: + automatic: + - exit_status: "*" + limit: 1 - label: ":android: Init and build RN 0.60 apk" key: "rn-cli-0-60-apk" @@ -218,6 +222,10 @@ steps: command: ["features/build-app-tests/build-android-app.feature"] artifact_paths: - build/rn0_60.apk + retry: + automatic: + - exit_status: "*" + limit: 1 - label: ":android: Init and build RN 0.61 apk" key: "rn-cli-0-61-apk" @@ -233,6 +241,10 @@ steps: command: ["features/build-app-tests/build-android-app.feature"] artifact_paths: - build/rn0_61.apk + retry: + automatic: + - exit_status: "*" + limit: 1 - label: ":android: Init and build RN 0.62 apk" key: "rn-cli-0-62-apk" @@ -248,6 +260,10 @@ steps: command: ["features/build-app-tests/build-android-app.feature"] artifact_paths: - build/rn0_62.apk + retry: + automatic: + - exit_status: "*" + limit: 1 - label: ":android: Init and build RN 0.63 apk" key: "rn-cli-0-63-apk" @@ -263,6 +279,10 @@ steps: command: ["features/build-app-tests/build-android-app.feature"] artifact_paths: - build/rn0_63.apk + retry: + automatic: + - exit_status: "*" + limit: 1 - label: ":android: Init and build RN 0.63 Expo (ejected) apk" key: "rn-cli-0-63-expo-ejected-apk" @@ -278,6 +298,10 @@ steps: command: ["features/build-app-tests/build-android-app.feature"] artifact_paths: - build/rn0_63_expo_ejected.apk + retry: + automatic: + - exit_status: "*" + limit: 1 - label: ":android: Init and build RN 0.64 apk" key: "rn-cli-0-64-apk" @@ -293,6 +317,10 @@ steps: command: ["features/build-app-tests/build-android-app.feature"] artifact_paths: - build/rn0_64.apk + retry: + automatic: + - exit_status: "*" + limit: 1 - label: ":android: Init and build RN 0.65 apk" key: "rn-cli-0-65-apk" @@ -308,6 +336,10 @@ steps: command: ["features/build-app-tests/build-android-app.feature"] artifact_paths: - build/rn0_65.apk + retry: + automatic: + - exit_status: "*" + limit: 1 - label: ":android: Init and build RN 0.66 apk" key: "rn-cli-0-66-apk" @@ -323,6 +355,10 @@ steps: command: ["features/build-app-tests/build-android-app.feature"] artifact_paths: - build/rn0_66.apk + retry: + automatic: + - exit_status: "*" + limit: 1 - label: ":android: Init and build RN 0.67 apk (Non-hermes)" key: "rn-cli-0-67-apk" @@ -338,6 +374,10 @@ steps: command: ["features/build-app-tests/build-android-app.feature"] artifact_paths: - build/rn0_67.apk + retry: + automatic: + - exit_status: "*" + limit: 1 - label: ":android: Init and build RN 0.69 apk (Non-hermes)" key: "rn-cli-0-69-apk" @@ -353,6 +393,10 @@ steps: command: ["features/build-app-tests/build-android-app.feature"] artifact_paths: - build/rn0_69.apk + retry: + automatic: + - exit_status: "*" + limit: 1 # # Built app test fixtures - iOS @@ -369,6 +413,10 @@ steps: artifact_paths: build/rn0_60.ipa commands: - test/react-native-cli/scripts/init-and-build-test.sh rn0_60 + retry: + automatic: + - exit_status: "*" + limit: 1 - label: ":ios: Init and build RN 0.61 ipa" key: "rn-cli-0-61-ipa" @@ -382,6 +430,10 @@ steps: artifact_paths: build/rn0_61.ipa commands: - test/react-native-cli/scripts/init-and-build-test.sh rn0_61 + retry: + automatic: + - exit_status: "*" + limit: 1 - label: ":ios: Init and build RN 0.62 ipa" key: "rn-cli-0-62-ipa" @@ -395,6 +447,10 @@ steps: artifact_paths: build/rn0_62.ipa commands: - test/react-native-cli/scripts/init-and-build-test.sh rn0_62 + retry: + automatic: + - exit_status: "*" + limit: 1 - label: ":ios: Init and build RN 0.63 ipa" key: "rn-cli-0-63-ipa" @@ -408,6 +464,10 @@ steps: artifact_paths: build/rn0_63.ipa commands: - test/react-native-cli/scripts/init-and-build-test.sh rn0_63 + retry: + automatic: + - exit_status: "*" + limit: 1 - label: ":ios: Init and build RN 0.63 Expo (ejected) ipa" key: "rn-cli-0-63-expo-ejected-ipa" @@ -421,6 +481,10 @@ steps: artifact_paths: build/rn0_63_expo_ejected.ipa commands: - test/react-native-cli/scripts/init-and-build-test.sh rn0_63_expo_ejected + retry: + automatic: + - exit_status: "*" + limit: 1 - label: ":ios: Init and build RN 0.64 ipa" key: "rn-cli-0-64-ipa" @@ -434,6 +498,10 @@ steps: artifact_paths: build/rn0_64.ipa commands: - test/react-native-cli/scripts/init-and-build-test.sh rn0_64 + retry: + automatic: + - exit_status: "*" + limit: 1 - label: ":ios: Init and build RN 0.65 ipa" key: "rn-cli-0-65-ipa" @@ -447,6 +515,10 @@ steps: artifact_paths: build/rn0_65.ipa commands: - test/react-native-cli/scripts/init-and-build-test.sh rn0_65 + retry: + automatic: + - exit_status: "*" + limit: 1 - label: ":ios: Init and build RN 0.66 ipa" key: "rn-cli-0-66-ipa" @@ -460,6 +532,10 @@ steps: artifact_paths: build/rn0_66.ipa commands: - test/react-native-cli/scripts/init-and-build-test.sh rn0_66 + retry: + automatic: + - exit_status: "*" + limit: 1 - label: ":ios: Init and build RN 0.67 ipa (Non-hermes)" key: "rn-cli-0-67-ipa" @@ -473,6 +549,10 @@ steps: artifact_paths: build/rn0_67.ipa commands: - test/react-native-cli/scripts/init-and-build-test.sh rn0_67 + retry: + automatic: + - exit_status: "*" + limit: 1 - label: ":ios: Init and build RN 0.69 ipa (Non-hermes)" key: "rn-cli-0-69-ipa" @@ -486,6 +566,10 @@ steps: artifact_paths: build/rn0_69.ipa commands: - test/react-native-cli/scripts/init-and-build-test.sh rn0_69 + retry: + automatic: + - exit_status: "*" + limit: 1 # # Init, build and notify end-to-end tests - Android diff --git a/.buildkite/full/react-native-ios-pipeline.full.yml b/.buildkite/full/react-native-ios-pipeline.full.yml index 1c90a173f8..2bdc90fb5d 100644 --- a/.buildkite/full/react-native-ios-pipeline.full.yml +++ b/.buildkite/full/react-native-ios-pipeline.full.yml @@ -18,6 +18,10 @@ steps: artifact_paths: build/rn0.60.ipa commands: - npm run test:build-react-native-ios + retry: + automatic: + - exit_status: "*" + limit: 1 - label: ":ios: Build RN 0.66 ipa" key: "rn-0-66-ipa" @@ -31,6 +35,10 @@ steps: artifact_paths: build/rn0.66.ipa commands: - npm run test:build-react-native-ios + retry: + automatic: + - exit_status: "*" + limit: 1 - label: ":ios: Build RN 0.67 ipa" key: "rn-0-67-ipa" @@ -44,6 +52,10 @@ steps: artifact_paths: build/rn0.67.ipa commands: - npm run test:build-react-native-ios + retry: + automatic: + - exit_status: "*" + limit: 1 - label: ":ios: Build RN 0.68 Hermes ipa" key: "rn-0-68-hermes-ipa" @@ -57,6 +69,10 @@ steps: artifact_paths: build/rn0.68-hermes.ipa commands: - npm run test:build-react-native-ios + retry: + automatic: + - exit_status: "*" + limit: 1 - label: ":ios: Build RN 0.69 ipa" key: "rn-0-69-ipa" @@ -70,6 +86,10 @@ steps: artifact_paths: build/rn0.69.ipa commands: - npm run test:build-react-native-ios + retry: + automatic: + - exit_status: "*" + limit: 1 - label: ":ios: Build RN 0.71 (Old Arch) ipa" key: "rn-0-71-old-arch-ipa" @@ -85,6 +105,10 @@ steps: artifact_paths: build/rn0.71-old-arch.ipa commands: - npm run test:build-react-native-ios + retry: + automatic: + - exit_status: "*" + limit: 1 - label: ":ios: Build RN 0.71 (New Arch) ipa" key: "rn-0-71-new-arch-ipa" @@ -100,6 +124,10 @@ steps: artifact_paths: build/rn0.71-new-arch.ipa commands: - npm run test:build-react-native-ios + retry: + automatic: + - exit_status: "*" + limit: 1 # See: PLAT-5173 - label: ":ios: Build react-navigation 0.60 ipa" @@ -117,6 +145,10 @@ steps: artifact_paths: build/r_navigation_0.60.ipa commands: - npm run test:build-react-native-ios + retry: + automatic: + - exit_status: "*" + limit: 1 - label: ":ios: Build react-navigation 0.69 ipa" key: "react-navigation-0-69-ipa" @@ -132,6 +164,10 @@ steps: artifact_paths: build/r_navigation_0.69.ipa commands: - npm run test:build-react-native-ios + retry: + automatic: + - exit_status: "*" + limit: 1 # See: PLAT-5173 - label: ":ios: Build react-native-navigation 0.60 ipa" @@ -149,6 +185,10 @@ steps: artifact_paths: build/r_native_navigation_0.60.ipa commands: - npm run test:build-react-native-ios + retry: + automatic: + - exit_status: "*" + limit: 1 # See: PLAT-5173 - label: ":ios: Build react-native-navigation 0.66 ipa" @@ -166,6 +206,10 @@ steps: artifact_paths: build/r_native_navigation_0.66.ipa commands: - npm run test:build-react-native-ios + retry: + automatic: + - exit_status: "*" + limit: 1 # # End-to-end tests diff --git a/.buildkite/pipeline.yml b/.buildkite/pipeline.yml index e042d0ec89..911b6b77a2 100644 --- a/.buildkite/pipeline.yml +++ b/.buildkite/pipeline.yml @@ -24,6 +24,10 @@ steps: cache-from: android-builder-base:855461928731.dkr.ecr.us-west-1.amazonaws.com/js:android-builder-base - docker-compose#v4.12.0: push: android-builder-base:855461928731.dkr.ecr.us-west-1.amazonaws.com/js:android-builder-base + retry: + automatic: + - exit_status: "*" + limit: 1 # # Publish/package notifier @@ -43,6 +47,10 @@ steps: - docker-compose#v4.12.0: build: publisher image-repository: 855461928731.dkr.ecr.us-west-1.amazonaws.com/js + retry: + automatic: + - exit_status: "*" + limit: 1 - label: ":aws-lambda: AWS Lambda tests" timeout_in_minutes: 35 @@ -77,6 +85,10 @@ steps: push: - ci:855461928731.dkr.ecr.us-west-1.amazonaws.com/js:ci-base-${BRANCH_NAME} - ci:855461928731.dkr.ecr.us-west-1.amazonaws.com/js:ci-base + retry: + automatic: + - exit_status: "*" + limit: 1 - label: "Lint" depends_on: "ci-image"