Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

blucon.sh is building a docker image, mount  mounts required directories and runs a blucon container.

blucon container mounts directories as mentioned in volumes.yaml and runs  a container to validate each layer and mount directories as mentioned in volumes.yaml.  Entire docker command including mount points is printed on the screen.  As part of your development process you can modify this docker statement a little and start the container manually and play with it.  Couple modification of modifications needed for every developer are -it to start the container in the interactive mode and -v /home/ubuntu/validation/:/opt/akraino/validation/  to mount your local code to container.  In this way you can modify code in your favorite IDE and just run it in the container. If you are happy with the changes you can commit them to http://gerrit.akraino.org/r/validation

Code Block
... On your host eg. for OS layer
ubuntu@jumpserver:~$ docker run --rm -it \ 
  -v /home/ubuntu/validation/:/opt/akraino/validation/ \
  -v /home/ubuntu/results:/opt/akraino/results \
  -v /home/ubuntu/.ssh:/root/.ssh \
  akraino/validation:os-latest /bin/sh

... Within in the container
# cd /opt/akraino/validation && python bluval/bluval.py -l os -o rec

...