Skip to content
This repository has been archived by the owner on Apr 4, 2023. It is now read-only.

fix(ssh-plugin): Disable the plug-in on DevWorkspace as there is no REST API (including ssh) #1135

Merged
merged 1 commit into from
Jun 12, 2021

Conversation

benoitf
Copy link
Contributor

@benoitf benoitf commented Jun 11, 2021

What does this PR do?

There is no ssh service yet with DevWorkspace. Disable it when running with devWorkspace instead of showing error messages about not finding SSH service

Screenshot/screencast of this PR

image

What issues does this PR fix or reference?

eclipse-che/che#19188

How to test this PR?

Start with DevWorkspace mode and check ssh-plugin is disabled (no warning notification about failure on ssh keys)

PR Checklist

As the author of this Pull Request I made sure that:

Reviewers

Reviewers, please comment how you tested the PR when approving it.

Happy Path Channel

HAPPY_PATH_CHANNEL=next

Change-Id: I9fe4d0bf637c6fdba805fb1374dd67fbe807e083
Signed-off-by: Florent Benoit fbenoit@redhat.com

…EST API (including ssh)

Change-Id: I9fe4d0bf637c6fdba805fb1374dd67fbe807e083
Signed-off-by: Florent Benoit <fbenoit@redhat.com>
@codecov
Copy link

codecov bot commented Jun 11, 2021

Codecov Report

Merging #1135 (665811a) into master (eeb4526) will increase coverage by 2.94%.
The diff coverage is 54.19%.

Impacted file tree graph

@@            Coverage Diff             @@
##           master    #1135      +/-   ##
==========================================
+ Coverage   29.45%   32.40%   +2.94%     
==========================================
  Files         277      285       +8     
  Lines        9336     9685     +349     
  Branches     1380     1462      +82     
==========================================
+ Hits         2750     3138     +388     
+ Misses       6487     6449      -38     
+ Partials       99       98       -1     
Impacted Files Coverage Δ
...theia-about/src/browser/about-che-theia-dialog.tsx 0.00% <ø> (ø)
...e-sync-tracker/src/browser/sync-process-tracker.ts 0.00% <0.00%> (ø)
...ovisioner/src/node/git-configuration-controller.ts 0.00% <0.00%> (ø)
...eia-plugin-remote/src/node/hosted-plugin-remote.ts 0.00% <0.00%> (ø)
...theia-plugin-remote/src/node/plugin-host-custom.ts 0.00% <0.00%> (ø)
...in-remote/src/node/plugin-remote-backend-module.ts 0.00% <0.00%> (ø)
...theia-plugin-remote/src/node/plugin-remote-init.ts 0.00% <0.00%> (ø)
...-che-theia-plugin-remote/src/node/plugin-remote.ts 0.00% <0.00%> (ø)
...ugin-remote/src/node/server-plugin-proxy-runner.ts 0.00% <0.00%> (ø)
...plugin-remote/src/node/terminal-container-aware.ts 0.00% <0.00%> (ø)
... and 80 more

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 1217e60...665811a. Read the comment docs.

@che-bot
Copy link
Contributor

che-bot commented Jun 11, 2021

❌ E2E Happy path tests failed ❗

Try Che-Theia editor only Try Che-Theia with Java/maven example Try Che-Theia with NodeJs example

See Details

name link
che-theia quay.io/crw_pr/che-theia:1135
che-theia-endpoint-runtime-binary quay.io/crw_pr/che-theia-endpoint-runtime-binary:1135

Test product:

  • Use comment "[crw-ci-test]" to rerun happy path E2E test.
  • Use comment "[crw-ci-test --rebuild]" to re-build the images and rerun happy path E2E test.

Eclipse Che QE channel: https://mattermost.eclipse.org/eclipse/channels/eclipse-che-qe

@benoitf
Copy link
Contributor Author

benoitf commented Jun 11, 2021

[crw-ci-test]

@che-bot
Copy link
Contributor

che-bot commented Jun 12, 2021

❌ E2E Happy path tests failed ❗

Try Che-Theia editor only Try Che-Theia with Java/maven example Try Che-Theia with NodeJs example

See Details

name link
che-theia quay.io/crw_pr/che-theia:1135
che-theia-endpoint-runtime-binary quay.io/crw_pr/che-theia-endpoint-runtime-binary:1135

Test product:

  • Use comment "[crw-ci-test]" to rerun happy path E2E test.
  • Use comment "[crw-ci-test --rebuild]" to re-build the images and rerun happy path E2E test.

Eclipse Che QE channel: https://mattermost.eclipse.org/eclipse/channels/eclipse-che-qe

@benoitf
Copy link
Contributor Author

benoitf commented Jun 12, 2021

[crw-ci-test --rebuild]

@che-bot
Copy link
Contributor

che-bot commented Jun 12, 2021

✅ E2E Happy path tests succeed 🎉

Try Che-Theia editor only Try Che-Theia with Java/maven example Try Che-Theia with NodeJs example

See Details

name link
che-theia quay.io/crw_pr/che-theia:1135
che-theia-endpoint-runtime-binary quay.io/crw_pr/che-theia-endpoint-runtime-binary:1135

Test product:

  • Use comment "[crw-ci-test]" to rerun happy path E2E test.
  • Use comment "[crw-ci-test --rebuild]" to re-build the images and rerun happy path E2E test.

Eclipse Che QE channel: https://mattermost.eclipse.org/eclipse/channels/eclipse-che-qe

@benoitf benoitf merged commit 0259cf1 into eclipse-che:master Jun 12, 2021
@benoitf benoitf deleted the ssh-disable-dev-workspace branch June 12, 2021 16:39
@che-bot che-bot added this to the 7.32 milestone Jun 12, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants