Skip to content

Composite commands label and id #18

@l0rd

Description

@l0rd

Composite currently only has a label. But that appears to be something that would be visible in the Che UI. It should have an id as well so that tools like odo can reference composite commands with the following requirements:

  • 2 distincts attributes: label and id
  • both can coexist
  • id is mandatory
  • id used to reference parent devfiles commands (not label)

Sample devfile snippet to show example of usage/format:

projects:
 - name: "devworkspace-spec"
   git:
       location: "https://github.com/che-incubator/devworkspace-api"
       branch: "master"
commands:
 - exec:
     commandLine: "./buildSchema.sh"
     component: build-tools
     id: buildSchema
 - vscodeTask:
     id: openDevfile
     inlined:
       json       
 - composite:
     id: buildAndOpen
     label: Build schema and open devfile
     commands:
       - buildSchema
       - openDevfile
     parallel: false
components:
 - container:
     image: some container image with required build tools
     name: "build-tools"

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions