diff --git a/.changeset/honest-apes-vanish.md b/.changeset/honest-apes-vanish.md new file mode 100644 index 000000000..c5b816889 --- /dev/null +++ b/.changeset/honest-apes-vanish.md @@ -0,0 +1,13 @@ +--- +'skuba': patch +--- + +template: Time out Buildkite test steps after 10 minutes + +Successful testing and linting should complete within this window. This timeout prevents commands from hanging and indefinitely preoccupying your Buildkite agents. + +```diff +steps: + - label: ๐Ÿงช Test & Lint ++ timeout_in_minutes: 10 +``` diff --git a/template/express-rest-api/.buildkite/pipeline.yml b/template/express-rest-api/.buildkite/pipeline.yml index 3a7087da9..f40ce6548 100644 --- a/template/express-rest-api/.buildkite/pipeline.yml +++ b/template/express-rest-api/.buildkite/pipeline.yml @@ -53,6 +53,7 @@ steps: - *docker-ecr-cache - docker-compose#v3.9.0: run: app + timeout_in_minutes: 10 - label: ๐Ÿ“ฆ Build & Package depends_on: warm-prod diff --git a/template/greeter/.buildkite/pipeline.yml b/template/greeter/.buildkite/pipeline.yml index 9001a293a..9dc959c55 100644 --- a/template/greeter/.buildkite/pipeline.yml +++ b/template/greeter/.buildkite/pipeline.yml @@ -34,3 +34,4 @@ steps: - *docker-ecr-cache - docker-compose#v3.9.0: run: app + timeout_in_minutes: 10 diff --git a/template/koa-rest-api/.buildkite/pipeline.yml b/template/koa-rest-api/.buildkite/pipeline.yml index 3a7087da9..f40ce6548 100644 --- a/template/koa-rest-api/.buildkite/pipeline.yml +++ b/template/koa-rest-api/.buildkite/pipeline.yml @@ -53,6 +53,7 @@ steps: - *docker-ecr-cache - docker-compose#v3.9.0: run: app + timeout_in_minutes: 10 - label: ๐Ÿ“ฆ Build & Package depends_on: warm-prod diff --git a/template/lambda-sqs-worker-cdk/.buildkite/pipeline.yml b/template/lambda-sqs-worker-cdk/.buildkite/pipeline.yml index 92c73fe8f..3a350c4c2 100644 --- a/template/lambda-sqs-worker-cdk/.buildkite/pipeline.yml +++ b/template/lambda-sqs-worker-cdk/.buildkite/pipeline.yml @@ -59,6 +59,7 @@ steps: - *docker-ecr-cache - docker-compose#v3.9.0: run: app + timeout_in_minutes: 10 - agents: queue: <%- devBuildkiteQueueName %> diff --git a/template/lambda-sqs-worker/.buildkite/pipeline.yml b/template/lambda-sqs-worker/.buildkite/pipeline.yml index 687fe00f2..549863f4e 100644 --- a/template/lambda-sqs-worker/.buildkite/pipeline.yml +++ b/template/lambda-sqs-worker/.buildkite/pipeline.yml @@ -63,6 +63,7 @@ steps: - *docker-ecr-cache - docker-compose#v3.9.0: run: app + timeout_in_minutes: 10 - agents: queue: <%- devBuildkiteQueueName %>