/gaia-taskenv

DEPRECATED - [DEPRECATED] Docker Image for gaia

Primary LanguageShellApache License 2.0Apache-2.0

Gaia Docker Taskenv

In an ideal system we could ship the exact test container environment along with the source code that needs to run on it. With docker we can get very very close (though limited to linux right now).

The goal here is to provide a very simple base docker image for use in testing with the docker test host and gaia (firefox os).

Development

Building the docker image

You need vagrant installed already.

vagrant up
vagrant ssh
cd /vagrant
make docker_image

you now have a lightsofapollo/gaia-testenv container. Pass DOCKER_TAG environment variable to make to change the container tag.

Testing

Script unit tests

The unit tests are written in node and test the generator scripts throughly.

make test

End to end testing

The end to end tests verify everything is happy inside the docker container.

vagrant ssh
cd /vagrant
make test-docker