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?'