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

Buildkite - eager concurrency #1473

Merged
merged 1 commit into from
Nov 2, 2021
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
14 changes: 14 additions & 0 deletions .buildkite/pipeline.full.yml
Original file line number Diff line number Diff line change
Expand Up @@ -47,6 +47,7 @@ steps:
- "--fail-fast"
concurrency: 9
concurrency_group: 'browserstack-app'
concurrency_method: eager

- label: ':android: Android size reporting'
depends_on: "android-ci"
Expand All @@ -69,6 +70,7 @@ steps:
TEST_APK_LOCATION: 'bugsnag-android-core/build/outputs/apk/androidTest/debug/bugsnag-android-core-debug-androidTest.apk'
concurrency: 9
concurrency_group: 'browserstack-app'
concurrency_method: eager

- label: ':android: Android 5 NDK r16 end-to-end tests - batch 1'
depends_on:
Expand All @@ -90,6 +92,7 @@ steps:
- "--fail-fast"
concurrency: 9
concurrency_group: 'browserstack-app'
concurrency_method: eager
soft_fail:
- exit_status: "*"

Expand All @@ -113,6 +116,7 @@ steps:
- "--fail-fast"
concurrency: 9
concurrency_group: 'browserstack-app'
concurrency_method: eager
soft_fail:
- exit_status: "*"

Expand All @@ -136,6 +140,7 @@ steps:
- "--fail-fast"
concurrency: 9
concurrency_group: 'browserstack-app'
concurrency_method: eager

- label: ':android: Android 6 NDK r16 end-to-end tests - batch 2'
depends_on:
Expand All @@ -157,6 +162,7 @@ steps:
- "--fail-fast"
concurrency: 9
concurrency_group: 'browserstack-app'
concurrency_method: eager

- label: ':android: Android 7 NDK r19 end-to-end tests - batch 1'
depends_on:
Expand All @@ -178,6 +184,7 @@ steps:
- "--fail-fast"
concurrency: 9
concurrency_group: 'browserstack-app'
concurrency_method: eager

- label: ':android: Android 7 NDK r19 end-to-end tests - batch 2'
depends_on:
Expand All @@ -199,6 +206,7 @@ steps:
- "--fail-fast"
concurrency: 9
concurrency_group: 'browserstack-app'
concurrency_method: eager

- label: ':android: Android 8.1 NDK r19 end-to-end tests - batch 1'
depends_on:
Expand All @@ -220,6 +228,7 @@ steps:
- "--fail-fast"
concurrency: 9
concurrency_group: 'browserstack-app'
concurrency_method: eager

- label: ':android: Android 8.1 NDK r19 end-to-end tests - batch 2'
depends_on:
Expand All @@ -241,6 +250,7 @@ steps:
- "--fail-fast"
concurrency: 9
concurrency_group: 'browserstack-app'
concurrency_method: eager

- label: ':android: Android 10 NDK r21 end-to-end tests - batch 1'
depends_on:
Expand All @@ -262,6 +272,7 @@ steps:
- "--fail-fast"
concurrency: 9
concurrency_group: 'browserstack-app'
concurrency_method: eager

- label: ':android: Android 10 NDK r21 end-to-end tests - batch 2'
depends_on:
Expand All @@ -283,6 +294,7 @@ steps:
- "--fail-fast"
concurrency: 9
concurrency_group: 'browserstack-app'
concurrency_method: eager

# Android 11+ devices have the GWP-ASAN tool enabled which randomly samples native memory to
# to detect misuse (such as use-after-free, buffer overflow). If a failure is detected then
Expand All @@ -308,6 +320,7 @@ steps:
- "--fail-fast"
concurrency: 9
concurrency_group: 'browserstack-app'
concurrency_method: eager

- label: ':android: Android 11 NDK r21 end-to-end tests - batch 2'
depends_on:
Expand All @@ -329,6 +342,7 @@ steps:
- "--fail-fast"
concurrency: 9
concurrency_group: 'browserstack-app'
concurrency_method: eager

# If there is a tag present activate a manual publishing step

