<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>Part 5 — Git as the engine of automation on Git Getting Started!</title><link>https://oripekelman.github.io/git-training/docs/5-automation/</link><description>Recent content in Part 5 — Git as the engine of automation on Git Getting Started!</description><generator>Hugo</generator><language>en</language><atom:link href="https://oripekelman.github.io/git-training/docs/5-automation/index.xml" rel="self" type="application/rss+xml"/><item><title>GitOps</title><link>https://oripekelman.github.io/git-training/docs/git-ops/</link><pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate><guid>https://oripekelman.github.io/git-training/docs/git-ops/</guid><description>&lt;h1 id="gitops"&gt;
 GitOps
 &lt;a class="anchor" href="#gitops"&gt;#&lt;/a&gt;
&lt;/h1&gt;
&lt;p&gt;We have spent four parts of this course learning what Git actually is: a content-addressed
database of &lt;strong&gt;commit&lt;/strong&gt;s, &lt;strong&gt;tree&lt;/strong&gt;s and &lt;strong&gt;blob&lt;/strong&gt;s, with a few movable references pointing into it.
We now know how to branch, merge, rebase, push, tag and recover. This last part is about what
happens when we point all of that at &lt;em&gt;machines&lt;/em&gt; instead of at colleagues.&lt;/p&gt;
&lt;p&gt;And the first idea we need is the one with the marketing name: &lt;strong&gt;GitOps&lt;/strong&gt;.&lt;/p&gt;</description></item><item><title>Continuous integration with Git</title><link>https://oripekelman.github.io/git-training/docs/git-ci/</link><pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate><guid>https://oripekelman.github.io/git-training/docs/git-ci/</guid><description>&lt;h1 id="continuous-integration-with-git"&gt;
 Continuous integration with Git
 &lt;a class="anchor" href="#continuous-integration-with-git"&gt;#&lt;/a&gt;
&lt;/h1&gt;
&lt;h2 id="what-continuous-integration-is-for"&gt;
 What continuous integration is for
 &lt;a class="anchor" href="#what-continuous-integration-is-for"&gt;#&lt;/a&gt;
&lt;/h2&gt;
&lt;p&gt;Continuous integration is not &amp;ldquo;we have a build server&amp;rdquo;. A build server is a machine. CI is a
&lt;em&gt;promise&lt;/em&gt;, and the promise has two halves:&lt;/p&gt;
&lt;ol&gt;
&lt;li&gt;the mainline is always known-good, so anybody can branch from it at any moment without
inheriting somebody else&amp;rsquo;s mess;&lt;/li&gt;
&lt;li&gt;the feedback arrives while the author still remembers the change.&lt;/li&gt;
&lt;/ol&gt;
&lt;p&gt;The second half is the one people underestimate. A test failure that reaches you in ninety
seconds is a small annoyance. The same failure reaching you tomorrow morning is an
archaeological dig, because you have already started something else and your head is empty of
the context that would have made the bug obvious.&lt;/p&gt;</description></item><item><title>Deploying a simple static site</title><link>https://oripekelman.github.io/git-training/docs/git-static-site/</link><pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate><guid>https://oripekelman.github.io/git-training/docs/git-static-site/</guid><description>&lt;h1 id="deploying-a-simple-static-site"&gt;
 Deploying a simple static site
 &lt;a class="anchor" href="#deploying-a-simple-static-site"&gt;#&lt;/a&gt;
&lt;/h1&gt;
&lt;p&gt;Right at the beginning of this course, in 
 &lt;a href="https://oripekelman.github.io/git-training/docs/git-ecosystem/" title="Git and its ecosystem"&gt;Git and its ecosystem&lt;/a&gt;,
I promised you that we would &amp;ldquo;deploy a project on a real server, hands-free&amp;rdquo;. This is the chapter
where we do it. By the end of it you will type &lt;code&gt;git push&lt;/code&gt; and a website will change.&lt;/p&gt;
&lt;p&gt;We are going to deploy a &lt;strong&gt;static site&lt;/strong&gt; — a pile of HTML, CSS, images and maybe a JavaScript
file — and that is a deliberate choice, not a simplification we are embarrassed about. A static
site is the perfect first deployment because its build output is &lt;em&gt;just files&lt;/em&gt;. There is no process
to restart, no database to migrate, no connection pool to drain. Every mechanism is visible and
every step is comprehensible, which means we can build the whole thing ourselves out of Git parts
we already own, and &lt;em&gt;then&lt;/em&gt; look at the hosted services and understand exactly what they are doing
for us.&lt;/p&gt;</description></item><item><title>Continuous deployment</title><link>https://oripekelman.github.io/git-training/docs/git-cd/</link><pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate><guid>https://oripekelman.github.io/git-training/docs/git-cd/</guid><description>&lt;h1 id="continuous-deployment"&gt;
 Continuous deployment
 &lt;a class="anchor" href="#continuous-deployment"&gt;#&lt;/a&gt;
&lt;/h1&gt;
&lt;p&gt;In the 
 &lt;a href="https://oripekelman.github.io/git-training/docs/git-static-site/" title="Deploying a simple static site"&gt;previous chapter&lt;/a&gt; we deployed a site by pushing
to a branch, and the whole mechanism fitted in a shell script. Real applications are not much
harder — but they force us to be precise about &lt;em&gt;when&lt;/em&gt; a release happens, &lt;em&gt;what&lt;/em&gt; exactly gets
released, and what we do when it goes wrong.&lt;/p&gt;
&lt;p&gt;All three of those questions have Git answers, which is why this chapter belongs in a Git course.&lt;/p&gt;</description></item><item><title>Shining in society and amazing friends with Gitfoo</title><link>https://oripekelman.github.io/git-training/docs/git-foo/</link><pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate><guid>https://oripekelman.github.io/git-training/docs/git-foo/</guid><description>&lt;h1 id="shining-in-society-and-amazing-friends-with-gitfoo"&gt;
 Shining in society and amazing friends with Gitfoo
 &lt;a class="anchor" href="#shining-in-society-and-amazing-friends-with-gitfoo"&gt;#&lt;/a&gt;
&lt;/h1&gt;
&lt;p&gt;Here is our grab-bag. What follows is forty-odd short tricks, each one a question you will
eventually ask out loud followed by the command that answers it — originally a French &amp;ldquo;Git Daily&amp;rdquo;
series, one tip per day, which is why it is deliberately terser than the rest of this course. No
theory here, no peeking under the hood: dip in, steal something, come back another day.&lt;/p&gt;</description></item></channel></rss>