Skip to content

Commit 283224d

Browse files
committed
address comments
Signed-off-by: Valeriy Svydenko <vsvydenk@redhat.com>
1 parent 01e40a9 commit 283224d

File tree

1 file changed

+18
-3
lines changed

1 file changed

+18
-3
lines changed

modules/administration-guide/examples/snip_che-deploy-open-vsx-using-oc.adoc

Lines changed: 18 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -58,9 +58,10 @@ Build and publish the Open VSX CLI image. To do this, run the following commands
5858
+
5959
[bash,subs="verbatim",options="nowrap"]
6060
----
61-
export OPENVSX_CLI_IMAGE_NAME=openvsx-cli
62-
export OPENVSX_CLI_IMAGE=${REGISTRY}/${NAMESPACE}/${OPENVSX_CLI_IMAGE_NAME} &&
63-
podman build -t "${OPENVSX_CLI_IMAGE}" -f cli.Dockerfile . &&
61+
export OPENVSX_CLI_IMAGE_NAME=openvsx-cli &&
62+
export OPENVSX_CLI_VERSION=0.10.5 &&
63+
export OPENVSX_CLI_IMAGE=${REGISTRY}/${NAMESPACE}/${OPENVSX_CLI_IMAGE_NAME}:${OPENVSX_CLI_VERSION} &&
64+
podman build -t "${OPENVSX_CLI_IMAGE}" --build-arg "OVSX_VERSION=${OPENVSX_CLI_VERSION}" -f cli.Dockerfile . &&
6465
podman push "${OPENVSX_CLI_IMAGE}"
6566
----
6667
+
@@ -125,9 +126,23 @@ export OPENVSX_ROUTE_URL="$(oc get route internal -n openvsx -o jsonpath='{.spec
125126
export PATCH='{"spec":{"components":{"pluginRegistry":{"openVSXURL":"https://'"$OPENVSX_ROUTE_URL"'"}}}}' &&
126127
oc patch checluster "${CHECLUSTER_NAME}" --type=merge --patch "${PATCH}" -n "${CHECLUSTER_NAMESPACE}"
127128
----
129+
+
130+
[TIP]
131+
====
132+
133+
Refer to the xref:configuring-the-open-vsx-registry-url.adoc[] for detailed instructions on configuring the Open VSX registry URL in {prod-short}.
134+
135+
====
128136
129137
. Publish Visual Studio Code extensions with the `ovsx` command.
130138
+
139+
[NOTE]
140+
====
141+
142+
At the beginning, the Open VSX registry does not provide any extension.
143+
144+
====
145+
+
131146
With everything configured, the next step is to publish a Visual Studio Code extension from inside the ovsx-cli container.
132147
To do this, you need two pieces of information: the extension `namespace` name (used for publishing), the download URL of the .vsix extension package.
133148
Once you have this information, run the following commands to publish the extension:

0 commit comments

Comments
 (0)