Skip to content

Commit b29d66b

Browse files
committed
Update jlink README with final steps
Correct the template name in an example command. Remove reference to Topology from Stage 2. At present the template does not create Deployment or Route objects, so nothing shows up in Topology at this stage. Add "Stage 3: Kick off builds". This is necessary until we have added further triggers between the buildConfigs. Add "Stage 4: create deployment". This is necessary until we have added Deployments, Routes etc. to the template. Signed-off-by: Jonathan Dowland <[email protected]>
1 parent 7f7450c commit b29d66b

File tree

1 file changed

+23
-3
lines changed

1 file changed

+23
-3
lines changed

templates/jlink/README.md

Lines changed: 23 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ Create an OpenShift template `templates/jlink-app-template` from the jlinked-app
4848

4949
Process it to create the needed objects. You can list the parameters using
5050

51-
oc process --parameters jlink-builder-template
51+
oc process --parameters jlink-app-template
5252

5353
Some suitable test values for the parameters are
5454

@@ -71,5 +71,25 @@ See all the OpenShift objects that were created:
7171

7272
oc get all
7373

74-
Visit the Topology page within the D eveloper perspective, OpenShift web console,
75-
and inspect the App.
74+
## Stage 3: Kick off builds
75+
76+
There will be three BuildConfigs, called something like
77+
78+
1. jlink-builder-jdk-17
79+
2. jlink-s2i-jdk-17
80+
3. multistage-buildconfig
81+
82+
Start a build for (1), wait for it to complete successfully; then start (2).
83+
Once (2) completes, (3) should be automatically triggered.
84+
85+
## Stage 4: create deployment
86+
87+
The ImageStreamTag `lightweight-image:latest` will be populated with the new
88+
application container image.
89+
90+
Create a deployment to see it work. E.g., in the Developer Perspective, select
91+
"+Add", "Container Images", "Image stream tag from internal registry", ...,
92+
"Create"
93+
94+
Then from "Topology", select the "Open URL" icon to open the newly deployed
95+
App.

0 commit comments

Comments
 (0)