You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Modification is to the devfile will be needed to update references to those offline resources as part of the registry build. For all the items pulled into the registry, update the corresponding devfile entries to reference the resources within the offline version in the registry.
110
+
Change the devfile so you can update references to those offline resources as part of the registry build. For all the items pulled into the registry, update the corresponding devfile entries to reference the resources within the offline version in the registry.
113
111
114
112
.Procedure
115
113
116
-
. Under `starterProjects`, find the starter project definition you want to make offline
117
-
. Under the definition for the starter project find either `git` or `zip`, as seen here:
114
+
. Under `starterProjects`, find the starter project definition you want to make offline.
115
+
. Under the definition for the starter project find either `git` or `zip`:
118
116
+
119
117
.Starter Project Before
120
118
====
@@ -131,10 +129,13 @@ starterProjects:
131
129
+
132
130
. Do one of the following depending on the block type:
133
131
* If `git`, replace all of the `git` block with a `zip` block and add the `location` to be the path to the local file under the stack root directory (`<registry_root>/stacks/<stack>/`).
134
-
* If `zip`, just replace the value of `location` to the same as mention for `git`.
135
-
. In either case, you should end up with something like as seen here:
136
-
+
137
-
.Starter Project After
132
+
* If `zip`, just replace the value of `location` to the local file under the stack root directory (`<registry_root>/stacks/<stack>/`).
133
+
134
+
.Verification step
135
+
136
+
To confirm you modified your devfile, verify your altered starter project definition is similar to the following example:
137
+
138
+
.Altered Starter Project Definition
138
139
====
139
140
----
140
141
...
@@ -148,20 +149,20 @@ starterProjects:
148
149
149
150
.Additional resources
150
151
151
-
* More about starter projects in devfiles, see xref:adding-projects-to-a-devfile.adoc[Adding projects to a devfile]
152
+
* To learn more about starter projects in devfiles, see xref:adding-projects-to-a-devfile.adoc[Adding projects to a devfile]
152
153
153
154
=== Build Registry
154
155
155
156
.Procedure
156
157
157
-
. Change to registry root (if not already there)
158
+
. If not already at the root of the registry, change to the root of the registry.
0 commit comments