-
-
Notifications
You must be signed in to change notification settings - Fork 21
[FEATURE]: add option for validating buildspecs when running 'buildtest build' #1718
Copy link
Copy link
Closed
Description
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
- Add cli option
--validate - Make sure bash completion works with new option
--validate - Add entry in
buildtest showwith row column forbuildtest build --validate -b <file>or something - Add test coverage
- Add documentation in https://buildtest.readthedocs.io/en/devel/gettingstarted/buildingtest.html
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
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels