Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[PLAT-10810] Automatic retry on build steps #2029

Merged
merged 3 commits into from
Oct 25, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 8 additions & 0 deletions .buildkite/basic/browser-pipeline.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand All @@ -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
Expand Down
4 changes: 4 additions & 0 deletions .buildkite/basic/node-pipeline.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down
12 changes: 12 additions & 0 deletions .buildkite/basic/react-native-android-pipeline.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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"
Expand All @@ -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
Expand Down
8 changes: 8 additions & 0 deletions .buildkite/basic/react-native-ios-pipeline.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand All @@ -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
Expand Down
44 changes: 44 additions & 0 deletions .buildkite/full/react-native-android-pipeline.full.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand All @@ -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"
Expand All @@ -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"
Expand All @@ -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"
Expand All @@ -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"
Expand All @@ -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"
Expand All @@ -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"
Expand All @@ -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"
Expand All @@ -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"
Expand All @@ -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"
Expand All @@ -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
Expand Down
Loading
Loading