Closed rogpeppe closed 2 weeks ago
Investigating a bit further, it looks to me like this is a legit failure.
The test that's failing seems to be using this file as input.
When I manually check that file against the buildkit schema, I see validation errors.
I don't see cache
as a valid field name in any of the definitions, but it's used in the final two steps of command.yml
.
Delving in still more, I see that the cache
field test case was added in PR #78 (https://github.com/buildkite/pipeline-schema/pull/78/files#diff-9fcde326d127f74194f70e563bdf2c118c51b719c308f015b8eb0204a9a552fb).
That added cache
as a definition inside #/definitions/commonOptions/cache
but that definition is not referred to anywhere. I suspect it should be added as a property inside #/definitions/commandStep
.
Thanks for fixing this :)
This is with respect to current tip (commit 0435a6c2dd4bd422488482ca7aacb6bac252365d).
I'm wanting to make a contribution to the schema, so the first thing I did was to try to verify that the tests pass. But I get test failures.
With
npm test
I see:With
docker-compose
, I see:What am I doing wrong?