Skip to content

raphamorim/tsuru-bootstrap

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 

Repository files navigation

This project enables the use of tsuru inside a Vagrant virtual machine. It does this by booting up a Vagrant VM and then downloading and invoking Tsuru Now.

To start a tsuru + vagrant what you need to do is:

$ vagrant up

Supported providers

tsuru-bootstrap supports multiple providers, you can specify the desired provider with the --provider flag:

$ vagrant up --provider=<provider-name>

Choosing between versions

You can also choose between different tsuru versions using the TSURU_BOOTSTRAP environment variable:

$ TSURU_BOOTSTRAP=nightly vagrant up

Building tsuru from source for contributing

You can also pass options to Tsuru Now via the TSURU_NOW_OPTIONS environment variable -- e.g.: the following will install all the tsuru components from source along with Go 1.4 so you can have a development environment up and running quickly for contributing:

$ TSURU_NOW_OPTIONS="--tsuru-from-source" vagrant up

$ vagrant ssh
vagrant@vagrant-ubuntu-trusty-64:~$ go version
go version go1.4 linux/amd64

vagrant@vagrant-ubuntu-trusty-64:~$ ls -l ~/go/src/github.com/tsuru
total 32
drwxr-xr-x  3 vagrant vagrant 4096 Dec 23 17:11 commandmocker
drwxr-xr-x  4 vagrant vagrant 4096 Dec 23 17:12 config
drwxr-xr-x  6 vagrant vagrant 4096 Dec 23 17:12 docker-cluster
drwxr-xr-x 16 vagrant vagrant 4096 Dec 23 17:13 gandalf
drwxr-xr-x  3 vagrant vagrant 4096 Dec 23 17:13 go-gandalfclient
drwxr-xr-x 30 vagrant vagrant 4096 Dec 23 17:08 tsuru
drwxr-xr-x  6 vagrant vagrant 4096 Dec 23 17:16 tsuru-admin
drwxr-xr-x  6 vagrant vagrant 4096 Dec 23 17:16 tsuru-client

About

bootstraping tsuru with vagrant

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Shell 100.0%