XMLWordPrintable

    • False
    • None
    • False

      I try to use the devfile example for commands with an id with spaces from the doc at
      https://devfile.io/docs/devfile/2.1.0/user-guide/adding-commands-to-a-devfile/

      commands:
        - id: compile and run
          exec:
            component: go-cli
            commandLine: "go get -d && go run main.go"
            workingDir: "${PROJECTS_ROOT}/src/github.com/acme/my-go-project" 

      and will receive error

      Error. line[23] column[9]: Error. String does not match the pattern of "^[a-z0-9]([-a-z0-9]*[a-z0-9])?$". 

            mloriedo Mario Loriedo
            rbaumgar Robert Baumgartner
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated: