From 7e42e03de334a0b0ee541927f2e3215862a71e0b Mon Sep 17 00:00:00 2001 From: Marius Posta Date: Fri, 2 Aug 2024 09:40:29 -0700 Subject: [PATCH] airbyte-ci: format should ignore airbyte-enterprise submodule (#42972) --- airbyte-ci/connectors/pipelines/README.md | 1 + .../connectors/pipelines/pipelines/airbyte_ci/format/consts.py | 3 +++ airbyte-ci/connectors/pipelines/pyproject.toml | 2 +- 3 files changed, 5 insertions(+), 1 deletion(-) diff --git a/airbyte-ci/connectors/pipelines/README.md b/airbyte-ci/connectors/pipelines/README.md index 32fb830b3c38..7378483546f3 100644 --- a/airbyte-ci/connectors/pipelines/README.md +++ b/airbyte-ci/connectors/pipelines/README.md @@ -773,6 +773,7 @@ E.G.: running Poe tasks on the modified internal packages of the current branch: | Version | PR | Description | | ------- | ---------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------- | +| 4.28.1 | [#42972](https://github.com/airbytehq/airbyte/pull/42972) | Add airbyte-enterprise support for format command. | | 4.28.0 | [#42849](https://github.com/airbytehq/airbyte/pull/42849) | Couple selection of strict-encrypt variants (e vice versa) | | 4.27.0 | [#42574](https://github.com/airbytehq/airbyte/pull/42574) | Live tests: run from connectors test pipeline for connectors with sandbox connections | | 4.26.1 | [#42905](https://github.com/airbytehq/airbyte/pull/42905) | Rename the docker cache volume to avoid using the corrupted previous volume. | diff --git a/airbyte-ci/connectors/pipelines/pipelines/airbyte_ci/format/consts.py b/airbyte-ci/connectors/pipelines/pipelines/airbyte_ci/format/consts.py index 5f1cb9bb87fe..b19687c5a7a8 100644 --- a/airbyte-ci/connectors/pipelines/pipelines/airbyte_ci/format/consts.py +++ b/airbyte-ci/connectors/pipelines/pipelines/airbyte_ci/format/consts.py @@ -3,6 +3,8 @@ # from enum import Enum +from pipelines.consts import AIRBYTE_SUBMODULE_DIR_NAME + REPO_MOUNT_PATH = "/src" CACHE_MOUNT_PATH = "/cache" @@ -10,6 +12,7 @@ # TODO create .airbyte_ci_ignore files? DEFAULT_FORMAT_IGNORE_LIST = [ + AIRBYTE_SUBMODULE_DIR_NAME, # Required to format the airbyte-enterprise repo. "**/__init__.py", # These files has never been formatted and we don't want to start now (for now) see https://github.com/airbytehq/airbyte/issues/33296 "**/__pycache__", "**/.eggs", diff --git a/airbyte-ci/connectors/pipelines/pyproject.toml b/airbyte-ci/connectors/pipelines/pyproject.toml index 420a73b22f8e..e6c1f95f3163 100644 --- a/airbyte-ci/connectors/pipelines/pyproject.toml +++ b/airbyte-ci/connectors/pipelines/pyproject.toml @@ -4,7 +4,7 @@ build-backend = "poetry.core.masonry.api" [tool.poetry] name = "pipelines" -version = "4.28.0" +version = "4.28.1" description = "Packaged maintained by the connector operations team to perform CI for connectors' pipelines" authors = ["Airbyte "]