[Devfile] Support commands for Os/K8s tool
See original GitHub issueDescription
Now we support commands only for the ChePlugin or CheEditor tool. We want to introduce an ability to define commands for OS/K8s tools Like
specVersion: 0.0.1
name: che-in-che
projects:
- name: che
source:
type: git
location: 'https://github.com/eclipse/che.git'
tools:
- name: theia-editor
type: cheEditor
id: org.eclipse.che.editor.theia:1.0.0
- name: exec-plugin
type: chePlugin
id: che-machine-exec-plugin:0.0.1
- name: che-dev
type: openshift
local: .che-dev.yaml
commands:
- name: build
actions:
- type: exec
tool: che-dev
command: mvn clean install
workdir: /projects/che
Issue Analytics
- State:
- Created 5 years ago
- Comments:8 (8 by maintainers)
Top Results From Across the Web
Introduction to Devfile - GitHub Pages
A list of commands: actions to manage the workspace components like running the dev tools, starting the runtime environments etc… Example of the...
Read more >Chapter 4. Authoring devfiles - Red Hat Customer Portal
List of commands: Actions to manage the workspace components, such as running the development tools, starting the runtime environments, and others. Example of...
Read more >Adding commands - Devfile
A devfile allows to specify commands to be available for execution in a workspace. ... The support groups are: build , run ,...
Read more >Devfile Reference - odo
This API Reference uses examples and snippets to help you create your own ... These commands are typically tied to Kubernetes or OpenShift...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
It’s what I mentioned - We can easily implement it now - let’s do it.
We can create another issue for
Implement an ability to specify container for Kubernetes/OpenShift tool command
where we can discuss and implement the following Devfile format changesWhere new fields
selector
,containerName
,podName
can pick up needed containers/container.A case when K8s/OS tool has only one container is already handled by the following PR https://github.com/eclipse/che/pull/12589. For handling a case when K8s/OS tool has several containers there new issue is registered https://github.com/eclipse/che/issues/12606