Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Introduces separate runtime provider schema #13488

Commits on Jan 11, 2021

  1. Introduces separate runtime provider schema

    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.
    potiuk committed Jan 11, 2021
    Configuration menu
    Copy the full SHA
    fed91c6 View commit details
    Browse the repository at this point in the history