Skip to content

Commands from Python devfile should be improved #777

Closed
devfile/registry
#96
@svor

Description

@svor

/kind bug

Which area this bug is related to?

/area registry

What versions of software are you using?

Eclipse Che 7.42

Bug Summary

Describe the bug:
Commands from Python base devfile are failed.

  • The reason is that workingDir is not pointed to the project sample dir.
  • debugpy command uses env DEBUG_PORT which is not defined

To Reproduce:

  • Create a workspace form Python devfile
  • Try to execute any command

Expected behavior

Commands should be executed

Suggestion on how to fix the bug

  • add workingDir: ${PROJECT_SOURCE} to each command
  • set DEBUG_PORT env

Metadata

Metadata

Assignees

No one assigned

    Labels

    area/registryDevfile registry for stacks and infrastructurekind/bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions