ansible/docs/docsite/rst/dev_guide/testing/sanity/runtime-metadata.rst
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

7 lines
174 B
ReStructuredText

runtime-metadata.yml
====================
Validates the schema for:
* ansible-base's ``lib/ansible/config/ansible_builtin_runtime.yml``
* collection's ``meta/runtime.yml``