Skip to content

Automatically restart from local devfile when devfile failed to be resolved at startup #22491

@l0rd

Description

@l0rd

Is your enhancement related to a problem? Please describe

There are situation where che-server is not able to resolve a devfile from a git repository using the git service API. A typical example is when it's not GitHub, GitLab, Bitbucket or Azure DevOps repository or when SSH URL is used.

Describe the solution you'd like

Project clone, after cloning the git repository, updates the DevWorkspace object if both conditions are met:

  • The env variable DEVFILE_RESOLUTION=failed is set
  • A devfile exist at the root of the main project

More information

This is part of this epic: #21951

Metadata

Metadata

Assignees

No one assigned

    Labels

    engine/devworkspaceIssues related to Che configured to use the devworkspace controller as workspace engine.kind/enhancementA feature request - must adhere to the feature request template.severity/P1Has a major impact to usage or development of the system.team/BThis team is responsible for the Web Terminal, the DevWorkspace Operator.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions