From e5e4d7b0a6cb66476b23a14e38cbe95984cdc496 Mon Sep 17 00:00:00 2001 From: alafanechere Date: Fri, 15 Sep 2023 02:03:26 +0200 Subject: [PATCH] optional dockerfile check --- .../connectors/connector_ops/connector_ops/qa_checks.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/airbyte-ci/connectors/connector_ops/connector_ops/qa_checks.py b/airbyte-ci/connectors/connector_ops/connector_ops/qa_checks.py index 1fad05b4a557..8390d5b0cb18 100644 --- a/airbyte-ci/connectors/connector_ops/connector_ops/qa_checks.py +++ b/airbyte-ci/connectors/connector_ops/connector_ops/qa_checks.py @@ -254,9 +254,9 @@ def check_metadata_version_matches_dockerfile_label(connector: Connector) -> boo def get_qa_checks(connector: Connector) -> Iterable[bool]: - default_qa_checks = QA_CHECKS if connector.has_dockerfile: - default_qa_checks.append(check_metadata_version_matches_dockerfile_label) + QA_CHECKS.append(check_metadata_version_matches_dockerfile_label) + return QA_CHECKS def remove_strict_encrypt_suffix(connector_technical_name: str) -> str: