Closed atheo89 closed 4 months ago
@harshad16 Thanks for noticing the overriding while the restart of the notebook. I added the logic on the runtime-script to check if an extension already exists. It works now as expected.
Tested with this latest image: quay.io/rh_ee_atheodor/workbench-images@sha256:7ee0cf657d3c287523a5ed155a6fcb009a7aa686ffe828b7eb08e4e27b664048
(Also in the PR description)
@atheo89: The following tests failed, say /retest
to rerun all failed tests or /retest-required
to rerun all mandatory failed tests:
Test name | Commit | Details | Required | Rerun command |
---|---|---|---|---|
ci/prow/notebooks-e2e-tests | a609ef0f2b2080e47a07f4d68fcb4d21eff3434f | link | true | /test notebooks-e2e-tests |
ci/prow/images | a609ef0f2b2080e47a07f4d68fcb4d21eff3434f | link | true | /test images |
Full PR test history. Your PR dashboard.
[APPROVALNOTIFIER] This PR is APPROVED
This pull-request has been approved by: harshad16
The full list of commands accepted by this bot can be found here.
The pull request process is described here
great job, thank y'all
Related to: https://issues.redhat.com/browse/RHOAIENG-6392 https://github.com/opendatahub-io/notebooks/issues/421
Description
This PR Allow code-server extensions to be installed while the build time on
--extensions-dir /opt/app-root/extensions-temp
and we copy installed extensions to the src extensions directory on runtime vscode script.How Has This Been Tested?
In disconnected env: Cluster: https://console-openshift-console.apps.dis-210n.osp.rh-ods.com/k8s/ns/redhat-ods-applications/imagestreams/code-server-notebook/yaml Image:
bastion.dis-210n.osp.rh-ods.com:8443/rh_ee_atheodor/workbench-images@sha256:7ee0cf657d3c287523a5ed155a6fcb009a7aa686ffe828b7eb08e4e27b664048
ImageStreamName:Tag:code-server:pr-532
Notes: Sometimes not always we got some hits onhttp://127.0.0.1:8787/healthz
until copy the tmp extension folder to src Logs:In connected env: Image:
quay.io/rh_ee_atheodor/workbench-images@sha256:7ee0cf657d3c287523a5ed155a6fcb009a7aa686ffe828b7eb08e4e27b664048
ImageStreamName:Tag: Add a new tag with the given image or the build image from the ci, ex:code-server:pr-532
Notes: Logs:Merge criteria: