Continuous Deployment with anynines, github and Travis CI

A few words about continuous deployment

Continuous deployment is part of the continuous delivery paradigm. The basic idea of continuous delivery is to automate the software delivery process as far as possible. This includes automated testingcontinuous integration as well as continuous deployment.

Your continuous deployment benefits

With a working continuous deployment chain in place you gain the following benefits:

Git deployments
This prevents individual developers having uncommitted code.

Everything must be committed to be tested and everything must be tested to be deployed.

Easy to learn and use
As you will learn in this article continuous deployment is easy to setup. But more importantly, think of your growing team of developers. New team members have to learn how to use your CI and deployment process.

With a continuous deployment in place all they need to learn is to commit to a git repository.

Everybody can deploy
Many teams allow only certain members to deploy code. Why is that? Most likely either because of lacking trust within the team and/or because of complicated deployment procedures. You can get rid of both causes, easily by enforcing a CI along with an automated deployment. (more…)

Ruby Fog gem HP Provider now with OpenStack Swift Temp Url Support

The Fog HP storage provider is currently the most stable and recommended way to access Swift using Ruby as the HP storage implementation is more reliable than the OpenStack provider.

So while you should use OpenStack::Identity for tenant and user management, Swift access is rather done using HP::Storage of the HP provider.

During the creation of the Anynines OpenStack Swift file storage service a pull request to the Ruby fog gem has been made.

The pull request enhances the HP Fog provider to create temporary URLs for files stored on OpenStack Swift.
Here HP goes a different way calculating the required signature to request a temporary url. Both strategies: HP and OpenStack are now supported. (more…)

How to use the anynines Swift service with your app

Introduction

The anynines Swift service enables your apps to store files to our Swift cloud storage solution. This tutorial will demonstrate the usage of the Swift service from within ruby apps using the fog gem. Fog implements a wrapper around cloud storage services and includes provider (driver) classes for many different storage providers. Currently the hp provider is the most compatible driver for our Swift service. Please ensure that you are using fog version 1.15.0 to use the hp provider’s temp url creation function.

Let’s step into the storage arena! (more…)