Skip to content

Commit

Permalink
Merge pull request #1709 from bugsnag/tms/pipeline-tidy
Browse files Browse the repository at this point in the history
Adjust Buildkite queues and timeouts
  • Loading branch information
twometresteve authored Dec 5, 2024
2 parents ffeb9c1 + 78dfaac commit 880c3f7
Show file tree
Hide file tree
Showing 3 changed files with 19 additions and 13 deletions.
3 changes: 3 additions & 0 deletions .buildkite/block.full.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,4 +4,7 @@ steps:

- label: 'Upload the full test pipeline'
depends_on: 'trigger-full-build'
timeout_in_minutes: 5
agents:
queue: macos
command: buildkite-agent pipeline upload .buildkite/pipeline.full.yml
14 changes: 7 additions & 7 deletions .buildkite/pipeline.full.yml
Original file line number Diff line number Diff line change
Expand Up @@ -139,7 +139,7 @@ steps:
- label: 'macOS 14 XcFramework barebone E2E tests'
depends_on:
- xcframework_cocoa_fixture
timeout_in_minutes: 30
timeout_in_minutes: 10
agents:
queue: macos-14
plugins:
Expand All @@ -163,7 +163,7 @@ steps:
- label: 'macOS 10.13 XcFramework barebone E2E tests'
depends_on:
- xcframework_cocoa_fixture
timeout_in_minutes: 30
timeout_in_minutes: 10
agents:
queue: opensource-mac-cocoa-10.13
plugins:
Expand Down Expand Up @@ -830,7 +830,7 @@ steps:
#

- label: 'examples/objective-c-ios'
timeout_in_minutes: 30
timeout_in_minutes: 10
agents:
queue: macos-14
commands:
Expand All @@ -846,7 +846,7 @@ steps:
- xcodebuild -allowProvisioningUpdates -workspace objective-c-ios.xcworkspace -scheme objective-c-ios -configuration Debug -destination generic/platform=macOS -derivedDataPath DerivedData -quiet build

- label: 'examples/objective-c-osx'
timeout_in_minutes: 30
timeout_in_minutes: 10
agents:
queue: macos-14
commands:
Expand All @@ -860,7 +860,7 @@ steps:
- xcodebuild -allowProvisioningUpdates -workspace objective-c-osx.xcworkspace -scheme objective-c-osx -configuration Debug -derivedDataPath DerivedData -quiet build GCC_TREAT_WARNINGS_AS_ERRORS=YES

- label: 'examples/swift-ios'
timeout_in_minutes: 30
timeout_in_minutes: 10
agents:
queue: macos-14
commands:
Expand All @@ -874,7 +874,7 @@ steps:
- xcodebuild -allowProvisioningUpdates -workspace swift-ios.xcworkspace -scheme swift-ios -configuration Debug -destination generic/platform=iOS\ Simulator -derivedDataPath DerivedData -quiet build GCC_TREAT_WARNINGS_AS_ERRORS=YES

- label: 'examples/swift-package-manager'
timeout_in_minutes: 30
timeout_in_minutes: 10
agents:
queue: macos-14
commands:
Expand All @@ -889,7 +889,7 @@ steps:
- xcodebuild -allowProvisioningUpdates -scheme swift-package-manager -configuration Debug -destination generic/platform=iOS\ Simulator -derivedDataPath DerivedData -quiet build GCC_TREAT_WARNINGS_AS_ERRORS=YES

- label: 'examples/swiftui'
timeout_in_minutes: 30
timeout_in_minutes: 10
agents:
queue: macos-14
commands:
Expand Down
15 changes: 9 additions & 6 deletions .buildkite/pipeline.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ steps:

- label: Build test fixtures
key: cocoa_fixture
timeout_in_minutes: 30
timeout_in_minutes: 15
agents:
queue: macos-14
env:
Expand Down Expand Up @@ -176,7 +176,7 @@ steps:
- logs/*

- label: watchOS 8 unit tests
timeout_in_minutes: 60
timeout_in_minutes: 10
agents:
queue: macos-14
env:
Expand All @@ -187,7 +187,7 @@ steps:
- logs/*

- label: watchOS 7 unit tests
timeout_in_minutes: 60
timeout_in_minutes: 10
agents:
queue: macos-12-arm
env:
Expand All @@ -200,7 +200,7 @@ steps:
- label: 'ARM macOS 14 E2E tests'
depends_on:
- cocoa_fixture
timeout_in_minutes: 60
timeout_in_minutes: 120
agents:
queue: macos-14
plugins:
Expand Down Expand Up @@ -289,7 +289,7 @@ steps:
- label: 'macOS 11 barebones E2E tests'
depends_on:
- cocoa_fixture
timeout_in_minutes: 60
timeout_in_minutes: 10
agents:
queue: macos-11
plugins:
Expand All @@ -310,7 +310,7 @@ steps:
- label: 'macOS 10.15 barebones E2E tests'
depends_on:
- cocoa_fixture
timeout_in_minutes: 60
timeout_in_minutes: 10
agents:
queue: macos-10.15
plugins:
Expand Down Expand Up @@ -772,4 +772,7 @@ steps:
#

- label: 'Conditionally trigger full set of tests'
timeout_in_minutes: 5
agents:
queue: macos
command: sh -c .buildkite/pipeline_trigger.sh

0 comments on commit 880c3f7

Please sign in to comment.