Skip to content
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

Support ENV variables in cheEditor/chePlugin components of the devfile #15401

Closed
wants to merge 3 commits into from

Conversation

mshaposhnik
Copy link
Contributor

What does this PR do?

Support ENV variables in cheEditor/chePlugin components of the devfile

What issues does this PR fix or reference?

@che-bot che-bot added the status/code-review This issue has a pull request posted for it and is awaiting code review completion by the community. label Dec 4, 2019
@che-bot
Copy link
Contributor

che-bot commented Dec 4, 2019

E2E tests of Eclipse Che Multiuser on OCP has failed:

@che-bot
Copy link
Contributor

che-bot commented Dec 4, 2019

❌ E2E Happy path tests failed ❗

See Details

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

⚠️ https://github.com/orgs/eclipse/teams/eclipse-che-qa please check this report.

ℹ️ Use comment "crw-ci-test" to rerun happy path E2E test.

if (isNullOrEmpty(envVars)) {
return null;
}
return Stream.of(envVars.split(","))
Copy link
Contributor

Choose a reason for hiding this comment

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

This breaks on , contained in the envvar value, right? IMHO that could render some JAVA_OPTS invalid, because e.g. settings for -agentlib or -javaagent are usually comma separated.

Copy link
Contributor Author

@mshaposhnik mshaposhnik Dec 5, 2019

Choose a reason for hiding this comment

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

Yeah, that is the problem. Also another example is LDAP namespaces like myDN=OU=MY_OU,DC=MYDC,DC=local

@mshaposhnik
Copy link
Contributor Author

Closing in favor of #15435

@mshaposhnik mshaposhnik deleted the editor_plugin_env branch February 18, 2020 09:26
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
status/code-review This issue has a pull request posted for it and is awaiting code review completion by the community.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants