Skip to content

add optional property version for parent reference to support multi-version stacks/samples #764

Closed
@yangcao77

Description

@yangcao77

Which area this feature is related to?

/area api

Which functionality do you think we should add?

Why is this needed? Is your feature request related to a problem?
sub issue for #735

Detailed description:
Devfile Spec change required for multi-version stacks/sample support.

Describe the solution you'd like

Add optional property version for parent reference to support multi-version stacks/samples.
Create validation on the version property:

  • The version should be either with a common version pattern, or be latest.
  • version should only be used when id is specified. (Pull from registry)

Describe alternatives you've considered

Additional context

Metadata

Metadata

Assignees

Labels

area/apiEnhancement or issue related to the api/devfile specification

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions