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

Conversation

@RomanNikitenko
Copy link
Member

@RomanNikitenko RomanNikitenko commented Mar 25, 2021

Signed-off-by: Roman Nikitenko rnikiten@redhat.com

Notice: The changes should be merged together with eclipse-che/che#19406

What does this PR do?

The changes turn on the Multi-root mode by default for all workspaces.
It's possible to turn off the Multi-root mode by providing the corresponding value for multiRoot attribute:

attributes:
  multiRoot: 'off'

Screenshot/screencast of this PR

Multi-root is off:
multi-root-off

Multi-root is on:
multi-root-on

What issues does this PR fix or reference?

eclipse-che/che#19389

How to test this PR?

  1. Start a workspace and check that the workspace has started in Multi-root mode by default.
  2. Add the following to your devfile:
attributes:
  multiRoot: 'off'

  1. Start the workspace and check that the Multi-root mode is off.

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

Signed-off-by: Roman Nikitenko <rnikiten@redhat.com>
@che-bot

This comment has been minimized.

@RomanNikitenko
Copy link
Member Author

[crw-ci-test]

@codecov
Copy link

codecov bot commented Mar 25, 2021

Codecov Report

Merging #1053 (2125ff8) into master (eeb4526) will increase coverage by 0.00%.
The diff coverage is 0.00%.

Impacted file tree graph

@@           Coverage Diff           @@
##           master    #1053   +/-   ##
=======================================
  Coverage   29.45%   29.46%           
=======================================
  Files         277      277           
  Lines        9336     9333    -3     
  Branches     1380     1379    -1     
=======================================
  Hits         2750     2750           
+ Misses       6487     6484    -3     
  Partials       99       99           
Impacted Files Coverage Δ
...e-theia-workspace/src/node/che-workspace-server.ts 0.00% <0.00%> (ø)
...workspace-plugin/src/workspace-projects-manager.ts 0.00% <0.00%> (ø)

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 eeb4526...2125ff8. Read the comment docs.

@che-bot
Copy link
Contributor

che-bot commented Mar 25, 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:1053
che-theia-endpoint-runtime-binary quay.io/crw_pr/che-theia-endpoint-runtime-binary:1053

Tested with Eclipse Che Single User on K8S (minikube v1.1.1)

  • 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.

Copy link
Member

@azatsarynnyy azatsarynnyy left a comment

Choose a reason for hiding this comment

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

I've quickly tested it with
image

Everything works as expected 👍
So, let's merge it ASAP. The beginning of the sprint is the best time for it! 🚀

@benoitf
Copy link
Contributor

benoitf commented Mar 26, 2021

to fix devfile behavior with multi-root and plug-ins issue I've created

first one have been merged

we can merge this PR now or when two PR on plug-in registry are merged as ruby and asciidoctor are not 'essential'

@RomanNikitenko RomanNikitenko merged commit 6429b29 into master Mar 26, 2021
@RomanNikitenko RomanNikitenko deleted the multiRootDefault branch March 26, 2021 13:25
@che-bot che-bot added this to the 7.29 milestone Mar 26, 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.

5 participants