-
Today I wrote a commit message that was several screens long. I think it deserves to be a blog post of its own Update: the commit linked above required some modification to remove flakiness, but the workaround still stands. Diff provided in this blog post was updated to reflect current … -
Running Libvirt (KVM) in Cirrus CI
Up until the middle of 2019 it was very unusual to even expect that any CI service would allow nested virtualization. Those who required such functionality had to maintain their own CI runners on their own infrastructure. Things changed when Google Cloud introduced nested KVM support. Cirrus CI was probably … -
Cirrus CI integration for GitLab projects
Cirrus CI is a relatively new hosted CI service that offers several unique features. It's probably the only CI provider to offer full virtualization (KVM) or FreeBSD runners for free. Currently their business model is centered around GitHub Marketplace and only the projects hosted at GitHub are supported. Fortunately Cirrus … -
Cygwin CI journey
Setting up Cygwin CI environment for testing one of my projects took more than fifty trial-and-error attempts - that's why I think it will be useful to leave some written notes on the issues I've encountered. Here is the end result - GitHub CI running some Makefile tests in Cygwin. Cygwin gotchas … -
Don't blindly trust Docker for the selfhosted stuff
It is my strong belief that you shouldn't go crazy with all-things-docker when deploying selfhosted services at home. Online forums, especially r/selfhosted, seem to foster an opinion that providing a Dockerfile or better yet a docker-compose.yml or even prebuilt public images on Docker Hub is an acceptable way … -
Manage Python virtual environment from your Makefile
I often use Makefiles not just as a build tool but as a handy way to execute sequences of commands. The commands I've found myself executing again and again lately are the ones to manage Python virtual environments: Create new venv Update pip to the latest version that enables all … -
On dotfiles management
This will be yet another description of dotfiles management by some random person on the Internet. I will try to explain what my setup is like and why it is that way. If you're not yet using version control software for your configuration files I strongly encourage you to start … -
Liberating effect of Ansible
Maintaining two or three Linux machines is not that hard of a task. For many years I have thought it was not worth the effort to automate - regular backups and version-controlled configuration files seemed to be just enough. And then Ansible had blown my mind. History It all started with …