Skip to content

Commit

Permalink
Antora requires in the examples directory
Browse files Browse the repository at this point in the history
  • Loading branch information
gnunn1 committed Oct 16, 2023
1 parent 5b631c6 commit 812bdc9
Show file tree
Hide file tree
Showing 12 changed files with 13 additions and 7 deletions.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
20 changes: 13 additions & 7 deletions documentation/modules/ROOT/pages/02-workshop-overview.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -84,14 +84,14 @@ git clone https://github.com/OpenShiftDemos/argo-rollouts-workshop ~/argo-rollou

All of the code used in this workshop will be located in:

`~/argo-rollouts-workshop/code`
`~/argo-rollouts-workshop/docmentation/modules/ROOT/examples`

Once you have cloned the repo, enter the `argo-rollouts-workshop` directory:
Once you have cloned the repo, enter this directory in the terminal:

[.console-input]
[source,bash,subs="attributes+,+macros"]
----
cd argo-rollouts-workshop
cd argo-rollouts-workshop/docmentation/modules/ROOT/examples
----

[IMPORTANT]
Expand All @@ -115,7 +115,7 @@ To view the code that we will be using, examine the code in `code/deploy/base`:
[.console-input]
[source,bash,subs="attributes+,+macros"]
----
ls code/deploy/base
ls ./deploy/base
----

You should see that there are four files in this directory. The `deploy.yaml`, `service.yaml`
Expand All @@ -124,19 +124,19 @@ and `route.yaml` represent the Deployment, Service and OpenShift route for the a
.link:https://github.com/OpenShiftDemos/argo-rollouts-workshop/blob/main/code/deploy/base/deploy.yaml,window='_blank']
[source,yaml,subs="+macros,attributes+"]
----
include::ROOT/../../code/deploy/base/deploy.yaml[]
include::ROOT:example$deploy/base/deploy.yaml[]
----

.link:https://github.com/OpenShiftDemos/argo-rollouts-workshop/blob/main/code/deploy/base/service.yaml,window='_blank']
[source,yaml,subs="+macros,attributes+"]
----
include::ROOT/../../code/deploy/base/service.yaml[]
include::ROOT:example$deploy/base/service.yaml[]
----

.link:https://github.com/OpenShiftDemos/argo-rollouts-workshop/blob/main/code/deploy/base/route.yaml,window='_blank']
[source,yaml,subs="+macros,attributes+"]
----
include::ROOT/../../code/deploy/base/route.yaml[]
include::ROOT:example$deploy/base/route.yaml[]
----

[NOTE]
Expand All @@ -148,6 +148,12 @@ There is a fourth file called `kustomization.yaml`, this file is used by the htt
the management of Kubernetes manifests. Kustomize and Helm are the two most popular yaml management tools
in GitOps and we use kustomize here to simplify our deployments.

.link:https://github.com/OpenShiftDemos/argo-rollouts-workshop/blob/main/code/deploy/base/kustomization.yaml,window='_blank']
[source,yaml,subs="+macros,attributes+"]
----
include::ROOT:example$deploy/base/kustomization.yaml[]
----

To deploy the application in Development, run the following command in the terminal:

[.console-input]
Expand Down

0 comments on commit 812bdc9

Please sign in to comment.