31 Commits

Author SHA1 Message Date
Ruoqing He
84550804a4 docs: Document --workspace-selective mode
Add a README section spelling out the three goals: per-crate
supported platforms, custom tests defined per crate, and a minimal
set of workspace-scoped tests for cross-crate compatibility. Also
describe how `--workspace-selective` uses Buildkite's native
`if_changed` property to realize them.

Signed-off-by: Ruoqing He <ruoqing.he@lingcage.com>
2026-06-30 15:17:36 +02:00
Patrick Roy
1d65d26c96 doc: update README to instruction to use new script
Replace the manual instructions for setting up dependabot and .platform
file with instructions to run the new script. Move the explanation of
the .platform file to the testing section (where we were incorrectly
claiming that we only support x86_64 and aarch64, so fix that up too).

Signed-off-by: Patrick Roy <roypat@amazon.co.uk>
2025-10-16 10:17:22 +01:00
Stefano Garzarella
0b1cb86353 README: use --workdir in the docker examples
Clean up and standardize our examples by always mounting the crate in
/crate and using --workdir to avoid `cd ..` in the container.

While we're here, let's remove a strange mount of ~/.ssh in the last
example.

Signed-off-by: Stefano Garzarella <sgarzare@redhat.com>
2025-08-07 12:33:55 +02:00
Stefano Garzarella
a5d88d4f8f README: use latest container tag in the examples
We recently changed the container tags from vNN to gSHA-1, but we didn't
update README.md. Also, we now push `latest`, which is always updated,
so use this tag in the examples and mention to look at CONTAINER_VERSION
in .buildkite/autogenerate_pipeline.py for a specific version.

Reported-by: Hanna Czenczek <hreitz@redhat.com>
Signed-off-by: Stefano Garzarella <sgarzare@redhat.com>
2025-08-07 12:33:55 +02:00
Patrick Roy
3ea2d3fb2e doc: update readme for coverage changes
Mention that `crate_features` is now optional, and also update a very
outdated reference to `cargo kcov`

Signed-off-by: Patrick Roy <roypat@amazon.co.uk>
2025-03-19 09:41:19 +00:00
Ruoqing He
752ad1322a Introduce riscv64 CI
Introduce logic necessary for generating YAML needed by BuildKite, which
are designed to work with image introduced in
rust-vmm/rust-vmm-container#106.

The container version is updated to v44 to enable CI on RISC-V platform.

Signed-off-by: Ruoqing He <heruoqing@iscas.ac.cn>
2024-09-02 09:38:45 +02:00
Patrick Roy
7606478202 doc: Document process for using dependabot configs
Signed-off-by: Patrick Roy <roypat@amazon.co.uk>
2024-02-14 15:17:51 +00:00
Manos Pitsidianakis
f91cfebb85 README: add link to rust-vmm-container repository
For convenience, since the two are related directly.

Also fix a small typo while at it.

Signed-off-by: Manos Pitsidianakis <manos.pitsidianakis@linaro.org>
2023-11-14 08:23:16 +00:00
Stefano Garzarella
4c55aa732b Update exclude_path description and examples
Now that we use cargo-llvm-cov, `exclude_path` should be a regular
expression, since we are using `--ignore-filename-regex` option:

   --ignore-filename-regex <PATTERN>
       Skip source code files with file paths that match the given
       regular expression

To prevent users from separating multiple files with commas,
let's update the `exclude_path` description in the README and in
the examples.

Signed-off-by: Stefano Garzarella <sgarzare@redhat.com>
2023-10-20 16:06:54 +00:00
Tan En De
9751aaa0d0 README: Fix link to setup_new_repo.md
The community repo has moved documents from the `maintainers` folder:
9c611c5727

Signed-off-by: Tan En De <ende.tan@starfivetech.com>
2023-09-27 10:57:46 +03:00
Andreea Florescu
45443cc21e add hypervisor tag for agents
By default we are now using the kvm hypervisor in tests.
This can be overritten for the entire pipeline at the pipeline
level by using the environment variable `AGENT_TAG_HYPERVISOR`.

Fixes: https://github.com/rust-vmm/rust-vmm-ci/issues/115

Signed-off-by: Andreea Florescu <fandree@amazon.com>
2022-11-30 17:38:29 +02:00
Andreea Florescu
258161e88a update README with latest version
Also added a note that the version in the readme is not necessarily
the latest one.

Signed-off-by: Andreea Florescu <fandree@amazon.com>
2022-08-26 19:48:52 +03:00
Sergii Glushchenko
d216a46879 Update to rustvmm/dev:v15 with Rust 1.58.1
Signed-off-by: Sergii Glushchenko <gsserge@amazon.com>
2022-01-21 17:04:21 +02:00
Andreea Florescu
7f22582590 update container version to v13
In the new container version we're using ubuntu 20.04 as the base image
instead of ubuntu 18.04.

