Skip to content

Move devfile command validation to validate pkg #3703

@maysunfaisal

Description

@maysunfaisal

This is a code refactor issue.

Currently the devfile commands are validated in command.go during odo push. However, other features of devfile requires the usage of devfile commands like lifecycle events and since they dont require the usage of odo push, they're validated outside in validate pkg.

We should make the command validation uniform and move it out from only odo push to the validate pkg like devfile events/component validation in validate pkg

/area devfile

Metadata

Metadata

Assignees

Labels

area/devfile-specIssues or PRs related to the Devfile specification and how odo handles and interprets it.

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions