From 3d9a7c7a0865037f8ff303639f8a6f83c28ddece Mon Sep 17 00:00:00 2001 From: Leon Stafford Date: Sun, 2 Apr 2017 22:29:45 +1200 Subject: [PATCH] filepath rel to proj root Former-commit-id: 3afa1bcb928256872a52fbbd88972298bc583328 --- provisioning/destroy_and_rebuild.sh | 2 +- provisioning/publish_release.sh | 2 +- provisioning/run_tests.sh | 4 ++-- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/provisioning/destroy_and_rebuild.sh b/provisioning/destroy_and_rebuild.sh index 8cbe542a..6775b08a 100755 --- a/provisioning/destroy_and_rebuild.sh +++ b/provisioning/destroy_and_rebuild.sh @@ -5,6 +5,6 @@ sudo docker rm -f devmysql sudo docker rm -f plugindevwp sudo docker build -t leonstafford/wordpress-static-html-plugin:latest . sudo docker run --name devmysql -e MYSQL_ROOT_PASSWORD=banana -d mariadb -sudo docker run --name plugindevwp --link devmysql:mysql -p 8080:80 -d -v $(pwd)/../:/app leonstafford/wordpress-static-html-plugin +sudo docker run --name plugindevwp --link devmysql:mysql -p 8080:80 -d -v $(pwd):/app leonstafford/wordpress-static-html-plugin sudo docker exec plugindevwp sh /post_launch.sh sudo docker exec -it plugindevwp sh /watch_source_files.sh diff --git a/provisioning/publish_release.sh b/provisioning/publish_release.sh index a52748df..afe122de 100755 --- a/provisioning/publish_release.sh +++ b/provisioning/publish_release.sh @@ -1,6 +1,6 @@ #!/bin/bash -PROJECT_ROOT=$(pwd)/../ +PROJECT_ROOT=$(pwd) SVN_ROOT=/home/leon/svnplugindir NEW_TAG=1.9 diff --git a/provisioning/run_tests.sh b/provisioning/run_tests.sh index bd435191..cc820c29 100755 --- a/provisioning/run_tests.sh +++ b/provisioning/run_tests.sh @@ -3,10 +3,10 @@ sudo docker rm -f devmysql sudo docker rm -f plugindevwp sudo docker rm -f seleniumserver -sudo docker build -t leonstafford/wordpress-static-html-plugin:latest ../ +sudo docker build -t leonstafford/wordpress-static-html-plugin:latest . sudo docker run --name seleniumserver -d -p 4444:4444 -v /dev/shm:/dev/shm selenium/standalone-chrome:latest sudo docker run --name devmysql -e MYSQL_ROOT_PASSWORD=banana -d mariadb -sudo docker run --name plugindevwp --link devmysql:mysql -p 8080:80 -d -v $(pwd)/../:/app leonstafford/wordpress-static-html-plugin +sudo docker run --name plugindevwp --link devmysql:mysql -p 8080:80 -d -v $(pwd):/app leonstafford/wordpress-static-html-plugin sudo docker exec plugindevwp sh /post_launch.sh echo 'what is running now?'