-
Notifications
You must be signed in to change notification settings - Fork 52
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
Handle gracefully when an invalid devfile is found in a git repository #643
Conversation
Codecov Report
@@ Coverage Diff @@
## main #643 +/- ##
==========================================
- Coverage 58.53% 58.28% -0.25%
==========================================
Files 247 247
Lines 8318 8381 +63
Branches 1364 1379 +15
==========================================
+ Hits 4869 4885 +16
- Misses 3256 3299 +43
- Partials 193 197 +4
Flags with carried forward coverage won't be shown. Click here to find out more.
Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here. |
Docker image build succeeded: quay.io/eclipse/che-dashboard:pr-643 |
2 similar comments
Docker image build succeeded: quay.io/eclipse/che-dashboard:pr-643 |
Docker image build succeeded: quay.io/eclipse/che-dashboard:pr-643 |
Docker image build succeeded: quay.io/eclipse/che-dashboard:pr-643 |
packages/dashboard-frontend/src/containers/Loader/Factory/Steps/Apply/Devfile/index.tsx
Outdated
Show resolved
Hide resolved
packages/dashboard-frontend/src/containers/Loader/Factory/Steps/Apply/Devfile/index.tsx
Show resolved
Hide resolved
packages/dashboard-frontend/src/containers/Loader/Factory/Steps/Apply/Devfile/index.tsx
Outdated
Show resolved
Hide resolved
packages/dashboard-frontend/src/store/DevfileRegistries/selectors.ts
Outdated
Show resolved
Hide resolved
Docker image build succeeded: quay.io/eclipse/che-dashboard:pr-643 |
Docker image build succeeded: quay.io/eclipse/che-dashboard:pr-643 |
packages/dashboard-frontend/src/pages/Loader/Factory/CreateWorkspaceErrorItems/index.tsx
Outdated
Show resolved
Hide resolved
...end/src/pages/Loader/Factory/__tests__/__snapshots__/applyingDevfileErrorItems.spec.tsx.snap
Outdated
Show resolved
Hide resolved
packages/dashboard-frontend/src/pages/Loader/Factory/ApplyingDevfileErrorItems/index.tsx
Outdated
Show resolved
Hide resolved
packages/dashboard-frontend/src/pages/Loader/Factory/ApplyingDevfileErrorItems/index.tsx
Outdated
Show resolved
Hide resolved
packages/dashboard-frontend/src/pages/Loader/Factory/CreateWorkspaceErrorItems/index.tsx
Outdated
Show resolved
Hide resolved
packages/dashboard-frontend/src/pages/Loader/Factory/CreateWorkspaceErrorItems/index.tsx
Outdated
Show resolved
Hide resolved
5 similar comments
packages/dashboard-frontend/src/containers/Loader/Factory/Steps/Apply/Devfile/index.tsx
Outdated
Show resolved
Hide resolved
packages/dashboard-frontend/src/pages/Loader/Factory/ApplyingDevfileErrorItems/index.tsx
Outdated
Show resolved
Hide resolved
packages/dashboard-frontend/src/pages/Loader/Factory/ApplyingDevfileErrorItems/index.tsx
Outdated
Show resolved
Hide resolved
packages/dashboard-frontend/src/pages/Loader/Factory/ApplyingDevfileErrorItems/index.module.css
Outdated
Show resolved
Hide resolved
packages/dashboard-frontend/src/pages/Loader/Factory/ApplyingDevfileErrorItems/index.module.css
Outdated
Show resolved
Hide resolved
packages/dashboard-frontend/src/pages/Loader/Factory/ApplyingDevfileErrorItems/index.module.css
Outdated
Show resolved
Hide resolved
…ository Signed-off-by: Oleksii Orel <[email protected]>
Docker image build succeeded: quay.io/eclipse/che-dashboard:pr-643 |
@olexii4: The following test 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/test-infra repository. I understand the commands that are listed here. |
Docker image build succeeded: quay.io/eclipse/che-dashboard:pr-643 |
[APPROVALNOTIFIER] This PR is NOT APPROVED This pull-request has been approved by: akurinnoy, 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 |
Signed-off-by: Oleksii Orel [email protected]
What does this PR do?
Add a warning message for the user and prompt him if the workspace should start anyway (ignoring the existing devfile).
What issues does this PR fix or reference?
fixes eclipse-che/che#20738
Is it tested? How?
$CHE_HOST#https://github.com/AObuchow/che-dashboardrrrr
.An error message should be shown:
$CHE_HOST#https://github.com/olexii4/che-dashboard
.A warning message about starting anyway should be shown:
$CHE_HOST#https://github.com/AObuchow/che-dashboard
.A warning message about starting anyway should be shown: