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>
This commit is contained in:
Andreea Florescu
2019-06-04 18:56:11 +03:00
committed by Andreea Florescu
parent 61554f89d5
commit 6c471c6c3a
7 changed files with 567 additions and 1 deletions
+11
View File
@@ -0,0 +1,11 @@
# Copyright 2019 Amazon.com, Inc. or its affiliates. All Rights Reserved.
# SPDX-License-Identifier: Apache-2.0
import os
def get_repo_root_path():
"""Terrible hack to get the root path of the repository."""
integration_tests_path = os.path.dirname(os.path.realpath(__file__))
rust_vmm_ci_path = os.path.dirname(integration_tests_path)
return os.path.dirname(rust_vmm_ci_path)