-
Notifications
You must be signed in to change notification settings - Fork 66
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Allow code-server extensions to be installed while the build time #532
Allow code-server extensions to be installed while the build time #532
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This looks good to me,
just some nitpick questions
e7d4775
to
3393a01
Compare
3393a01
to
9f7dc92
Compare
9f7dc92
to
a609ef0
Compare
@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. |
@atheo89: The following tests failed, say
Full PR test history. Your PR dashboard. Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes-sigs/prow repository. I understand the commands that are listed here. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
[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
Needs approval from an approver in each of these files:
Approvers can indicate their approval by writing |
great job, thank y'all |
Related to: https://issues.redhat.com/browse/RHOAIENG-6392
#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 on
http://127.0.0.1:8787/healthz
until copy the tmp extension folder to srcLogs:
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: