Environment to build Traffic Control CDN Components. Uses Ansible playbooks to download and setup the environment.
- Download and Install required software
- Build all components (Not completed)
- Installs all the packages required
- Setup MySQL database
- Simply follow the existing Traffic Ops DEV instruction (needs work!)
- Not quite finished, but useful to see how it can handle cpan.
This works great under vagrant in OS X. Only method tested.
- Install Ansible on the Host Server - http://docs.ansible.com/ansible/intro_installation.html
- Install Vagrant - https://www.vagrantup.com/downloads.html
- Install the Ansible Vagrant plugin
vagrant plugin install ansible
- Clone the Traffic Control ENV
git clone https://github.com/smalenfant/traffic-control-env.git
- Clone traffic_control under traffic-control-env and checkout required branch/tag
vagrant up rpm-build
vagrant ssh rpm-build
cd /vagrant/traffic_control
scl enable git19 bash
./build/build.sh <component>
Files will be available in the Vagrant box as well as the host OS in the directory.