Author: Max
-
13. #everyonecancontribute Cafe: Autoscaling Gitlab Runners on Hetzner Cloud
A while ago Michael invited me to join the weekly #everyonecancontribute coffee chats. It took me a while until I actually managed to join, but yesterday I attended the call for the second time and was promptly surprised when the agenda turned out to be a hands-on demo of an earlier blogpost of mine: Autoscaling…
-
Custom Error Pages with Caddy
For static pages like this blog I like to use Caddy as a webserver. It is (mostly) easy to configure, small, fast and easy to put into a Docker container. Recently I wanted to serve a custom 404 page and assumed it would be straight forward with Caddy. At least for me it was not.…
-
Automatic Dependency Updates with Renovate and GitLab
Most software projects use other projects/libraries as dependencies. And if we describe infrastructure as code we also depend on other things, e.g. specific versions of Terraform modules or Docker images. The best practice is to always specify dependencies as precise as possible to make the outcome of the build or deployment reproducible. When a codebase…
-
Autoscaling GitLab Runners on Hetzner Cloud
I use a private instance of GitLab a lot and utilize the GitLab CI for most of my private projects. To speed up the CI jobs I wanted to have more GitLab runners available on demand. From our GitLab instance at work I already knew that GitLab supports autoscaling runners with docker-machine. At work we…
-
Dealing with Basic Auth in Cypress Tests
Cypress is an open source testing framework that is described by its maintainers as “Fast, easy and reliable testing for anything that runs in a browser.” I started to use it in the CI/CD pipeline of this blog to ensure that the website still works after I made changes. After a few days it has…
-
Debugging Tools for Open Graph
When I migrated my blog to Gatsby it took me a while to find a theme that looked good and satisfied my requirements. In the end I was not able to find an existing Gatsby theme, so I settled on the Future Imperfect theme of HTML5 UP and transformed their template into a Gatsby theme.…
-
Remove Untracked Files with Git
When working with Git I sometimes end up with a lot of untracked local files that I want to get rid of. For example, compiling things and testing around can create more stuff than expected or a git reset origin/master rolling back a lot of commits can leave a bunch of leftovers. To me this…
-
Typing en and em Dashes in VS Code
In written text there are (at least) three different types of dashes: the hypen -, the en dash – and the em dash —. They almost look the same and often the hyphen is wrongly used instead of the en or em dash because it is the easiest to type with the – key on…
-
Failing GitLab Update Due to Config Deprecations
I have been running a personal GitLab instance for many years now. Today GitLab 13 with many great improvements and new features was released. While the update process of GitLab is normally so stable that I had no issues with enabled auto-updates for years, this time it failed. But of course it wasn’t even GitLabs…