<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0" xmlns:cc="http://cyber.law.harvard.edu/rss/creativeCommonsRssModule.html">
    <channel>
        <title><![CDATA[Stories by Philipp Trulson on Medium]]></title>
        <description><![CDATA[Stories by Philipp Trulson on Medium]]></description>
        <link>https://medium.com/@p.trulson?source=rss-a4eee9ba94d3------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/0*HQs1rfTtIBYvla8r</url>
            <title>Stories by Philipp Trulson on Medium</title>
            <link>https://medium.com/@p.trulson?source=rss-a4eee9ba94d3------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Fri, 04 Dec 2026 14:37:28 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@p.trulson/feed" rel="self" type="application/rss+xml"/>
        <webMaster><![CDATA[yourfriends@medium.com]]></webMaster>
        <atom:link href="http://medium.superfeedr.com/" rel="hub"/>
        <item>
            <title><![CDATA[Deployments made easy]]></title>
            <link>https://medium.com/rebuy-recommerce/deployments-made-easy-e6655df4c77c?source=rss-a4eee9ba94d3------2</link>
            <guid isPermaLink="false">https://medium.com/p/e6655df4c77c</guid>
            <category><![CDATA[argo-cd]]></category>
            <category><![CDATA[continuous-integration]]></category>
            <category><![CDATA[github-actions]]></category>
            <category><![CDATA[kubernetes]]></category>
            <category><![CDATA[continuous-deployment]]></category>
            <dc:creator><![CDATA[Philipp Trulson]]></dc:creator>
            <pubDate>Tue, 30 May 2023 14:51:46 GMT</pubDate>
            <atom:updated>2023-05-30T14:51:46.101Z</atom:updated>
            <content:encoded><![CDATA[<h3>Deployments made easy — CD the rebuy way</h3><figure><img alt="rebuy x ArgoCD" src="https://cdn-images-1.medium.com/max/1024/1*wqpPYfbSqWX1IdCgynbcSw.png" /></figure><h3>Introduction</h3><p>For almost a decade now, rebuy doesn’t have a dedicated system administration or operations team — at least name-wise. Instead, we have a <em>platform team</em> consisting of three people, because that’s what we do: Provide our developers with a stable and easy-to-use platform that helps them iterate quickly. One very important pillar of that platform is the deployment process, which is crucial to quickly roll out updates to our production systems since we are following a rolling release model instead of having fixed release dates. In this article, we want to give a short overview of our interpretation of <em>Continuous Deployment</em>.</p><h3>Step 1: Open a Pull Request</h3><p>After developers have finished developing locally on their <a href="https://www.vagrantup.com/">Vagrant</a> environment, they open a <em>Pull Request</em> on GitHub to merge their changes. Immediately after opening (and again after every pushed commit), we run our <a href="https://github.com/rebuy-de/github-actions-workflows">GitHub Actions workflows</a> that:</p><ol><li>Build a container image with <a href="https://podman.io/">Podman</a> that is pushed to our container registry</li><li>Execute unit and integration tests for the project</li></ol><p>This way, we have the <em>Continuous Integration</em> part covered as well and can ensure that the provided code is compiling and passes all tests. Additionally, other colleagues can test this branch locally without compiling the code themselves by automatically downloading the Java artifacts.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*7uj80f2TiqbryFRqj-CdYg.png" /><figcaption>Open GitHub Pull Request with successful CI workflows</figcaption></figure><h3>Step 2: Test or demonstrate the changes</h3><p>While unit tests are great and highly encouraged, more complex changes should be tested in a realistic environment, or maybe the team wants to demonstrate the change to their Product Manager. For this, we have two ways:</p><p>a) Use our separate staging cluster as a playground where services can break on the way</p><p>b) Create a canary deployment on production that has access to the main database and messaging queues but doesn’t receive any incoming traffic</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/512/1*NFfd7_9mRo06rYtBGZek9w.png" /><figcaption>Status page for a deployment in our Slack integration</figcaption></figure><p>Whatever a dev decides, our deployment tool of choice for Kubernetes is <a href="https://argoproj.github.io/cd/">ArgoCD</a>, which proved to be stable and easy to use over the years. On the other hand, clicking around in a web UI can be cumbersome and error-prone, so we developed our own Slack integration called Kubot, our successor to <a href="https://hubot.github.com/">GitHub’s Hubot</a>. Now all our devs have to do is send chat commands to deploy a certain branch or commit, and if something breaks unexpectedly, just roll back to the previous version.</p><h3>Step 3: Iterate with the help of CD</h3><p>Now comes the part where the actual Continuous Deployment is kicking in. You need to push another commit? It gets rolled out immediately while notifying you in Slack about the status. You close or merge your Pull Request? The branch deployment is removed and your change is rolled out to production. Since we usually have 50–200 deployments per day, this is saving us a huge amount of time!</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/662/1*3yoSB6vdM_d1O--EFcDBWg.png" /><figcaption>Using our Slack integration to create a canary deployment, which gets updated automatically</figcaption></figure><p>When we introduced Continuous Deployment in late 2019, we were afraid that services could break if we constantly deploy all the latest changes. But it turned out that by combining good test coverage with great monitoring and developers that feel responsible for their changes and have the ability to test them or roll back quickly, you can provide reliable services to your customers while also keeping a high development pace that everyone enjoys. At the end of the day, developer satisfaction is our measure of success, and as long as they can work without much overhead, everyone can use their time for what they do best: Make the circular economy the new standard.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=e6655df4c77c" width="1" height="1" alt=""><hr><p><a href="https://medium.com/rebuy-recommerce/deployments-made-easy-e6655df4c77c">Deployments made easy</a> was originally published in <a href="https://medium.com/rebuy-recommerce">rebuy recommerce</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
    </channel>
</rss>