Signed-off-by: Andreea Florescu <fandree@amazon.com>
2021-09-24 14:20:45 +03:00
Catalin Dumitru
472dea07fb 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 <catdum@amazon.com>
2021-09-23 17:11:18 +03:00
Catalin Dumitru
f67ef4c84d Update README.md
Included the new environment variable `TIMEOUTS_MIN` for overriding
step timeouts and updated the "Custom Pipeline" section to
reflect that we are also autogenerating the custom pipelines.

Signed-off-by: Catalin Dumitru <catdum@amazon.com>
2021-09-16 17:11:28 +03:00
Catalin Dumitru
ae7db2d98a Rename master to main
Updated occurrences of "master" with "main".

Signed-off-by: Catalin Dumitru <catdum@amazon.com>
2021-09-02 12:33:44 +03:00
Catalin Dumitru
555474aaba Add script to run tests locally
The script uses the test_description.json file to get the test
names and the commands to be run.

Signed-off-by: Catalin Dumitru <catdum@amazon.com>
2021-08-26 12:34:31 +03:00
Catalin Dumitru
cd3d97f923 Allow skipping tests when generating the pipeline
Added a new environment variable for skipping tests if needed.

Signed-off-by: Catalin Dumitru <catdum@amazon.com>
2021-08-25 16:25:48 +03:00
Catalin Dumitru
877d1fb680 Update README.md
Updated the instructions with the new commands for the generation
of the dynamic pipeline.

Signed-off-by: Catalin Dumitru <catdum@amazon.com>
2021-08-19 14:17:39 +03:00
Federico Ponzi
98a26fe4c2 Typo fix in README.md 2021-01-20 09:42:42 +02:00
Andreea Florescu
3b7377cb51 fixed typo in readme
Fixes: https://github.com/rust-vmm/rust-vmm-ci/issues/39

Signed-off-by: Andreea Florescu <fandree@amazon.com>
2020-12-03 16:38:20 +02:00
Alexandra Iordache
9dd386c2e6 readme update: cosmetic changes
Signed-off-by: Alexandra Iordache <aghecen@amazon.com>
2020-09-25 16:09:21 +03:00
Stefan Hajnoczi
d62d781398 fix buildkite typos in readme
Signed-off-by: Stefan Hajnoczi <stefanha@redhat.com>
2020-08-15 20:20:09 +03:00
Andreea Florescu
645a5c3a74 test_bench: don't crash when no bench on master
When there are no benchmarks on the master branch, instead of
crashing first check if the error. Pass the test in case
cargo bench failed due to main bench not being present.

Fixes: https://github.com/rust-vmm/rust-vmm-ci/issues/30

Signed-off-by: Andreea Florescu <fandree@amazon.com>
2020-07-31 11:08:50 +03:00
Alexandra Iordache
53427aa758 benchmarks: add test that can run at every PR
Related to #24

Signed-off-by: Alexandra Iordache <aghecen@amazon.com>
2020-07-23 16:17:32 +03:00
mrxinwang
cd7096e7a6 Enable rust-vmm coverage test in CI
1. Enabled the aarch64 coverage test in `test_coverage` script.

2. Seperated the coverage json sample file to two sample files for
different machine achitectures.

3. Updated Buildkite pipeline container version.

4. Updated README for the description of coverage files and container
version.

Signed-off-by: Henry Wang <henry.wang@arm.com>
2020-02-21 09:56:34 +01:00
Andreea Florescu
bb1cd14d2c use HTTPS when adding rust-vmm-ci as a submodule
If we clone rust-vmm-ci with SSH Buildkite requires an ssh key
when cloning the repository for some reason.

Signed-off-by: Andreea Florescu <fandree@amazon.com>
2019-07-12 13:14:00 +02:00
Andreea Florescu
8b60273cef Run tests with rustvmm/dev:v3
The container now runs Rust 1.35. This is needed as versions 1.34.0
up to 1.34.2 (which is the first one to include a fix) have a security
vulnerability.

For details check the CVE: https://www.cvedetails.com/cve/CVE-2019-12083/

Signed-off-by: Andreea Florescu <fandree@amazon.com>
2019-07-01 10:50:54 +02:00
Andreea Florescu
6c471c6c3a added Buildkite pipeline and integration tests
This pipeline contains the tests that are currently run for
kvm-ioctls. The pipeline also has a step that runs the coverage
test defined in integration_tests/test_coverage.py.

The purpose of this pipeline is to be used by all rust-vmm
repositories to ensure we keep the same quality bar for all crates.

Signed-off-by: Andreea Florescu <fandree@amazon.com>
2019-06-20 18:24:38 +03:00
Andreea Florescu
61554f89d5 Initial commit 2019-05-20 16:58:04 +02:00