-
Notifications
You must be signed in to change notification settings - Fork 86
Building and Testing
NooBaa's Makefile contains several container targets:
builder: This is the image later used to build NooBaa and Tester images from. It contains tools and dependencies for building the next images in the chain.
base: This image already contains NooBaa code, it acts as the common base for both the NooBaa container and the Tester Container.
noobaa: This is the NooBaa image which will be run.
tester/test: Tester is a noobaa image with all the tests (unit and system) loaded into it. Test would run the unit tests on the build tester image.
Running make test
would result in the build of tester and running the unit tests on it. IT is preferable to consume this via minikube. You can easily set minikube to act as the docker env by running minikube docker-env
.
After setting it, running any make
command will result in the image created within minikube itself.