-
Notifications
You must be signed in to change notification settings - Fork 55
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
Update samples #1025
Update samples #1025
Conversation
* Update samples to use eclipse-che.github.io for plugin samples Update samples to use eclipse-che.github.io/plugin-registry for Theia instead of https://che-plugin-registry-main.surge.sh * Update all samples to use contributions instead of plugin components * Use che-code for all samples instead of Theia (Keep old Theia sample though) * Fix samples to use $PROJECT_SOURCE instead of $PROJECT_ROOT $PROJECTS_ROOT is not normally used anymore, since $PROJECTS_SOURCE points to the full path of the repository on disk inside the workspace (when there is only one project). Also fixes an issue where the previous path used for commands was invalid. Signed-off-by: Angel Misevski <amisevsk@redhat.com>
This represents a more "normal" DevWorkspace sample, as it contains a 'dev' component, using UDI latest, that we expect DWO to merge contributions into automatically. Signed-off-by: Angel Misevski <amisevsk@redhat.com>
Codecov ReportBase: 50.27% // Head: 50.27% // No change to project coverage 👍
Additional details and impacted files@@ Coverage Diff @@
## main #1025 +/- ##
=======================================
Coverage 50.27% 50.27%
=======================================
Files 70 70
Lines 6021 6021
=======================================
Hits 3027 3027
Misses 2765 2765
Partials 229 229 Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here. ☔ View full report at Codecov. |
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.
Hm, I'll have to take a look |
I have tested on a fresh OCP 4.12 cluster (I have installed DWO with
|
Otherwise I have the same result as @AObuchow but removing |
related to eclipse-che/che#21973 Note that the |
Will do a re-test, thanks Nick 👍 😎 |
Retested samples on OpenShift 4.12, using Chromium 109.0.5414.74 and Firefox 109.0:
|
@AObuchow This PR is still waiting on approve/request changes |
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.
Tried all the updated samples and everything works as expected 🙏
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: amisevsk, AObuchow 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 |
What does this PR do?
$PROJECT_SOURCE
instead of$PROJECTS_ROOT
)dev
containers to main samples (code-latest.yaml
andtheia-latest.yaml
) so that container contributions are used (editor should merge component into dev component)What issues does this PR fix or reference?
N/A
Is it tested? How?
Test that samples generally work as expected. If testing on minikube, it may be necessary to pre-pull images, as the UDI image is very large (3.7GB):
minikube ssh docker pull quay.io/devfile/universal-developer-image:latest # Or, depending on the sample used minikube ssh docker pull quay.io/devfile/universal-developer-image@sha256:d1709bbdfa076474f58f796026a2ed2dd3b24fea7e51ce2cc984e729663ff62c
PR Checklist
/test v8-devworkspace-operator-e2e, v8-che-happy-path
to trigger)v8-devworkspace-operator-e2e
: DevWorkspace e2e testv8-che-happy-path
: Happy path for verification integration with Che