Skip to content
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: factory flow with a devfile that uses a parent #1320

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

olexii4
Copy link
Contributor

@olexii4 olexii4 commented Feb 19, 2025

What does this PR do?

This PR fixes factory flow with a devfile that uses a parent.

Screenshot/screencast of this PR

Знімок екрана 2025-02-19 о 07 08 52

What issues does this PR fix or reference?

fixes eclipse-che/che#23353

Is it tested? How?

  1. Deploy Eclipse-Che with the image from this PR.
  2. Try to create a new workspace from the Git repo URL:
https://github.com/testsfactory/parentDevfile.git
  1. The target workspace should be created successfully.

Release Notes

Docs PR

@che-bot
Copy link
Contributor

che-bot commented Feb 19, 2025

Click here to review and test in web IDE: Contribute

@olexii4 olexii4 requested a review from dmytro-ndp February 19, 2025 05:13
Copy link

Docker image build succeeded: quay.io/eclipse/che-dashboard:pr-1320

kubectl patch command
kubectl 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-1320", name: che-dashboard}]}}]"

Copy link

codecov bot commented Feb 19, 2025

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 91.65%. Comparing base (b7096ea) to head (5d2b083).
Report is 2 commits behind head on main.

Additional details and impacted files
@@            Coverage Diff             @@
##             main    #1320      +/-   ##
==========================================
- Coverage   91.81%   91.65%   -0.17%     
==========================================
  Files         501      501              
  Lines       45535    45535              
  Branches     3183     3172      -11     
==========================================
- Hits        41808    41733      -75     
- Misses       3695     3769      +74     
- Partials       32       33       +1     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

Copy link
Member

@ibuziuk ibuziuk left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@olexii4 would it be possible to add some test coverage for the parentDevfile functionality?

Copy link
Contributor

@dmytro-ndp dmytro-ndp left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Eclipse Che Next with User Dashboard quay.io/eclipse/che-dashboard:pr-1320 has successfully created workspace using Git Repo with parent devfile https://github.com/testsfactory/parentDevfile

Screencast:
screen-capture (3).webm

Well done!

Copy link

openshift-ci bot commented Feb 19, 2025

[APPROVALNOTIFIER] This PR is NOT APPROVED

This pull-request has been approved by: 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 /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
4 participants