mirror of
https://github.com/kata-containers/kata-containers.git
synced 2025-08-12 13:22:28 +00:00
tests: Skip set_runtime if KATA_DEV_MODE is set
set_runtime attempts to overwrite the host docker configuration to default to DOCKER_RUNTIME instead of kata-runtime, which does not work for 'docker build'. Since this is a host altering step, skip it if KATA_DEV_MODE is set. Signed-off-by: Cole Robinson <crobinso@redhat.com>
This commit is contained in:
parent
17a8fb13a1
commit
6f17b9cb48
@ -254,6 +254,8 @@ set_runtime()
|
|||||||
|
|
||||||
[ -z "$name" ] && die "need name"
|
[ -z "$name" ] && die "need name"
|
||||||
|
|
||||||
|
[ -n "${KATA_DEV_MODE}" ] && return
|
||||||
|
|
||||||
# Travis doesn't support VT-x
|
# Travis doesn't support VT-x
|
||||||
[ -n "${TRAVIS:-}" ] && return
|
[ -n "${TRAVIS:-}" ] && return
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user