2014-10-06 - Testing tsuru PaaS system

Installing my app:

vagrant@tsuru:~/GIT/tsuru-demo$ git commit -m 'Add basic app'
[master 57ffb34] Add basic app
 3 files changed, 29 insertions(+)
 create mode 100644 .buildpacks
 create mode 100644 Procfile
 create mode 100755 app.psgi
vagrant@tsuru:~/GIT/tsuru-demo$ git remote -v
vagrant@tsuru:~/GIT/tsuru-demo$ git remote add tsuru git@192.168.50.4.nip.io:helloworld.git
vagrant@tsuru:~/GIT/tsuru-demo$ git push tsuru master
Counting objects: 8, done.
Compressing objects: 100% (6/6), done.
Writing objects: 100% (8/8), 1.00 KiB | 0 bytes/s, done.
Total 8 (delta 0), reused 0 (delta 0)
remote: tar: Removing leading `/' from member names
remote: BUILDPACK: 
remote:        Multipack app detected
remote: =====> Downloading Buildpack: https://github.com/miyagawa/heroku-buildpack-perl.git
remote: =====> Detected Framework: Perl/PSGI
remote: -----> Bootstrapping cpanm
remote:        Successfully installed App-cpanminus-1.7012
remote:        1 distribution installed
remote: -----> Installing dependencies
remote:        ! Configuring . failed. See /home/ubuntu/.cpanm/work/1412583687.168/build.log for details.
remote: -----> Installing Starman
remote:        Successfully installed ExtUtils-Config-0.008
remote:        Successfully installed ExtUtils-InstallPaths-0.010
remote:        Successfully installed ExtUtils-Helpers-0.022
remote:        Successfully installed Test-Harness-3.33
remote:        Successfully installed Module-Build-Tiny-0.038
remote:        Successfully installed HTTP-Date-6.02
remote:        Successfully installed File-ShareDir-Install-0.09
remote:        Successfully installed Test-SharedFork-0.29
remote:        Successfully installed Test-TCP-2.06
remote:        Successfully installed URI-1.64
remote:        Successfully installed LWP-MediaTypes-6.02
remote:        Successfully installed Encode-Locale-1.03
remote:        Successfully installed IO-HTML-1.001
remote:        Successfully installed HTTP-Message-6.06
remote:        Successfully installed HTTP-Body-1.19
remote:        Successfully installed Try-Tiny-0.22
remote:        Successfully installed POSIX-strftime-Compiler-0.40
remote:        Successfully installed Apache-LogFormat-Compiler-0.32
remote:        Successfully installed Filesys-Notify-Simple-0.12
remote:        Successfully installed Class-Inspector-1.28
remote:        Successfully installed File-ShareDir-1.102
remote:        Successfully installed HTTP-Tiny-0.050 (upgraded from 0.025)
remote:        Successfully installed Hash-MultiValue-0.15
remote:        Successfully installed Devel-StackTrace-1.34
remote:        Successfully installed Devel-StackTrace-AsHTML-0.14
remote:        Successfully installed Stream-Buffered-0.03
remote:        Successfully installed Plack-1.0032
remote:        Successfully installed Net-Server-2.008
remote:        Successfully installed Data-Dump-1.22
remote:        Successfully installed HTTP-Parser-XS-0.16
remote:        Successfully installed Starman-0.4010
remote:        31 distributions installed
remote: Using release configuration from last framework (Perl/PSGI).
remote: -----> Discovering process types
remote:        Procfile declares types -> web
remote:        Default process types for Multipack -> web
remote: 
remote: ---- Building application image ----
remote:  ---> Sending image to repository (22.28MB)
remote:  ---> Cleaning up
remote: 
remote: ---- Starting 1 new unit ----
remote:  ---> Started unit 63ba717632...
remote: 
remote: ---- Adding routes to 1 new units ----
remote:  ---> Added route to unit 63ba717632
remote: 
remote: OK
To git@192.168.50.4.nip.io:helloworld.git
 * [new branch]      master -> master

So far, so good!

vagrant@tsuru:~/GIT/tsuru-demo$ tsuru app-list 
+-----------------+-------------------------+-------------------------------------+--------+
| Application     | Units State Summary     | Address                             | Ready? |
+-----------------+-------------------------+-------------------------------------+--------+
| helloworld      | 0 of 1 units in-service | helloworld.192.168.50.4.nip.io      | Yes    |
+-----------------+-------------------------+-------------------------------------+--------+
| tsuru-dashboard | 1 of 1 units in-service | tsuru-dashboard.192.168.50.4.nip.io | Yes    |
+-----------------+-------------------------+-------------------------------------+--------+

This looks very nice. At this point, 2 tsuru apps should be ready to run, at the hostnames shown, which both resolve to 192.168.50.4, the address of my cluster.