Details
-
Bug
-
Status: Open
-
Minor - P4
-
Resolution: Unresolved
-
None
Description
In a sandbox user account, run this:
speed% :>~/.evergreen.yml
|
speed% echo hello world >test.yml
|
speed% /home/w/bin/evergreen validate -f test.yml
|
speed% echo $?
|
0
|
Same validate request from another user account with a config file:
speed% evergreen validate -f /home/sandbox/test.yml
|
ERROR: load project error(s): yaml: unmarshal errors:
|
line 1: cannot unmarshal !!str `hello w...` into model.parserProject
|
invalid configuration
|
It appears that when the config file is empty, evergreen does not perform any validation and exits with 0 status regardless of the contents of the input file.