blob: 7612c45ef4b9f80eb62ccaf1ead0d59aefb92006 [file] [log] [blame]
MYIP:=$(shell hostname -i)
test: frontend
sudo docker exec -i teststandalone_xos_1 bash -c "cd /opt/xos/tests/api; npm install --production"
sudo docker exec teststandalone_xos_1 pip install dredd_hooks
sudo docker exec -i teststandalone_xos_1 bash -c "cd /opt/xos/tests/api; npm test"
frontend:
sudo make -f ../common/Makefile.prereqs
sudo docker-compose up -d
bash ../common/wait_for_xos.sh
sudo docker-compose run xos python /opt/xos/tosca/run.py padmin@vicci.org /opt/xos/configurations/frontend/sample.yaml
base-container:
cd ../../../containers/xos; make devel
containers: base-container
cd ../../../containers/xos; make test
stop:
sudo docker-compose stop
showlogs:
sudo docker-compose logs
rm: stop
sudo docker-compose rm
enter-xos:
sudo docker exec -ti teststandalone_xos_1 bash