<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>8. Controlling Deployment Workflows on ArgoCD Basics Training</title><link>/docs/08/</link><description>Recent content in 8. Controlling Deployment Workflows on ArgoCD Basics Training</description><generator>Hugo</generator><language>en-us</language><atom:link href="/docs/08/index.xml" rel="self" type="application/rss+xml"/><item><title>8.1 Tracking and Deployment Strategies</title><link>/docs/08/tracking_deployment_strategies/</link><pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate><guid>/docs/08/tracking_deployment_strategies/</guid><description>&lt;p&gt;If you are using ArgoCD with Git or Helm tools, ArgoCD gives you the availability to configure different tracking and deployment strategies.&lt;/p&gt;
&lt;h2 id="helm"&gt;Helm&lt;/h2&gt;
&lt;p&gt;For Helm you can use Semver versions either to pin to a specific version or to track minor / patch changes.&lt;/p&gt;
&lt;table&gt;
 &lt;thead&gt;
 &lt;tr&gt;
 &lt;th&gt;Use Case&lt;/th&gt;
 &lt;th&gt;How&lt;/th&gt;
 &lt;th&gt;Examples&lt;/th&gt;
 &lt;/tr&gt;
 &lt;/thead&gt;
 &lt;tbody&gt;
 &lt;tr&gt;
 &lt;td&gt;Pin to a version (e.g. in production)&lt;/td&gt;
 &lt;td&gt;Use the version number&lt;/td&gt;
 &lt;td&gt;1.2.0&lt;/td&gt;
 &lt;/tr&gt;
 &lt;tr&gt;
 &lt;td&gt;Track patches (e.g. in pre-production)&lt;/td&gt;
 &lt;td&gt;Use a range&lt;/td&gt;
 &lt;td&gt;1.2.* or &amp;gt;=1.2.0 &amp;lt;1.3.0&lt;/td&gt;
 &lt;/tr&gt;
 &lt;tr&gt;
 &lt;td&gt;Track minor releases (e.g. in QA)&lt;/td&gt;
 &lt;td&gt;Use a range&lt;/td&gt;
 &lt;td&gt;1.* or &amp;gt;=1.0.0 &amp;lt;2.0.0&lt;/td&gt;
 &lt;/tr&gt;
 &lt;tr&gt;
 &lt;td&gt;Use the latest (e.g. in local development)&lt;/td&gt;
 &lt;td&gt;Use star range&lt;/td&gt;
 &lt;td&gt;* or &amp;gt;=0.0.0&lt;/td&gt;
 &lt;/tr&gt;
 &lt;/tbody&gt;
&lt;/table&gt;
&lt;h2 id="git"&gt;Git&lt;/h2&gt;
&lt;table&gt;
 &lt;thead&gt;
 &lt;tr&gt;
 &lt;th&gt;Use Case&lt;/th&gt;
 &lt;th&gt;How&lt;/th&gt;
 &lt;th&gt;Notes&lt;/th&gt;
 &lt;/tr&gt;
 &lt;/thead&gt;
 &lt;tbody&gt;
 &lt;tr&gt;
 &lt;td&gt;Pin to a version (e.g. in production)&lt;/td&gt;
 &lt;td&gt;Either tag the commit with (e.g. v1.2.0) and use that tag, or using commit SHA.&lt;/td&gt;
 &lt;td&gt;See commit and version pinning.&lt;/td&gt;
 &lt;/tr&gt;
 &lt;tr&gt;
 &lt;td&gt;Use the latest (e.g. in local development)&lt;/td&gt;
 &lt;td&gt;Use HEAD or master (assuming master is your master branch).&lt;/td&gt;
 &lt;td&gt;See HEAD / Branch Tracking&lt;/td&gt;
 &lt;/tr&gt;
 &lt;/tbody&gt;
&lt;/table&gt;
&lt;h3 id="head--branch-tracking"&gt;Head / Branch Tracking&lt;/h3&gt;
&lt;p&gt;Either a branch name or a symbolic reference (like HEAD). For branches ArgoCD will take the latest commit of this branch.
This method is often used in development environment where you want to apply the latest changes.&lt;/p&gt;</description></item><item><title>8.2 Sync Windows</title><link>/docs/08/sync_windows/</link><pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate><guid>/docs/08/sync_windows/</guid><description>&lt;p&gt;With Sync windows the user can define at which time applications can be synchronized automatically and manually by Argo CD. Allowed and forbidden time windows can be defined. Sync windows can be restricted to a subset of applications, clusters and namespaces and thus offer great flexibility.&lt;/p&gt;
&lt;h2 id="task-821-create-application-and-project"&gt;Task 8.2.1: Create application and project&lt;/h2&gt;
&lt;p&gt;Now we want to create a new empty Argo CD project.&lt;/p&gt;
&lt;div class="highlight"&gt;&lt;pre tabindex="0" style="background-color:#f8f8f8;-moz-tab-size:4;-o-tab-size:4;tab-size:4;-webkit-text-size-adjust:none;"&gt;&lt;code class="language-bash" data-lang="bash"&gt;&lt;span style="display:flex;"&gt;&lt;span&gt;argocd proj create -s &lt;span style="color:#4e9a06"&gt;&amp;#34;*&amp;#34;&lt;/span&gt; -d &lt;span style="color:#4e9a06"&gt;&amp;#34;*,*&amp;#34;&lt;/span&gt; project-sync-windows-&lt;span style="color:#000"&gt;$USER&lt;/span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span style="display:flex;"&gt;&lt;span&gt;argocd app create sync-windows-&lt;span style="color:#000"&gt;$USER&lt;/span&gt; --repo https://github.com/acend/argocd-training-examples.git --path &lt;span style="color:#4e9a06"&gt;&amp;#39;example-app&amp;#39;&lt;/span&gt; --dest-server https://kubernetes.default.svc --dest-namespace &lt;span style="color:#000"&gt;$USER&lt;/span&gt; --project project-sync-windows-&lt;span style="color:#000"&gt;$USER&lt;/span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span style="display:flex;"&gt;&lt;span&gt;argocd app sync sync-windows-&lt;span style="color:#000"&gt;$USER&lt;/span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;p&gt;You should see the following message after a successful sync&lt;/p&gt;</description></item></channel></rss>