Skip to content

[FEATURE]: add option for validating buildspecs when running 'buildtest build' #1718

@shahzebsiddiqui

Description

@shahzebsiddiqui

Please describe your feature

We would like to have an option buildtest build --validate that will validate buildspecs given a set of buildspecs. This will basically implement the current implementation of buildtest build --stage=parse where buildtest will stop after parsing the YAML files. Since --stage will be removed eventually we would like to have --validate option in place.

The idea is this option should just validate all buildspec given a set if search criteria which can be all of the following options

buildtest bd -b <file> -t <tag> -e <EXECUTOR_NAME> -n <NAME> -x <file> --validate

Suggest potential solution

No response

Additional Information

Tasks for this item

Post question in Slack

  • I agree that I posted my question in slack before creating this issue

Is there an existing issue

  • I confirm there is no existing issue for this issue

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions