Skip to content

Commit 8427ac6

Browse files
authored
Merge pull request #335 from kzys/buildkite-timeout
Cancel integration tests that take more than 10 minutes
2 parents 3b71606 + 31fae1f commit 8427ac6

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

.buildkite/pipeline.yml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -52,6 +52,7 @@ steps:
5252
command:
5353
- cp "/local/artifacts/$BUILDKITE_BUILD_NUMBER/rootfs.img" tools/image-builder/rootfs.img
5454
- make test-in-docker
55+
timeout_in_minutes: 10
5556

5657
- label: ":rotating_light: :hammer: snapshotter *root* tests"
5758
agents:
@@ -60,6 +61,7 @@ steps:
6061
DOCKER_IMAGE_TAG: "$BUILDKITE_BUILD_NUMBER"
6162
EXTRAGOARGS: "-v -count=1"
6263
command: 'make -C snapshotter integ-test'
64+
timeout_in_minutes: 10
6365
concurrency: 1
6466
concurrency_group: 'loop-device test'
6567

@@ -73,6 +75,7 @@ steps:
7375
- "runtime/logs/*"
7476
command:
7577
- make -C runtime integ-test FICD_SNAPSHOTTER=devmapper FICD_DM_POOL=build_${BUILDKITE_BUILD_NUMBER}_runtime
78+
timeout_in_minutes: 10
7679

7780
- label: ":rotating_light: :exclamation: example tests (naive)"
7881
agents:
@@ -83,6 +86,7 @@ steps:
8386
artifact_paths:
8487
- "examples/logs/*"
8588
command: 'make -C examples integ-test'
89+
timeout_in_minutes: 10
8690
concurrency: 1
8791
concurrency_group: 'loop-device test'
8892

@@ -96,3 +100,4 @@ steps:
96100
- "examples/logs/*"
97101
command:
98102
- make -C examples integ-test TEST_SS=devmapper TEST_POOL=build_${BUILDKITE_BUILD_NUMBER}_example
103+
timeout_in_minutes: 10

0 commit comments

Comments
 (0)