-
Notifications
You must be signed in to change notification settings - Fork 64
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
Specify the source mapping path for component containers #17
Comments
l0rd
added
the
area/api
Enhancement or issue related to the api/devfile specification
label
Feb 6, 2020
Proposal reviewed and approved. |
A small addition to this. The env variable should NOT be called |
davidfestal
added a commit
that referenced
this issue
Apr 3, 2020
Signed-off-by: David Festal <dfestal@redhat.com>
davidfestal
added a commit
that referenced
this issue
Apr 10, 2020
PR comment is here: #35 (comment) Signed-off-by: David Festal <dfestal@redhat.com>
12 tasks
1 task
davidfestal
added a commit
that referenced
this issue
Apr 22, 2020
* Implement agreement on issue #18 * Implement agreement on issue #17 * Implement agreement on issue #21 * Implement agreement on issue #22 * Implement agreement on issue #27 * Implement agreement on issue #9 * Implement agreement on issue #10 * Fix PR comments about issue #9 PR comment #35 (comment) * Fix PR comments about issue #17 PR comment #35 (comment) * Implement agreement on issue #14 and #19 * Add the spring boot example * Implement agreement on issue #32 * Fix last PR comments Signed-off-by: David Festal <dfestal@redhat.com> Co-Authored-By: Sergii Leshchenko <sleshche@redhat.com>
Implemented |
22 tasks
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Currently, project source is mounted to either CHE_PROJECT_ROOT or /projects when mountSources is true. The CHE_PROJECT_ROOT value is configurable during Che setup via the che.properties file
If odo is to consume the devfiles, we would like it to have an alternate way to set the source path value in the component container, rather than having a fixed single value via either CHE_PROJECT_ROOT or /projects for all the devfiles.
This can be achieved by having sourceMapping when mountSources is true, which transfers/mounts the project to the specified path in the container.
Che can also use the property i.e.; when sourceMapping is present, it overrides the CHE_PROJECT_ROOT value if present and mounts the source to the path defined by sourceMapping
Example:
The text was updated successfully, but these errors were encountered: