-
Notifications
You must be signed in to change notification settings - Fork 111
feat(task-plugin): bump to devfile 2.0 API #1024
Conversation
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
Codecov Report
@@ Coverage Diff @@
## master #1024 +/- ##
==========================================
+ Coverage 21.07% 21.39% +0.32%
==========================================
Files 298 298
Lines 11090 11008 -82
Branches 1680 1659 -21
==========================================
+ Hits 2337 2355 +18
+ Misses 8603 8508 -95
+ Partials 150 145 -5
Continue to review full report at Codecov.
|
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
Change-Id: Ib64a9a1b8e4f15ffba869e79bfe7aa1aa0a87b00 Signed-off-by: Florent Benoit <fbenoit@redhat.com>
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
Change-Id: I9b472a7b3a865325c150f91e49b35bc7196545ab Signed-off-by: Florent Benoit <fbenoit@redhat.com>
✅ E2E Happy path tests succeed 🎉 See Details
Tested with Eclipse Che Single User on K8S (minikube v1.1.1)
|
@benoitf so as I understand it's devfile 2.0. How are we dealing with compatibility ? do we have a reference to the work ? |
I'm not sure to follow the question it's the same process than for all the previous converted plug-ins like container-plugin and workspace-plugin.
All internal extensions are already converted since one month, and now it's the turn of each plug-in. |
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.
I haven't tested the functionality, but code-wise LGTM
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.
I tested the changes and can confirm that the main functionality works well for me, I don't see any regression:
- tasks and launch configs are exported from a devfile to the corresponding config files
- launch configs from a devfile are available for running
- I'm able to run a
che
task from theMy Workspace
panel and from theTerminal
=>Run Task
menu as well - task system asks to select a container if a component is not defined in a configuration for running
- task system resolves variables for
che
tasks, like${file}
- I'm able to configure
che
tasks - it's possible to terminate and restart a
che
task - task statuses work as expected
merging, leftover comments will be done in a follow-up PR |
What does this PR do?
Switch to devfile 2.0 API instead of using old workspace attributes
Screenshot/screencast of this PR
What issues does this PR fix or reference?
eclipse-che/che#19188
How to test this PR?
Check tasks are working as expected
PR Checklist
As the author of this Pull Request I made sure that:
What issues does this PR fix or reference
andHow to test this PR
completedReviewers
Reviewers, please comment how you tested the PR when approving it.
Happy Path Channel
HAPPY_PATH_CHANNEL=next
Change-Id: Ib64a9a1b8e4f15ffba869e79bfe7aa1aa0a87b00
Signed-off-by: Florent Benoit fbenoit@redhat.com