Expand Down
8 changes: 8 additions & 0 deletions .buildkite/pipeline.quick.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@ steps:
- "--fail-fast"
concurrency: 9
concurrency_group: 'browserstack-app'
concurrency_method: eager
soft_fail:
- exit_status: "*"

Expand All @@ -40,6 +41,7 @@ steps:
- "--fail-fast"
concurrency: 9
concurrency_group: 'browserstack-app'
concurrency_method: eager

- label: ':android: Android 7 NDK r19 smoke tests'
key: 'android-7-smoke'
Expand All @@ -60,6 +62,7 @@ steps:
- "--fail-fast"
concurrency: 9
concurrency_group: 'browserstack-app'
concurrency_method: eager

- label: ':android: Android 8.1 NDK r19 smoke tests'
key: 'android-8-1-smoke'
Expand All @@ -80,6 +83,7 @@ steps:
- "--fail-fast"
concurrency: 9
concurrency_group: 'browserstack-app'
concurrency_method: eager

- label: ':android: Android 9 NDK r21 smoke tests'
key: 'android-9-smoke'
Expand All @@ -100,6 +104,7 @@ steps:
- "--fail-fast"
concurrency: 9
concurrency_group: 'browserstack-app'
concurrency_method: eager

- label: ':android: Android 9 NDK r21 end-to-end tests - batch 1'
depends_on:
Expand All @@ -120,6 +125,7 @@ steps:
- "--device=ANDROID_9_0"
concurrency: 9
concurrency_group: 'browserstack-app'
concurrency_method: eager

- label: ':android: Android 9 NDK r21 end-to-end tests - batch 2'
depends_on:
Expand All @@ -140,6 +146,7 @@ steps:
- "--device=ANDROID_9_0"
concurrency: 9
concurrency_group: 'browserstack-app'
concurrency_method: eager

- label: ':android: Android 10 NDK r21 smoke tests'
key: 'android-10-smoke'
Expand All @@ -160,3 +167,4 @@ steps:
- "--fail-fast"
concurrency: 9
concurrency_group: 'browserstack-app'
concurrency_method: eager
5 changes: 5 additions & 0 deletions .buildkite/pipeline.yml
Original file line number Diff line number Diff line change
Expand Up @@ -169,6 +169,7 @@ steps:
TEST_APK_LOCATION: 'bugsnag-android-core/build/outputs/apk/androidTest/debug/bugsnag-android-core-debug-androidTest.apk'
concurrency: 9
concurrency_group: 'browserstack-app'
concurrency_method: eager

- label: ':android: NDK Instrumentation tests'
key: 'ndk-instrumentation-tests'
Expand All @@ -185,6 +186,7 @@ steps:
TEST_APK_LOCATION: 'bugsnag-plugin-android-ndk/build/outputs/apk/androidTest/debug/bugsnag-plugin-android-ndk-debug-androidTest.apk'
concurrency: 9
concurrency_group: 'browserstack-app'
concurrency_method: eager

- label: ':android: Performance benchmarks'
key: 'perf-benchmarks'
Expand All @@ -201,6 +203,7 @@ steps:
TEST_APK_LOCATION: 'bugsnag-benchmarks/build/outputs/apk/androidTest/release/bugsnag-benchmarks-release-androidTest.apk'
concurrency: 9
concurrency_group: 'browserstack-app'
concurrency_method: eager

- label: ':android: Android 4.4 NDK r16 smoke tests'
key: 'android-4-4-smoke'
Expand All @@ -221,6 +224,7 @@ steps:
- "--fail-fast"
concurrency: 9
concurrency_group: 'browserstack-app'
concurrency_method: eager

# Android 11+ devices have the GWP-ASAN tool enabled which randomly samples native memory to
# to detect misuse (such as use-after-free, buffer overflow). If a failure is detected then
Expand All @@ -247,6 +251,7 @@ steps:
- "--fail-fast"
concurrency: 9
concurrency_group: 'browserstack-app'
concurrency_method: eager

- label: 'Conditionally trigger full set of tests'
command: sh -c .buildkite/pipeline_trigger.sh