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

Fix provider.yaml errors due to exit(0) in test #17858

Merged
merged 1 commit into from
Aug 27, 2021
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions airflow/providers/amazon/provider.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -409,6 +409,9 @@ transfers:
target-integration-name: Amazon Simple Storage Service (S3)
how-to-guide: /docs/apache-airflow-providers-amazon/operators/salesforce_to_s3.rst
python-module: airflow.providers.amazon.aws.transfers.salesforce_to_s3
- source-integration-name: Local
target-integration-name: Amazon Simple Storage Service (S3)
python-module: airflow.providers.amazon.aws.transfers.local_to_s3

hook-class-names: # deprecated - to be removed after providers add dependency on Airflow 2.2.0+
- airflow.providers.amazon.aws.hooks.s3.S3Hook
Expand Down
13 changes: 6 additions & 7 deletions airflow/providers/microsoft/psrp/provider.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -29,17 +29,16 @@ additional-dependencies:
- pypsrp>=0.5.0

integrations:
- integration-name: Windows Remote Management (WinRM)
external-doc-url: https://docs.microsoft.com/en-us/windows/win32/winrm/portal
logo: /integration-logos/winrm/WinRM.png
- integration-name: Windows PowerShell Remoting Protocol
external-doc-url: https://docs.microsoft.com/en-us/openspecs/windows_protocols/ms-psrp/
tags: [protocol]

operators:
- integration-name: Windows Remote Management (WinRM)
- integration-name: Windows PowerShell Remoting Protocol
python-modules:
- airflow.providers.microsoft.winrm.operators.winrm
- airflow.providers.microsoft.psrp.operators.psrp

hooks:
- integration-name: Windows Remote Management (WinRM)
- integration-name: Windows PowerShell Remoting Protocol
python-modules:
- airflow.providers.microsoft.winrm.hooks.winrm
- airflow.providers.microsoft.psrp.hooks.psrp
Original file line number Diff line number Diff line change
Expand Up @@ -96,7 +96,7 @@ def check_integration_duplicates(yaml_files: Dict[str, Dict]):
"Please delete duplicates."
)
print(tabulate(duplicates, headers=["Integration name", "Number of occurrences"]))
sys.exit(0)
sys.exit(3)


def assert_sets_equal(set1, set2):
Expand Down