blob: a6aa74437273b6da4f7ba0e2c36f0049c699f07d [file] [log] [blame]
Andy Bavier24926192016-01-29 11:42:29 -05001.PHONY: xos
2xos: nodes.yaml images.yaml
3 sudo docker-compose up -d
Andy Bavier6d33bc32016-02-01 11:12:20 -05004 ../xos/configurations/common/wait_for_xos_port.sh 8000
Andy Bavier24926192016-01-29 11:42:29 -05005 sudo docker-compose run xos python /opt/xos/tosca/run.py padmin@vicci.org /root/setup/setup.yaml
6 sudo docker-compose run xos python /opt/xos/tosca/run.py padmin@vicci.org /root/setup/nodes.yaml
7 sudo docker-compose run xos python /opt/xos/tosca/run.py padmin@vicci.org /root/setup/images.yaml
Pingping Line94644c2016-03-04 14:37:02 -08008 sudo docker exec containers_xos_1 cp /opt/xos/configurations/frontend/mocks/xos_mcord_config /opt/xos/xos_configuration/
Andy Bavier24926192016-01-29 11:42:29 -05009
10nodes.yaml:
11 export SETUPDIR=.; bash ../xos/configurations/common/make-nodes-yaml.sh
12
13images.yaml:
14 export SETUPDIR=.; bash ../xos/configurations/common/make-images-yaml.sh
15
16.PHONY: local_containers
17local_containers:
Pingping Lin3df9b352016-04-01 01:53:19 -070018 cd xos; make devel
19 cd synchronizer; make
20enter-xos:
21 sudo docker exec -it containers_xos_1 bash
22
23enter-os:
24 sudo docker exec -it containers_xos_synchronizer_openstack_1 bash
25
26enter-mc:
27 sudo docker exec -it containers_xos_synchronizer_mcordservice1 bash
28
29upgrade_pkgs:
30 sudo pip install httpie --upgrade
31
32rebuild_xos:
33 make -C xos devel
34
35rebuild_synchronizer:
36 make -C synchronizer
37
38stop:
39 docker-compose stop
40
41rm:
42 docker-compose stop; docker-compose rm
43