Skip to content

Commit

Permalink
Add cleanup steps to bluegreen module
Browse files Browse the repository at this point in the history
  • Loading branch information
gnunn1 committed Oct 19, 2023
1 parent 3297650 commit d2dc199
Show file tree
Hide file tree
Showing 2 changed files with 20 additions and 0 deletions.
1 change: 1 addition & 0 deletions documentation/modules/ROOT/nav.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@
** xref:03-bluegreen-rollout.adoc#argo-rollouts-dashboard[Argo Rollouts Dashboard]
** xref:03-bluegreen-rollout.adoc#promote-image[Promote Image]
** xref:03-bluegreen-rollout.adoc#enable-auto-promotion[Enable Auto-Promotion]
** xref:03-bluegreen-rollout.adoc#cleanup[Clean-up]
* xref:04-analysis.adoc[4. Analysis]
** xref:04-analysis.adoc#analysis-overview[Analysis Overview]
Expand Down
19 changes: 19 additions & 0 deletions documentation/modules/ROOT/pages/03-bluegreen-rollout.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -342,3 +342,22 @@ note that there is a new revision using the Yellow image associated with the Act
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 reviewion 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.

[#cleanup]
== Clean-up

Prior to moving on to the next module we need to perform some clean-up activites. First let's reset the Development environment back to blue:

[.console-input]
[source,bash,subs="attributes+,+macros"]
----
oc apply -k ./deploy/base -n user%USERNUM%-dev
----

Next we will delete the Rollout in the `user%USERNUM%-prod` so we can start with a fresh version.

[.console-input]
[source,bash,subs="attributes+,+macros"]
----
oc delete -k ./bluegreen/base -n user%USERNUM%-prod
----

0 comments on commit d2dc199

Please sign in to comment.