Comments (8)
@maysunfaisal Both
from api.
from api.
That would be very easy to do, model-wise, and quite consistent with the way environment is mentioned in other parts of the devfile (in container
components for example).
from api.
Reviewed and approved
from api.
I am wondering what is the benefit of doing this way as opposed to having the ENV defined for the component container?
Also what happens if multiple commands are referencing the same component and require the same ENV? Will I need to mention it twice in the respective command? That seems redundant IMO..
from api.
@maysunfaisal This allows you to easily set variables for just one command, without needing to change the default value for the entire container, and to allow separate commands to have separate values for the same variable.
The environment variable value will only be set in the context of the command, and shouldn't conflict with other commands setting the same variable.
The example given in issue description is a good one, setting different values of JAVA_OPTS
for each separate command as needed.
from api.
@johnmcollier will 2.0 spec support defining ENV on the component level as well or just on the command level?
from api.
Implemented
from api.
Related Issues (20)
- Registry operator fails on unit tests HOT 3
- Registry operator errors out if ingress domain is not set
- Move all registry-support test resources inside the same directory
- Add cert-manager as part of registry operator integration test setup
- Include deployment dependencies and readiness checks for registry operator integration test suite
- Python v3.0.0 and Spring Boot stack sample doesn't show composite commands in Eclipse Che HOT 5
- Implement CODEOWNERS For Stack Owners HOT 1
- Spring Boot v2.1.0 stack sample doesn't show composite commands in Eclipse Che HOT 1
- Retire product devfile registry
- [Spike] Investigate why older issues are not following issue lifecycle HOT 1
- Older issues are not following issue lifecycle HOT 2
- [Spike] Investigate Skipped Stacks in Registry Nightly Run HOT 3
- Podman Support For Registry Support Build Tools
- [Spike] Investigate stack deprecation policy to include parent stack scenarios
- odo v3 check failing with `java-quarkus` stack HOT 3
- Update schema release process to include library update
- Konflux devfile compatibility nightly run fails
- Add registry support for dynamic stack updates [2/2]
- [Spike] Investigate CI Workloads And Images That Can Be Migrated To Arm64 / Multi-Arch HOT 2
- Add dev workspaces check for updated registry stacks HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from api.