-
Notifications
You must be signed in to change notification settings - Fork 53
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
fix: change the way the original devfile content is stored #1315
base: main
Are you sure you want to change the base?
Conversation
Signed-off-by: Oleksii Orel <[email protected]>
Docker image build succeeded: quay.io/eclipse/che-dashboard:pr-1315 kubectl patch commandkubectl patch -n eclipse-che "checluster/eclipse-che" --type=json -p="[{"op": "replace", "path": "/spec/components/dashboard/deployment", "value": {containers: [{image: "quay.io/eclipse/che-dashboard:pr-1315", name: che-dashboard}]}}]" |
Signed-off-by: Oleksii Orel <[email protected]>
Docker image build succeeded: quay.io/eclipse/che-dashboard:pr-1315 kubectl patch commandkubectl patch -n eclipse-che "checluster/eclipse-che" --type=json -p="[{"op": "replace", "path": "/spec/components/dashboard/deployment", "value": {containers: [{image: "quay.io/eclipse/che-dashboard:pr-1315", name: che-dashboard}]}}]" |
Signed-off-by: Oleksii Orel <[email protected]>
Docker image build succeeded: quay.io/eclipse/che-dashboard:pr-1315 kubectl patch commandkubectl patch -n eclipse-che "checluster/eclipse-che" --type=json -p="[{"op": "replace", "path": "/spec/components/dashboard/deployment", "value": {containers: [{image: "quay.io/eclipse/che-dashboard:pr-1315", name: che-dashboard}]}}]" |
/test v14-e2e-puppeteer |
Codecov ReportAttention: Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## main #1315 +/- ##
==========================================
+ Coverage 91.65% 91.85% +0.20%
==========================================
Files 500 501 +1
Lines 45489 45478 -11
Branches 3173 3186 +13
==========================================
+ Hits 41691 41776 +85
+ Misses 3766 3673 -93
+ Partials 32 29 -3 ☔ View full report in Codecov by Sentry. |
@olexii4 : hello
See test details below: Test scenario to check eclipse-che/che#23331 issue fix up:
Test result:✅ The workspace itself was created using the correct devfile from the repository.
Test scenario to check eclipse-che/che#23301 issue fix up:
Test result:✅ The workspace itself was created using the correct devfile from the repository.
Expected defile content: devfile (12).yaml.txt Screencast: screen-capture.webm |
This is a private repository, we can not fetch the devfile content having only ssh key, see: https://eclipse.dev/che/docs/stable/end-user-guide/starting-a-workspace-from-a-git-repository-url/ |
@dmytro-ndp From my point of view, the test scenario to check eclipse-che/che#23301 could not be properly correct because the added SSH Key allows us to use git operations after the workspace starts. So, we can create a new workspace from the private repo using SSH Git URL These changes allow us to see the original devfile used to create a new workspace. So, in the case with the private repo using the SSH Git URL, we should restart the workspace from the local devfile from the |
@vinokurig, @olexii4 : thank you for the comment
I faced different result. |
@dmytro-ndp I removed eclipse-che/che#23301 from the description. |
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.
LGTM
[APPROVALNOTIFIER] This PR is NOT APPROVED This pull-request has been approved by: akurinnoy, dmytro-ndp, olexii4 The full list of commands accepted by this bot can be found here.
Needs approval from an approver in each of these files:
Approvers can indicate their approval by writing |
… is stored Signed-off-by: Oleksii Orel <[email protected]>
New changes are detected. LGTM label has been removed. |
Docker image build succeeded: quay.io/eclipse/che-dashboard:pr-1315 kubectl patch commandkubectl patch -n eclipse-che "checluster/eclipse-che" --type=json -p="[{"op": "replace", "path": "/spec/components/dashboard/deployment", "value": {containers: [{image: "quay.io/eclipse/che-dashboard:pr-1315", name: che-dashboard}]}}]" |
What does this PR do?
This PR fixed the devfile resolve flow and how the original devfile content is stored.
These changes bring several improvements:
Screenshot/screencast of this PR
What issues does this PR fix or reference?
fixes eclipse-che/che#23331
Is it tested? How?
Release Notes
Docs PR