From 472dea07fb9ba4f6d982f98d1987708afe1f8bac Mon Sep 17 00:00:00 2001 From: Catalin Dumitru Date: Wed, 15 Sep 2021 15:44:54 +0300 Subject: [PATCH] Document default timeout for pipeline step Mentioned that each step in the autogenerated pipeline has a default timeout of 5 minutes. Signed-off-by: Catalin Dumitru --- .buildkite/autogenerate_pipeline.py | 2 +- README.md | 7 ++++--- 2 files changed, 5 insertions(+), 4 deletions(-) diff --git a/.buildkite/autogenerate_pipeline.py b/.buildkite/autogenerate_pipeline.py index 59745de..9562532 100755 --- a/.buildkite/autogenerate_pipeline.py +++ b/.buildkite/autogenerate_pipeline.py @@ -9,7 +9,7 @@ specified as a parameter to the `generate_test_pipeline`. The pipeline is generated based on the test configuration in `test_description.json`. The JSON file contains a list of tests to be run by -all rust-vmm components. +all rust-vmm components. Each test has a default timeout of 5 minutes. Some components need to override the default configuration such that they can access devices while running the tests (for example access to `/dev/kvm`), diff --git a/README.md b/README.md index 99128d1..9631cb0 100644 --- a/README.md +++ b/README.md @@ -53,9 +53,9 @@ to the repository as well. rust-vmm Buildkite [admins](CODEOWNERS) to create one for you. The process is explained [here](https://github.com/rust-vmm/community/blob/main/docs/maintainers/setup_new_repo.md#set-up-ci). -4. There is a script that autogenerates a dynamic Buildkite pipeline. To run -the CI using this dynamic pipeline, you need to add a step that is uploading -the rust-vmm-ci pipeline: +4. There is a script that autogenerates a dynamic Buildkite pipeline. Each step +in the pipeline has a default timeout of 5 minutes. To run the CI using this dynamic pipeline, +you need to add a step that is uploading the rust-vmm-ci pipeline: ```bash ./rust-vmm-ci/.buildkite/autogenerate_pipeline.py | buildkite-agent pipeline upload ``` @@ -128,6 +128,7 @@ steps: - docker#v3.8.0: image: rustvmm/dev:v12 always-pull: true + timeout_in_minutes: 5 ``` To see all steps in the pipeline check the output of the