Category archives: DevOps

Stuff about system configuration, deployment, and so on.

RSS feed of DevOps

Shared Config for Deployment and Applications

On application deployment, we often want associated services ready to go. After all, what good is a web application without a database? Ideally, when you first deployed your application, a database and role would automatically be created using the same settings that your application uses. In this post I’ll discuss two methods of sharing database ...

Continue reading

Deb Constrictor: Multiple Parents

To reduce the amount of setup required to start using Deb Constrictor for new projects, build configurations now allow for multiple parents (as of version 0.7). Now, when writing configurations, your build-config.json can inherit from a parent project config containing the project name, and a “base” config that defines the type of project ...

Continue reading

Deb Constrictor for Configuration Deployment (Part 3)

Welcome to the thrilling conclusion of this three-part series on deploying this site with Deb Constrictor. This post will cover how to build and deploy DPKGs for configuration (including different configuration for different environments), and how v0.4 of Deb Constrictor adds the ability to mark files as configuration.

This post assumes you’ve read part ...

Continue reading

Deb Constrictor for Virtualenv Deployment (Part 2)

Using Docker for a reproducible deployment environment! Now that I have your attention with some buzzwords, welcome to the second of three parts in my series on how I deploy this site using Deb Constrictor. The last post was about building and deploying the application code, this one is about building the Python virtual environment ...

Continue reading

Deb Constrictor for Application Deployment (Part 1)

Deb Constrictor (my pure-Python DPKG building application) adds many features in version 0.3 to make building packages easier and to keep your configurations DRY. This is part one of three posts of how I use Deb Constrictor to build and release this web site (the one you’re reading right now).

The application is released ...

Continue reading

Building Debian Packages with Python (UPDS Part I.V)

I use DPKGs for all my deployments, and have tried a number of tools to build them. None have been perfect though, so what’s the best solution? Build my own, of course! TL;DR: I wrote a native Python (OS-independent) package to build Debian Packages: deb‑constrictor.

Alternatives

I’ve tried a few ways ...

Continue reading

The Ultimate Python Deployment System I

I don’t release stuff as often as I should. Because it’s a pain to configure new applications and get them installed where you want them. I want a tool that:

  • Will automatically install dependencies
  • Handles version incrementing without being tied to source control (i.e. the current version is stored in a file ...

Continue reading

Help, I've been a-salt-ed!

I love to start posts with a terrible pun. I also love Salt. If you’re not familiar with Salt, it’s a tool for managing servers, similar to the likes of Puppet and Chef. They all claim to be great for taking control of an army of machines, but for my purposes I just ...

Continue reading