ansible/test/lib/ansible_test/_data/sanity/code-smell/runtime-metadata.json
John R Barker 37785255f2
validate ansible-base's and collections runtime.yml (#69742)
* Validate ansible-base & collection's runtime.yml

Add new test `runtime-metadata`

* Schema validation of file
* Error if a a legacy meta/routing.yml exist in a collection
* removal_date OR removal_version

* Add tombstone validation.

* Allow both ISO 8601 date strings and datetime.date objects (from YAML dates).

* Address review comments.

* Add metadata to test collection.

* Add requirements file.

Co-authored-by: Felix Fontein <felix@fontein.de>
Co-authored-by: Matt Clay <matt@mystile.com>
2020-06-12 15:34:34 +01:00

11 lines
225 B
JSON

{
"prefixes": [
"lib/ansible/config/ansible_builtin_runtime.yml",
"meta/routing.yml",
"meta/runtime.yml"
],
"extensions": [
".yml"
],
"output": "path-line-column-message"
}