-
Bug
-
Resolution: Done
-
Critical
-
3.3.0.GA
-
False
-
None
-
False
-
Release Notes
-
-
Enhancement
-
Done
-
-
Description of problem:
Creating workspace from a devfile which contains multiple events (i.e. multiple postStart commands) fails.
Prerequisites (if any, like setup, operators/versions):
Steps to Reproduce
Try to create a workspace based on the following devfile:
schemaVersion: 2.1.0 metadata: name: demo-project components: - name: tools container: image: quay.io/devfile/universal-developer-image:ubi8-f5ffca8 memoryRequest: 1Gi memoryLimit: 3Gi cpuLimit: 1000m cpuRequest: 500m commands: - id: second-command exec: component: tools commandLine: "echo second command" - id: install exec: component: tools commandLine: "/home/user/.sdkman/candidates/jbang/current/bin/jbang trust add -o --fresh --quiet https://github.com/apache/camel/blob/HEAD/dsl/camel-jbang/camel-jbang-main/dist/CamelJBang.java" events: postStart: - install - second-command
It fails with following error:
- Error processing devfile: component tools has multiple postStart events attached to it
- RestartOpen in Verbose mode
Actual results:
It's not possible to use multiple postStart events
Expected results:
It's possible to use multiple postStart events
Reproducibility (Always/Intermittent/Only Once):
always
Build Details:
Additional info (Such as Logs, Screenshots, etc):
- Error processing devfile: component tools has multiple postStart events attached to it
- RestartOpen in Verbose mode
- is documented by
-
CRW-4164 [trial] Dev Spaces v3.6.0 major enhancements and bug fixes (for RN&KI document)
- Closed
- links to