How to clean up TeamCity build configuration In this blog post I will describe how I went from roughly 150 build configuration, which were copy-pasted from each other, to all of them using a single template and only specifying the differences in each build configuration. TeamCity Kotlin DSL feature was used in order to simplify this normally unbelievably tedious task. The problem We run contract tests on TeamCity. With a big number of microservices, we had an even bigger number of contract tests, each with their own build configuration.
Github reusable workflows and how to verify them In december 2022 GitHub added the ability to share workflows between private repositories, opening the doors for Enterprises to make use of this feature. In this post I will describe how I implemented this in my APISMART Team and how I developed a system to verify changes to the reusable workflow. Basic knowledge of GitHub Actions is assumed. A working example can be found here: reusable-workflows-with-ci and reusable-workflows-sample-project