
Adding docker integration for easy development of quark. This will be closely tied to the current software revision on any given patch. This allows you to vagrant up any current code revision as it will copy over the current working codebase to the docker image for installation into a virtualenv. This also employs several docker containers to make it easier to manage. It contains Redis, RabbitMQ, MySQL, PHPMySQLAdmin, and Kabana with Elasticsearch for log analysis. If your code changes and you need to test again after you docker_up.sh, you can easily docker_reload.sh and it will only update quark and start the process. In addition, this will insert a set number of networks and subnets for easy starting. Change-Id: I70d0ec9aed1548796bd8d4a9c1a94506234378f9 JIRA:NCP-1692 Implements: blueprint vagrant-quark
50 lines
1.2 KiB
Bash
Executable File
50 lines
1.2 KiB
Bash
Executable File
#!/bin/bash
|
|
|
|
echo "Mysql: Stopping & Deleting Container..."
|
|
docker stop mysql
|
|
docker rm mysql
|
|
echo "Mysql: Complete"
|
|
echo "-----------------------"
|
|
echo " "
|
|
|
|
echo "PHPMyAdmin: Stopping & Deleting Container..."
|
|
docker stop phpmyadmin
|
|
docker rm phpmyadmin
|
|
echo "PHPMyAdmin: Complete"
|
|
echo "-----------------------"
|
|
echo " "
|
|
|
|
echo "ELK: Stopping & Deleting Container..."
|
|
docker stop kibana
|
|
docker rm kibana
|
|
echo "ELK: Complete"
|
|
echo "-----------------------"
|
|
echo " "
|
|
|
|
echo "RabbitMQ: Stopping & Deleting Container..."
|
|
docker stop rabbitmq
|
|
docker rm rabbitmq
|
|
echo "RabbitMQ: Complete"
|
|
echo "-----------------------"
|
|
echo " "
|
|
|
|
echo "Redis: Stopping & Deleting Container..."
|
|
docker stop redis
|
|
docker rm redis
|
|
echo "Redis: Complete"
|
|
echo "-----------------------"
|
|
echo " "
|
|
|
|
echo "Redis Sentinel: Stopping & Deleting Container..."
|
|
docker stop redis-sentinel
|
|
docker rm redis-sentinel
|
|
echo "Redis Sentinel: Complete"
|
|
echo "-----------------------"
|
|
echo " "
|
|
|
|
echo "Neutron/Quark: Stopping & Deleting Container..."
|
|
docker stop quark
|
|
docker rm quark
|
|
echo "Neutron/Quark: Complete"
|
|
echo "-----------------------"
|
|
echo " " |