From 6de583af6ed580aad7d90dd3e1c639abd93c6fcf Mon Sep 17 00:00:00 2001 From: Joe Reuter Date: Mon, 15 Jan 2024 15:37:44 +0100 Subject: [PATCH] fix bug --- .../pipelines/pipelines/airbyte_ci/poetry/pipeline.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/airbyte-ci/connectors/pipelines/pipelines/airbyte_ci/poetry/pipeline.py b/airbyte-ci/connectors/pipelines/pipelines/airbyte_ci/poetry/pipeline.py index 63c067135b2f..4cd2271db132 100644 --- a/airbyte-ci/connectors/pipelines/pipelines/airbyte_ci/poetry/pipeline.py +++ b/airbyte-ci/connectors/pipelines/pipelines/airbyte_ci/poetry/pipeline.py @@ -67,7 +67,7 @@ def from_connector_context(connector_context: ConnectorContext) -> "PyPIPublishC build_docker_image = connector_context.connector.metadata["connectorBuildOptions"]["baseImage"] else: build_docker_image = "mwalbeck/python-poetry" - return PyPIPublishContext( + pypi_context = PyPIPublishContext( pypi_token=os.environ["PYPI_TOKEN"], test_pypi=True, # TODO: Go live package_path=str(connector_context.connector.code_directory), @@ -85,6 +85,7 @@ def from_connector_context(connector_context: ConnectorContext) -> "PyPIPublishC ci_context=connector_context.ci_context, ci_gcs_credentials=connector_context.ci_gcs_credentials, ) + pypi_context.dagger_client = connector_context.dagger_client class PublishToPyPI(Step):