###Practice Immutable Deployments
In this project I am going to show how you can simply use Apahce Mesos, Marathon and Jenkins to implement full Continuous Integration and Continuous Delivery (CI/CD). In this project I have used vagrant which will automatically install docker and docker-compose and by providing docker-compose.yml it will install and configure Jenkins , Mesos Master and Slave, Marathon and Zookeeper all inside docker containers.
###Requirements
- Install [Virtual Box] (https://www.virtualbox.org/wiki/Downloads)
- Install [Vagrant] (https://www.vagrantup.com/)
- Install Vagrant [Docker Compose pluging] (https://github.com/leighmcculloch/vagrant-docker-compose)
- Fetch the app1 code from https://github.com/farshi/app1
###How to Run the code
first fetch the mesos-cicd and app1 from the github repos:
$ git clone https://github.com/farshi/mesos-cicd.git
$ git clone https://github.com/farshi/app1
and then
$ cd mesos-cicd
$ vagrant up
###Behind the proxy? If you are using http proxy server , then you need to comment out proxy settings blocks in these files
- mesos-cicd\Vagrantfile
- mesos-cicd\Jenkins\Dockerfile
and then run PRX=on vagrant up