Skip to content

Commit

Permalink
[CI] Publish Documentation for 5c5d550 - 5c5d550 🚀
Browse files Browse the repository at this point in the history
  • Loading branch information
gnunn1 committed Oct 28, 2023
1 parent c16ebdf commit c549aca
Show file tree
Hide file tree
Showing 9 changed files with 79 additions and 10 deletions.
3 changes: 3 additions & 0 deletions argo-rollouts-workshop/main/01-getting-started.html
Original file line number Diff line number Diff line change
Expand Up @@ -111,6 +111,9 @@ <h3 class="title"><a href="index.html" class=" query-params-link">Argo Rollouts
<li class="nav-item" data-depth="2">
<a class="nav-link" href="03-bluegreen-rollout.html#enable-auto-promotion">Enable Auto-Promotion</a>
</li>
<li class="nav-item" data-depth="2">
<a class="nav-link" href="03-bluegreen-rollout.html#perform-rollback">Perform Rollback</a>
</li>
<li class="nav-item" data-depth="2">
<a class="nav-link" href="03-bluegreen-rollout.html#cleanup">Clean-up</a>
</li>
Expand Down
3 changes: 3 additions & 0 deletions argo-rollouts-workshop/main/02-workshop-overview.html
Original file line number Diff line number Diff line change
Expand Up @@ -111,6 +111,9 @@ <h3 class="title"><a href="index.html" class=" query-params-link">Argo Rollouts
<li class="nav-item" data-depth="2">
<a class="nav-link" href="03-bluegreen-rollout.html#enable-auto-promotion">Enable Auto-Promotion</a>
</li>
<li class="nav-item" data-depth="2">
<a class="nav-link" href="03-bluegreen-rollout.html#perform-rollback">Perform Rollback</a>
</li>
<li class="nav-item" data-depth="2">
<a class="nav-link" href="03-bluegreen-rollout.html#cleanup">Clean-up</a>
</li>
Expand Down
57 changes: 54 additions & 3 deletions argo-rollouts-workshop/main/03-bluegreen-rollout.html
Original file line number Diff line number Diff line change
Expand Up @@ -111,6 +111,9 @@ <h3 class="title"><a href="index.html" class=" query-params-link">Argo Rollouts
<li class="nav-item" data-depth="2">
<a class="nav-link" href="#enable-auto-promotion">Enable Auto-Promotion</a>
</li>
<li class="nav-item" data-depth="2">
<a class="nav-link" href="#perform-rollback">Perform Rollback</a>
</li>
<li class="nav-item" data-depth="2">
<a class="nav-link" href="#cleanup">Clean-up</a>
</li>
Expand Down Expand Up @@ -833,8 +836,7 @@ <h2 id="promote-image"><a class="anchor" href="#promote-image"></a>Promote Image
</li>
<li>
<p>For the UI, click the <code>Promote</code> button in the Dashboard, it will change to an orange <code>Sure?</code> button
to ask for confirmation so click it again to confirm. Note that the promotion will be delayed by 15 seconds and the Rollouts
Dashboard will show a countdown for this.</p>
to ask for confirmation so click it again to confirm.</p>
<div class="imageblock">
<div class="content">
<img src="_images/argo-rollout-dashboard-promote-button.png" alt="argo rollout dashboard promote button">
Expand Down Expand Up @@ -899,7 +901,56 @@ <h2 id="enable-auto-promotion"><a class="anchor" href="#enable-auto-promotion"><
<div class="paragraph">
<p>While not requiring manual intervention is great, it would be wonderful if there was a way to perform automated testing to ensure
the validity of the new revision before Rollouts makes it available to users. Fortunately Rollouts can do this with the Analysis feature
which will be covered that in the next module.</p>
which will be covered in the next module.</p>
</div>
</div>
</div>
<div class="sect1">
<h2 id="_perform_rollback"><a class="anchor" href="#_perform_rollback"></a>Perform Rollback</h2>
<div class="sectionbody">
<div class="paragraph">
<p>We have deployed our application with the color yellow but disaster, our users really dislike yellow for some reason and insist
that we switch back to the green color while we work to determine an acceptable shade of yellow for users.</p>
</div>
<div class="paragraph">
<p>To accomplish this we will perform a rollback to the green version. This can be done either in the dashboard or in the CLI but
here we will show the CLI way of doing it.</p>
</div>
<div class="paragraph">
<p>To execute the rollback, first we need to determine the revision to rollback to. Looking at the dashboard we can see that
the <code>green</code> image is associated with Revision 2 (assuming you did not need to do multiple deployments due to problems).</p>
</div>
<div class="paragraph">
<p>To rollback the revision the <code>undo</code> command can be used, execute the following command:</p>
</div>
<div class="listingblock console-input">
<div class="content">
<pre class="highlightjs highlight"><code class="language-bash hljs" data-lang="bash">oc argo rollouts undo rollouts-demo --to-revision=2 -n user%USERNUM%-prod</code></pre>
</div>
</div>
<div class="admonitionblock note">
<table>
<tr>
<td class="icon">
<i class="fa icon-note" title="Note"></i>
</td>
<td class="content">
An info message will appear when running the command, <code>unknown field `spec.template.metadata.creationTimestamp`</code>, this can be ignored.
</td>
</tr>
</table>
</div>
<div class="paragraph">
<p>Once this command is run, if you look at the dashboard you will see a new revision has started, revision 4. What happened?</p>
</div>
<div class="imageblock">
<div class="content">
<img src="_images/argo-rollouts-rollback.png" alt="argo rollouts rollback">
</div>
</div>
<div class="paragraph">
<p>Like Kubernetes Deployments, Argo Rollouts treats a rollback as a roll forward by creating a new revision for the desired state. This
enables</p>
</div>
</div>
</div>
Expand Down
3 changes: 3 additions & 0 deletions argo-rollouts-workshop/main/04-analysis.html
Original file line number Diff line number Diff line change
Expand Up @@ -111,6 +111,9 @@ <h3 class="title"><a href="index.html" class=" query-params-link">Argo Rollouts
<li class="nav-item" data-depth="2">
<a class="nav-link" href="03-bluegreen-rollout.html#enable-auto-promotion">Enable Auto-Promotion</a>
</li>
<li class="nav-item" data-depth="2">
<a class="nav-link" href="03-bluegreen-rollout.html#perform-rollback">Perform Rollback</a>
</li>
<li class="nav-item" data-depth="2">
<a class="nav-link" href="03-bluegreen-rollout.html#cleanup">Clean-up</a>
</li>
Expand Down
3 changes: 3 additions & 0 deletions argo-rollouts-workshop/main/05-canary-rollout.html
Original file line number Diff line number Diff line change
Expand Up @@ -111,6 +111,9 @@ <h3 class="title"><a href="index.html" class=" query-params-link">Argo Rollouts
<li class="nav-item" data-depth="2">
<a class="nav-link" href="03-bluegreen-rollout.html#enable-auto-promotion">Enable Auto-Promotion</a>
</li>
<li class="nav-item" data-depth="2">
<a class="nav-link" href="03-bluegreen-rollout.html#perform-rollback">Perform Rollback</a>
</li>
<li class="nav-item" data-depth="2">
<a class="nav-link" href="03-bluegreen-rollout.html#cleanup">Clean-up</a>
</li>
Expand Down
3 changes: 3 additions & 0 deletions argo-rollouts-workshop/main/06-conclusion.html
Original file line number Diff line number Diff line change
Expand Up @@ -110,6 +110,9 @@ <h3 class="title"><a href="index.html" class=" query-params-link">Argo Rollouts
<li class="nav-item" data-depth="2">
<a class="nav-link" href="03-bluegreen-rollout.html#enable-auto-promotion">Enable Auto-Promotion</a>
</li>
<li class="nav-item" data-depth="2">
<a class="nav-link" href="03-bluegreen-rollout.html#perform-rollback">Perform Rollback</a>
</li>
<li class="nav-item" data-depth="2">
<a class="nav-link" href="03-bluegreen-rollout.html#cleanup">Clean-up</a>
</li>
Expand Down
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
3 changes: 3 additions & 0 deletions argo-rollouts-workshop/main/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -110,6 +110,9 @@ <h3 class="title"><a href="index.html" class=" query-params-link">Argo Rollouts
<li class="nav-item" data-depth="2">
<a class="nav-link" href="03-bluegreen-rollout.html#enable-auto-promotion">Enable Auto-Promotion</a>
</li>
<li class="nav-item" data-depth="2">
<a class="nav-link" href="03-bluegreen-rollout.html#perform-rollback">Perform Rollback</a>
</li>
<li class="nav-item" data-depth="2">
<a class="nav-link" href="03-bluegreen-rollout.html#cleanup">Clean-up</a>
</li>
Expand Down
14 changes: 7 additions & 7 deletions sitemap.xml
Original file line number Diff line number Diff line change
Expand Up @@ -2,30 +2,30 @@
<urlset xmlns="http://www.sitemaps.org/schemas/sitemap/0.9">
<url>
<loc>https://openshiftdemos.github.io/argo-rollouts-workshop/argo-rollouts-workshop/main/01-getting-started.html</loc>
<lastmod>2023-10-28T01:25:53.520Z</lastmod>
<lastmod>2023-10-28T01:51:15.140Z</lastmod>
</url>
<url>
<loc>https://openshiftdemos.github.io/argo-rollouts-workshop/argo-rollouts-workshop/main/02-workshop-overview.html</loc>
<lastmod>2023-10-28T01:25:53.520Z</lastmod>
<lastmod>2023-10-28T01:51:15.140Z</lastmod>
</url>
<url>
<loc>https://openshiftdemos.github.io/argo-rollouts-workshop/argo-rollouts-workshop/main/03-bluegreen-rollout.html</loc>
<lastmod>2023-10-28T01:25:53.520Z</lastmod>
<lastmod>2023-10-28T01:51:15.140Z</lastmod>
</url>
<url>
<loc>https://openshiftdemos.github.io/argo-rollouts-workshop/argo-rollouts-workshop/main/04-analysis.html</loc>
<lastmod>2023-10-28T01:25:53.520Z</lastmod>
<lastmod>2023-10-28T01:51:15.140Z</lastmod>
</url>
<url>
<loc>https://openshiftdemos.github.io/argo-rollouts-workshop/argo-rollouts-workshop/main/05-canary-rollout.html</loc>
<lastmod>2023-10-28T01:25:53.520Z</lastmod>
<lastmod>2023-10-28T01:51:15.140Z</lastmod>
</url>
<url>
<loc>https://openshiftdemos.github.io/argo-rollouts-workshop/argo-rollouts-workshop/main/06-conclusion.html</loc>
<lastmod>2023-10-28T01:25:53.520Z</lastmod>
<lastmod>2023-10-28T01:51:15.140Z</lastmod>
</url>
<url>
<loc>https://openshiftdemos.github.io/argo-rollouts-workshop/argo-rollouts-workshop/main/index.html</loc>
<lastmod>2023-10-28T01:25:53.520Z</lastmod>
<lastmod>2023-10-28T01:51:15.140Z</lastmod>
</url>
</urlset>

0 comments on commit c549aca

Please sign in to comment.