Skip to content

Commit 2782bd5

Browse files
authored
Merge pull request #625 from kzys/no-losetup
Don't wait "losetup -D"
2 parents 88eec19 + a548a66 commit 2782bd5

File tree

1 file changed

+3
-8
lines changed

1 file changed

+3
-8
lines changed

.buildkite/pipeline.yml

Lines changed: 3 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -27,19 +27,14 @@ steps:
2727
- sudo install -d -o root -g buildkite-agent -m 775 "/local/artifacts/$BUILDKITE_BUILD_NUMBER"
2828
- cp tools/image-builder/rootfs.img "/local/artifacts/$BUILDKITE_BUILD_NUMBER/"
2929

30-
- wait
31-
32-
# Global concurrency has been set to one in the website configuration.
33-
# With that we can now clean up loop devices before starting jobs to ensure
34-
# we don't hit the loop device limit
30+
# Just in case, list loopback devices to make sure there are no leaks.
31+
# We probably should move that to metrics later.
3532
- label: ":lint-roller: loop device cleanup"
3633
agents:
3734
queue: "${BUILDKITE_AGENT_META_DATA_QUEUE:-default}"
3835
distro: "${BUILDKITE_AGENT_META_DATA_DISTRO}"
3936
hostname: "${BUILDKITE_AGENT_META_DATA_HOSTNAME}"
40-
command: 'sudo losetup -D'
41-
concurrency: 1
42-
concurrency_group: 'loop-device test'
37+
command: 'sudo losetup -l'
4338

4439
- wait
4540

0 commit comments

Comments
 (0)