From 08119e652969eebcd141a44fe27a9f17272e1edb Mon Sep 17 00:00:00 2001 From: Marius Posta Date: Fri, 16 Feb 2024 11:25:26 -0800 Subject: [PATCH] airbyte-ci: remove reference to buildConnectorImage (#35364) --- airbyte-ci/connectors/pipelines/README.md | 1 + .../airbyte_ci/connectors/test/steps/java_connectors.py | 6 +++++- airbyte-ci/connectors/pipelines/pyproject.toml | 2 +- 3 files changed, 7 insertions(+), 2 deletions(-) diff --git a/airbyte-ci/connectors/pipelines/README.md b/airbyte-ci/connectors/pipelines/README.md index aa67c0ae4296..44f862c15427 100644 --- a/airbyte-ci/connectors/pipelines/README.md +++ b/airbyte-ci/connectors/pipelines/README.md @@ -640,6 +640,7 @@ E.G.: running Poe tasks on the modified internal packages of the current branch: | Version | PR | Description | | ------- | ---------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------- | +| 4.2.2 | [#35364](https://github.com/airbytehq/airbyte/pull/35364) | Fix connector tests following gradle changes in #35307. | | 4.2.1 | [#35204](https://github.com/airbytehq/airbyte/pull/35204) | Run `poetry check` before `poetry install` on poetry package install. | | 4.2.0 | [#35103](https://github.com/airbytehq/airbyte/pull/35103) | Java 21 support. | | 4.1.4 | [#35039](https://github.com/airbytehq/airbyte/pull/35039) | Fix bug which prevented gradle test reports from being added. | diff --git a/airbyte-ci/connectors/pipelines/pipelines/airbyte_ci/connectors/test/steps/java_connectors.py b/airbyte-ci/connectors/pipelines/pipelines/airbyte_ci/connectors/test/steps/java_connectors.py index f944db98ead4..c69a0ac4fb42 100644 --- a/airbyte-ci/connectors/pipelines/pipelines/airbyte_ci/connectors/test/steps/java_connectors.py +++ b/airbyte-ci/connectors/pipelines/pipelines/airbyte_ci/connectors/test/steps/java_connectors.py @@ -43,7 +43,11 @@ class IntegrationTests(GradleTask): @property def default_params(self) -> STEP_PARAMS: return super().default_params | { - "-x": ["buildConnectorImage", "assemble"], # Exclude the buildConnectorImage and assemble tasks + # Exclude the assemble task to avoid a circular dependency on airbyte-ci. + # The integrationTestJava gradle task depends on assemble, which in turns + # depends on buildConnectorImage to build the connector's docker image. + # At this point, the docker image has already been built. + "-x": ["assemble"], } async def _load_normalization_image(self, normalization_tar_file: File) -> None: diff --git a/airbyte-ci/connectors/pipelines/pyproject.toml b/airbyte-ci/connectors/pipelines/pyproject.toml index 43720530cfa0..36c99f486ee4 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.2.1" +version = "4.2.2" description = "Packaged maintained by the connector operations team to perform CI for connectors' pipelines" authors = ["Airbyte "]