History log of /cloud-hypervisor/scripts/dev_cli.sh (Results 101 – 110 of 110)
Revision Date Author Comments
# 296ada94 13-Feb-2020 Samuel Ortiz <sameo@linux.intel.com>

scripts: dev_cli: Fix post build permissions for the whole tree

Fixes: #752

Signed-off-by: Samuel Ortiz <sameo@linux.intel.com>


# c706ca15 07-Feb-2020 Samuel Ortiz <sameo@linux.intel.com>

scripts: dev_cli: Simplify the build command exit path

Signed-off-by: Samuel Ortiz <sameo@linux.intel.com>


# 0a1d6e1c 07-Feb-2020 Samuel Ortiz <sameo@linux.intel.com>

scripts: dev_cli: Fix build directory permisions

All our tests must be run as root and thus the build directory is owned
by root after we run any of them.

Start another container to fix all permiss

scripts: dev_cli: Fix build directory permisions

All our tests must be run as root and thus the build directory is owned
by root after we run any of them.

Start another container to fix all permissions whenever we're done with
our tests.

Signed-off-by: Samuel Ortiz <sameo@linux.intel.com>

show more ...


# c8fa8092 07-Feb-2020 Samuel Ortiz <sameo@linux.intel.com>

scripts: dev_cli: Run unprivileged containers as the host user

By default we will run as root inside the container, which means all the
build artifacts will be owned by root. That prevents us from p

scripts: dev_cli: Run unprivileged containers as the host user

By default we will run as root inside the container, which means all the
build artifacts will be owned by root. That prevents us from properly
cleaning our build from an unprivileged host user.

Signed-off-by: Samuel Ortiz <sameo@linux.intel.com>

show more ...


# 04cb35e3 07-Feb-2020 Rob Bradford <robert.bradford@intel.com>

scripts: Make dev_cli.sh exit on test error

Signed-off-by: Rob Bradford <robert.bradford@intel.com>


# bfbca596 07-Feb-2020 Rob Bradford <robert.bradford@intel.com>

scripts: Don't use interactive & terminal mode for docker

When running the docker container there is no interactivity needed so
don't pass "-ti" to "docker run"

Signed-off-by: Rob Bradford <robert.

scripts: Don't use interactive & terminal mode for docker

When running the docker container there is no interactivity needed so
don't pass "-ti" to "docker run"

Signed-off-by: Rob Bradford <robert.bradford@intel.com>

show more ...


# a5b053f8 07-Feb-2020 Samuel Ortiz <sameo@linux.intel.com>

scripts: dev_cli: Use a tmpfs mount for /tmp

To mitigate Azure slow disk IO, we mount /tmp on tmpfs.
This is a reproduction of our CI environment, as setup by the
Jenkinsfile.

Signed-off-by: Samuel

scripts: dev_cli: Use a tmpfs mount for /tmp

To mitigate Azure slow disk IO, we mount /tmp on tmpfs.
This is a reproduction of our CI environment, as setup by the
Jenkinsfile.

Signed-off-by: Samuel Ortiz <sameo@linux.intel.com>

show more ...


# 705f2715 04-Feb-2020 Samuel Ortiz <sameo@linux.intel.com>

scripts: dev_cli: Pass unit and integration test args to cargo test

In order, among other things, to use the development CLI to run specific
integration tests. For example, to run only the memory_ov

scripts: dev_cli: Pass unit and integration test args to cargo test

In order, among other things, to use the development CLI to run specific
integration tests. For example, to run only the memory_overhead
integration test:

./scripts/dev_cli.sh tests --integration -- memory_overhead

Signed-off-by: Samuel Ortiz <sameo@linux.intel.com>

show more ...


# 275cb5c9 30-Jan-2020 Samuel Ortiz <sameo@linux.intel.com>

scripts: dev_cli: Add clean command support

Signed-off-by: Samuel Ortiz <sameo@linux.intel.com>


# db6f894e 29-Jan-2020 Samuel Ortiz <sameo@linux.intel.com>

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

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>

show more ...


12345