Where Continuous Integration and Deployment has its home.

Manuel Weiss

Subscribe to Manuel Weiss: eMailAlertsEmail Alerts
Get Manuel Weiss via: homepageHomepage mobileMobile rssRSS facebookFacebook twitterTwitter linkedinLinkedIn

Top Stories by Manuel Weiss

How to set up Continuous Integration and Continuous Deployment for a Ruby on Rails Application from BitBucket to Heroku In this blog post we’re gonna deploy a Ruby on Rails application from a Bitbucket repository to Heroku using the Codeship. We’ve set up a simple Ruby on Rails application called codefish which contains some RSpec examples. We’ll use screenshots of this application in this blog post. If you don’t have an own project to set up but you want to follow along on your computer, just fork the repository. Together, we’re gonna deploy this application to Heroku using the Codeship. First, sign in to the Codeship with Bitbucket. The Codeship needs access to your Bitbucket repositories to be able to set them up. Let’s allow access. We’re back at the Codeship. Now let’s create your first project. The first step of your project setup is to select Bitbucket as yo... (more)

Rails migrations with no downtime

This is a guest blog post by Pedro Belo. Pedro worked as a Ruby consultant in Brazil and in the US, until joining Heroku in 2008. When we first read his article from July 2011 we immediately knew it would be perfect to publish on our blog. Lets understand the challenge of changing a Rails database without introducing any downtime with a simple, apparently harmless migration: class ApparentlyHarmlessMigration < ActiveRecord::Migration def self.up remove_column :users, :notes end end I learned this kind of migration is not really harmless the hard way: during a production deploy. ... (more)

Slow Tests Are the Symptom, Not the Cause

This is a republished guest blog post. The original article is written by Oren Dobzinski. You can find it on his Re-factor blog. If you have a slow test suite and you are asking yourself “how can I make my tests faster?” then you are asking the wrong question. Most chances are that you have bigger problems than just slow tests. The test slowness is merely the symptom; what you should really address is the cause. Once the real cause is addressed you will find that it’s easy to write new fast tests and straightforward to refactor existing tests. It’s surprising how quickly a rail... (more)

Continuous Integration and Continuous Deployment with Middleman, Codeship, and GitHub Pages

This is a guest blog post by Ryan McGeary. Ryan runs Busyconf, where he aims to make conference planning easy. When we first saw his article we thought it would be a great tutorial about Continuous Integration and Continuous Deployment for static pages to publish on our blog. We got in contact with him and Ryan kindly provided his original article here. I use GitHub Pages for hosting some of my websites, and I use the Middleman static site generator as my content management system for some of these sites. I like to run continuous integration for my projects whenever possible, an... (more)

How to Set Up Continuous Deployment to Amazon OpsWorks

Deploying code to Amazon OpsWorks using Codeship Here, at Novo IT, we love using Amazon OpsWorks for deploying our internal projects. With OpsWorks, we can easily segregate our development environments in Stacks and control how each project gets built via Chef recipes. OpsWorks binds directly with your code repository of choice. When you initiate a new build, it will pull in the latest changes and build them for you. One task, that is not immediately obvious how to solve, is triggering an OpsWorks build remotely from the command line, or from a build server. This article will expl... (more)