cloud-hypervisor/scripts
Samuel Ortiz db6f894e5e scripts: Add container based development script
The script is a development tool that runs all commands in a dedicated
container. This allows for containerized, isolated and reproducible
builds and CI runs.

The script supports the following command:

* build: Build Cloud Hypervisor binaries (debug and release)
* build-container: Build the container used by the script
* tests: Run unit, cargo and integration tests

$ ./scripts/dev_cli.sh help

Cloud Hypervisor dev_cli.sh
Usage: dev_cli.sh <command> [<command args>]

Available commands:

    build [--debug|--release] [-- [<cargo args>]]
        Build the Cloud Hypervisor binaries.
        --debug               Build the debug binaries. This is the default.
        --release             Build the release binaries.

    tests [--unit|--cargo|--all]
        Run the Cloud Hypervisor tests.
        --unit               Run the unit tests.
        --cargo              Run the cargo tests.
	--integration        Run the integration tests.
        --all                Run all tests.

    build-container [--type]
        Build the Cloud Hypervisor container.
        --dev                Build dev container. This is the default.

    help
        Display this help message.

Fixes: #682
Fixes: #684

Signed-off-by: Samuel Ortiz <sameo@linux.intel.com>
2020-01-31 11:42:20 +00:00
..
create-cloud-init.sh scripts: Add Ubuntu cloud-init data 2019-07-30 14:26:26 +02:00
dev_cli.sh scripts: Add container based development script 2020-01-31 11:42:20 +00:00
run_cargo_tests.sh ci: Run clippy for each specific feature 2020-01-21 11:44:40 +01:00
run_integration_tests.sh ci: Update kernel related to virtio-iommu 2020-01-30 10:37:40 +01:00
run_openapi_tests.sh ci: Add OpenAPI validation 2019-12-11 12:53:31 +00:00
run_unit_tests.sh tests: Use the workspace to unit test all the crates 2020-01-03 10:20:53 +01:00