incubator-airflow/dev/templates
Jarek Potiuk ad2a030b9e
Introduces separate runtime provider schema (#13488)
The provider.yaml contains more information that required at
runtime (specifically about documentation building). Those
fields are not needed at runtime and their presence is optional.
Also the runtime check for provider information should be more
relexed and allow for future compatibility (with
additional properties set to false). This way we can add new,
optional fields to provider.yaml without worrying about breaking
future-compatibility of providers with future airflow versions.

This changei restores 'additionalProperties': false in the
main, development-focused provider.yaml schema and introduced
new runtime schema that is used to verify the provider info when
providers are discovered by airflow.

This 'runtime' version should change very rarely as change to
add a new required property in it breaks compatibility of
providers with already released versions of Airflow.

We also trim-down the provider.yaml file when preparing provider
packages to only contain those fields that are required in the
runtime schema.
2021-01-11 23:10:44 +01:00
..
announce_email.j2 Introduces separate runtime provider schema (#13488) 2021-01-11 23:10:44 +01:00
result_email.j2 Fix minor issues with Announcements Dev Scripts (#8141) 2020-04-04 20:11:34 +01:00
slack.j2 Fix minor issues with Announcements Dev Scripts (#8141) 2020-04-04 20:11:34 +01:00
twitter.j2 Fix minor issues with Announcements Dev Scripts (#8141) 2020-04-04 20:11:34 +01:00
vote_email.j2 Release candidate 2 for backport packages 2020.05.20 (#8898) 2020-05-19 14:17:22 +02:00