Devfile
2.0.0Schema URL
Devfile describes the structure of a cloud-native workspace and development environment.
Properties
Devfile schema version
Predefined, ready-to-use, workspace-related commands
List of the workspace components, such as editor and plugins, user-provided containers, or other types of components
Bindings of commands to events. Each command is referred-to by its name.
4 nested properties
IDs of commands that should be executed after the workspace is completely started. In the case of Che-Theia, these commands should be executed after all plugins and extensions have started, including project cloning. This means that those commands are not triggered until the user opens the IDE in his browser.
IDs of commands that should be executed after stopping the workspace.
IDs of commands that should be executed before the workspace start. Kubernetes-wise, these commands would typically be executed in init containers of the workspace POD.
IDs of commands that should be executed before stopping the workspace.
Optional metadata
8 nested properties
Map of implementation-dependant free-form YAML attributes.
Optional devfile description
Optional devfile display name
Optional devfile global memory limit
Optional devfile icon
Optional devfile name
Optional devfile tags
Optional semver-compatible version
Parent workspace template
8 nested properties
Overrides of commands encapsulated in a parent devfile or a plugin. Overriding is done according to K8S strategic merge patch standard rules.
Overrides of components encapsulated in a parent devfile or a plugin. Overriding is done according to K8S strategic merge patch standard rules.
Id in a registry that contains a Devfile yaml file
Reference to a Kubernetes CRD of type DevWorkspaceTemplate
2 nested properties
Overrides of projects encapsulated in a parent devfile. Overriding is done according to K8S strategic merge patch standard rules.
Overrides of starterProjects encapsulated in a parent devfile. Overriding is done according to K8S strategic merge patch standard rules.
Uri of a Devfile yaml file
Projects worked on in the workspace, containing names and sources locations
StarterProjects is a project that can be used as a starting point when bootstrapping new projects