This is an attempt to make the testing and deploying process for dashboard more consistent and running everything in docker.
There is a run
script helps you to fetch some information from host and set
it into docker. It's only a simple wrap of docker-compose run
. And you
can always use this script as the entrypoint.
This process requires that you have Docker installed locally. Googlers, see go/install-docker.
E.g. sudo apt install docker-ce docker-compose
.
cd dev_dockerfiles
./run auth
You need to manually rebuild the images every time Dockerfile have updated currently. This process can be automated in run
script later.
docker-compose down
docker-compose build --no-cache
./run python-unittest
./run deploy-dashboard
./run deploy-pinpoint