Skip to content

Commit 7e2a047

Browse files
committed
(chore): fix chapter number to use attributes
- fixing realigned chapter folders to point right directory in instructions - made v1.1.0-SNAPSHOT as default site - removed stale scaling folder using old folder number Fixes: #27
1 parent 0c48975 commit 7e2a047

6 files changed

Lines changed: 8 additions & 17 deletions

File tree

.gitignore

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ docs/output/*
2626
work/**/*
2727
!work/README.md
2828
#
29-
04-build/knative/setenv.sh
29+
**/setenv.sh
3030

3131
src/**
3232
pom.xml

03-scaling/knative/autoscaling-configmap.yaml

Lines changed: 0 additions & 9 deletions
This file was deleted.

documentation/modules/ROOT/pages/02-basic-fundas.adoc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ Navigate to the tutorial chapter's `knative` folder:
2424

2525
[source,bash,subs="+macros,+attributes"]
2626
----
27-
cd $TUTORIAL_HOME/01-basics/knative
27+
cd $TUTORIAL_HOME/{basics-repo}/knative
2828
----
2929

3030
The following snippet shows how a Knative service YAML will look like:

documentation/modules/ROOT/pages/03-configs-and-routes.adoc

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ Navigate to the tutorial chapter's folder:
2424

2525
[source,bash,subs="+macros,+attributes"]
2626
----
27-
cd $TUTORIAL_HOME/02-configs-and-routes
27+
cd $TUTORIAL_HOME/{configs-and-routes-repo}
2828
----
2929

3030
=== Deploy Configuration revision 1
@@ -211,7 +211,7 @@ When deploying services with service object based approach, the service resource
211211
For the sake of clarity we will call greeter-00001 as **revision 1** and greeter-00002 as **revision 2**
212212
====
213213

214-
Before we start to apply routes, let us open a new terminal and run the following command `$TUTORIAL_HOME/02-configs-and-routes/bin/call.sh`, this command will keep sending requests to greeter route every two seconds which allows us to monitor the changes to the responses as we keep applying the route that will distribute the traffic between the available two revisions.
214+
Before we start to apply routes, let us open a new terminal and run the following command `$TUTORIAL_HOME/{configs-and-routes-repo}/bin/call.sh`, this command will keep sending requests to greeter route every two seconds which allows us to monitor the changes to the responses as we keep applying the route that will distribute the traffic between the available two revisions.
215215

216216
[#crtd-all-rev1]
217217
=== Send all traffic to revision 1

documentation/modules/ROOT/pages/04-scaling.adoc

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ Navigate to the tutorial chapter's `Knative` folder:
4242

4343
[source,bash,subs="+macros,+attributes"]
4444
----
45-
cd $TUTORIAL_HOME/03-serving/knative
45+
cd $TUTORIAL_HOME/{scaling-repo}/knative
4646
----
4747

4848
The service can be deployed using the command:
@@ -88,7 +88,7 @@ Navigate to the tutorial chapter's `knative` folder:
8888

8989
[source,bash,subs="+macros,+attributes"]
9090
----
91-
cd $TUTORIAL_HOME/01-basics/knative
91+
cd $TUTORIAL_HOME/{basics-repo}/knative
9292
----
9393

9494
The service can be deployed using the command:
@@ -206,7 +206,7 @@ Navigate to the tutorial chapter's `knative` folder:
206206

207207
[source,bash,subs="+macros,+attributes"]
208208
----
209-
cd $TUTORIAL_HOME/03-scaling/knative
209+
cd $TUTORIAL_HOME/{scaling-repo}/knative
210210
----
211211

212212
[source,bash,subs="+macros,+attributes"]

site.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ runtime:
44
site:
55
title: Knative Tutorial
66
url: https://redhat-developer-demos.github.io/knative-tutorial
7-
start_page: v1.0.0@knative-tutorial::index.adoc
7+
start_page: v1.1.0-SNAPSHOT@knative-tutorial::index.adoc
88

99
content:
1010
sources:

0 commit comments

Comments
 (0)