<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:dc="http://purl.org/dc/elements/1.1/">
  <channel>
    <title>DEV Community: Santiago M.A.</title>
    <description>The latest articles on DEV Community by Santiago M.A. (@santima10).</description>
    <link>https://dev.to/santima10</link>
    <image>
      <url>https://media2.dev.to/dynamic/image/width=90,height=90,fit=cover,gravity=auto,format=auto/https:%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Fuser%2Fprofile_image%2F20055%2F708fa6aa-6cb0-4a6b-8b31-cb77bd862cf5.jpg</url>
      <title>DEV Community: Santiago M.A.</title>
      <link>https://dev.to/santima10</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/santima10"/>
    <language>en</language>
    <item>
      <title>I made a tool to automatically remove old versions in App Engine 🧹</title>
      <dc:creator>Santiago M.A.</dc:creator>
      <pubDate>Thu, 29 Apr 2021 17:05:36 +0000</pubDate>
      <link>https://dev.to/santima10/i-made-a-tool-to-automatically-remove-old-versions-in-app-engine-3dg8</link>
      <guid>https://dev.to/santima10/i-made-a-tool-to-automatically-remove-old-versions-in-app-engine-3dg8</guid>
      <description>&lt;p&gt;If you use App Engine to deploy your applications, you know that you can only deploy 200 versions and then you must remove a few before you can deploy again.&lt;/p&gt;

&lt;p&gt;A few weekends ago thanks to the brand new &lt;a href="https://cloud.google.com/eventarc"&gt;Google Cloud Event trigger for Cloud Run&lt;/a&gt; I develop a simple app to remove old versions every time a new deployment is completed.&lt;/p&gt;

&lt;p&gt;In the repository, you can find all the necessary steps to get it up and running so you can forget about removing old versions of App Engine 🎉.&lt;/p&gt;

&lt;p&gt;Any issue or pull request with improvements is welcomed!&lt;/p&gt;


&lt;div class="ltag-github-readme-tag"&gt;
  &lt;div class="readme-overview"&gt;
    &lt;h2&gt;
      &lt;img src="https://res.cloudinary.com/practicaldev/image/fetch/s--i3JOwpme--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://dev.to/assets/github-logo-ba8488d21cd8ee1fee097b8410db9deaa41d0ca30b004c0c63de0a479114156f.svg" alt="GitHub logo"&gt;
      &lt;a href="https://github.com/SantiMA10"&gt;
        SantiMA10
      &lt;/a&gt; / &lt;a href="https://github.com/SantiMA10/app-engine-version-cleaner"&gt;
        app-engine-version-cleaner
      &lt;/a&gt;
    &lt;/h2&gt;
    &lt;h3&gt;
      🧹 Keep your App Engine versions clean and tidy
    &lt;/h3&gt;
  &lt;/div&gt;
  &lt;div class="ltag-github-body"&gt;
    
&lt;div id="readme" class="md"&gt;
&lt;h1&gt;
App Engine version cleaner&lt;/h1&gt;
&lt;p&gt;🧹 Keep your App Engine versions clean and tidy.&lt;/p&gt;
&lt;p&gt;This service deployable on Cloud Run allows you to automatically delete previous &lt;code&gt;App Engine&lt;/code&gt; versions, it only keeps the new version you deploy and the last one.&lt;/p&gt;
&lt;h2&gt;
Setup&lt;/h2&gt;
&lt;ol&gt;
&lt;li&gt;Click the deploy button:&lt;/li&gt;
&lt;/ol&gt;
&lt;p&gt;&lt;a href="https://deploy.cloud.run/?git_repo=https://github.com/SantiMA10/app-engine-version-cleaner.git" rel="nofollow"&gt;&lt;img src="https://camo.githubusercontent.com/5832b6a44b19b13a5a84f8e89d646780a5ec646a0dfeef52f001134caca93511/68747470733a2f2f6465706c6f792e636c6f75642e72756e2f627574746f6e2e737667" alt="Run on Google Cloud"&gt;&lt;/a&gt;&lt;/p&gt;
&lt;ol start="2"&gt;
&lt;li&gt;
&lt;p&gt;Give the Cloud Run service the &lt;code&gt;App Engine Admin&lt;/code&gt; role.&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;Create a new &lt;code&gt;google.appengine.v1.Versions.CreateVersion&lt;/code&gt; trigger for the Cloud Run service.&lt;/p&gt;
&lt;p&gt;During this configuration you can choose which &lt;code&gt;App Engine&lt;/code&gt; services you want to be affected by this "Cleaner".&lt;/p&gt;
&lt;/li&gt;
&lt;/ol&gt;
&lt;/div&gt;



&lt;/div&gt;
&lt;br&gt;
  &lt;div class="gh-btn-container"&gt;&lt;a class="gh-btn" href="https://github.com/SantiMA10/app-engine-version-cleaner"&gt;View on GitHub&lt;/a&gt;&lt;/div&gt;
&lt;br&gt;
&lt;/div&gt;
&lt;br&gt;


&lt;p&gt;Cover photo by &lt;a href="https://unsplash.com/@inkyhills?utm_source=unsplash&amp;amp;utm_medium=referral&amp;amp;utm_content=creditCopyText"&gt;Callum Hill&lt;/a&gt; on &lt;a href="https://unsplash.com/s/photos/cleaning?utm_source=unsplash&amp;amp;utm_medium=referral&amp;amp;utm_content=creditCopyText"&gt;Unsplash&lt;/a&gt;&lt;/p&gt;

</description>
      <category>googlecloud</category>
      <category>appengine</category>
      <category>cloudrun</category>
      <category>showdev</category>
    </item>
  </channel>
</rss>
