Comments

This post talks about how to run tests for the build setup as mentioned in Part 1.
Generate the build script for test
The suggested practice is to have 2 separate projects for android, one the source and the other for the tests. The following command will generate a build.xml for the test project. Replace the with [...]

Continue Reading

Confident Estimates

Published on 29 September 2011 by Manoj in All Posts, Process

Comments

We constantly try to provide accurate estimates that we can defend with confidence. But there are situations where we end up making mistakes. And this post describes one such situation.
One of our clients asked us to estimate a feature. As usual, we sent back an estimate without much delay.
After few days, our client asked us [...]

Continue Reading

Comments

We’ve set up our CI server for building android apps. We use Jenkins as our CI server, but the same steps can be applied to any CI server.
Setup Android Environment on CI server
You need to first install the android SDK and platform tools on the CI server. The steps are well defined here. You can run [...]

Continue Reading

Comments

According to the book Continuous Delivery, the database also should be under version control, and Rails allows us to achieve this with ActiveRecord Migrations. Even though Capistrano can run the migrations automatically with its deploy command, its deploy:rollback task does not rollback the DB migrations automatically.  I’ve created a small capistrano recipe which can take care [...]

Continue Reading

Comments

One problem we faced with the pipeline setup what I had mentioned in my first post was that – it was not handling how to run the extra tasks that we need to do in some of the deployments. Some examples are:

Reindex the solr/lucene indexes if any new field has been added to the index
Some [...]

Continue Reading

Comments

Metrical is for easier metric_fu setup. You can see the details on why and how here. Its an awesome tool which allows us to easily use metric_fu without adding any dependency to the project code.
The steps I followed for setting it up in our Jenkins server are:

Install the gem. I installed it under our [...]

Continue Reading

Comments

As part of our journey towards implementing Continous Delivery, I’ve added the Build pipeline for our continous integration server Jenkins.  There are quite a few resources available on the net on how to add the plugin and configure it. This blog is not about how to configure the plugin, but more on how I’ve configured [...]

Continue Reading

Comments

We recently launched a product into production. It was a 4 month long project – with 5 full time members on the team. Right from the outset, one of things that we wanted to do, was to set and maintain a rhythm across the entire duration of the project. We set this rhythm to 1 [...]

Continue Reading

Comments

I know its been almost two weeks since its all over, things may not be fresh in mind. And all of us were very busy with “go live” for one of our client projects. But as its “better later than never”, I am putting my thoughts about the recently concluded RubyConf held in Bangalore on [...]

Continue Reading

Comments

We attended Venkat Subramaniam’s talk on Code Quality at Yahoo India a couple of days back.
Venkat is the founder of Agile Developer and the author of several books. Consultant and Adjunct Professor are some of the other hats he wears. It was an inspiring experience. While we were reassured that our current practices are on [...]

Continue Reading