Quantcast
Channel: dotCloud Blog » build
Viewing all articles
Browse latest Browse all 3

Upgrade your app to the Granite build system

$
0
0

As you know from reading the latest blog, as part of our perpetual quest for absolute reliability and scalability, we recently introduced a new build and deployment system called Granite. 

If you’ve deployed an application in the last 6 weeks, you’re already enjoying the many features of Granite right now: zero downtime on deployment, auto-rollback, instant scaling and strong consistency across all containers in your app.

We also mentioned that Granite was only available for new apps. Applications deployed with the legacy build system had no way to be upgraded – until now!

We are very happy to report that all applications can now be migrated to the Granite build system with one simple command.

 

What do I do?

Just push a clean build, by running the following command in your application’s directory:

$ dotcloud push MYAPP –clean

It’s that simple!

As usual, please note that any manual changes made by SSH-ing into your application container will be discarded. Remember, non-repeatable changes are not supported!

 

How does it work?

Clean builds are a new feature of Granite. Unlike the default incremental build, which starts from a snapshot of the previous build, a clean build starts from scratch, using only the vanilla source code. This guarantees that no artifact of a previous build will remain. Clean builds are slower, but it is healthy to run one from time to time, to verify that your application still builds cleanly from scratch.

Triggering a clean build on a pre-Granite application will therefore run the entire build process from scratch – in Granite. And Presto! Your app is now 100% Granite-based.

 

Send us feedback!

Once you’ve upgraded your app to Granite, let us know about it! Are you seeing the difference? Do you miss some of the old quirks? Are you wondering why we called it Granite instead of Basalt which is clearly a more badass name?

Get in touch! We love getting feedback.

 


Viewing all articles
Browse latest Browse all 3

Latest Images

Trending Articles





Latest Images