From 359382644155e9e7a50c196cbeedca1d57260b76 Mon Sep 17 00:00:00 2001 From: Pascal Vizeli Date: Wed, 14 Aug 2019 10:37:39 +0000 Subject: [PATCH] Fix issue with windows dev env --- .gitignore | 3 --- scripts/test_env.sh | 6 +++--- 2 files changed, 3 insertions(+), 6 deletions(-) diff --git a/.gitignore b/.gitignore index 9ad92a16a..74453f62e 100644 --- a/.gitignore +++ b/.gitignore @@ -95,6 +95,3 @@ ENV/ .vscode/* !.vscode/cSpell.json !.vscode/tasks.json - -# Test Env -test_data/ \ No newline at end of file diff --git a/scripts/test_env.sh b/scripts/test_env.sh index db35b3760..4600a1720 100755 --- a/scripts/test_env.sh +++ b/scripts/test_env.sh @@ -73,7 +73,7 @@ function install_cli() { function setup_test_env() { - mkdir -p test_data + mkdir -p /workspaces/test_hassio docker run --rm --privileged \ --name hassio_supervisor \ @@ -81,9 +81,9 @@ function setup_test_env() { --security-opt apparmor:unconfined \ -v /run/docker.sock:/run/docker.sock \ -v /run/dbus:/run/dbus \ - -v "$(pwd)/test_data":/data \ + -v "/workspaces/test_hassio":/data \ -v /etc/machine-id:/etc/machine-id:ro \ - -e SUPERVISOR_SHARE="$(pwd)/test_data" \ + -e SUPERVISOR_SHARE="/workspaces/test_hassio" \ -e SUPERVISOR_NAME=hassio_supervisor \ -e SUPERVISOR_DEV=1 \ -e HOMEASSISTANT_REPOSITORY="homeassistant/qemux86-64-homeassistant" \