Skip to content

Commit

Permalink
Fix: airbyte-ci --help (#33987)
Browse files Browse the repository at this point in the history
  • Loading branch information
bnchrch committed Jan 6, 2024
1 parent 2f92501 commit 9f211df
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 7 deletions.
5 changes: 3 additions & 2 deletions airbyte-ci/connectors/pipelines/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -521,8 +521,9 @@ E.G.: running `pytest` on a specific test folder:

| Version | PR | Description |
| ------- | ---------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------- |
| 3.0.1 | [#33981](https://github.com/airbytehq/airbyte/pull/33981) | Fix issues with deploying dagster, pin pendulum version in dagster-cli install |
| 3.0.0 | [#33582](https://github.com/airbytehq/airbyte/pull/33582) | Upgrade to Dagger 0.9.5 |
| 3.0.2 | [#33987](https://github.com/airbytehq/airbyte/pull/33987) | Fix type checking issue when running --help |
| 3.0.1 | [#33981](https://github.com/airbytehq/airbyte/pull/33981) | Fix issues with deploying dagster, pin pendulum version in dagster-cli install |
| 3.0.0 | [#33582](https://github.com/airbytehq/airbyte/pull/33582) | Upgrade to Dagger 0.9.5 |
| 2.14.3 | [#33964](https://github.com/airbytehq/airbyte/pull/33964) | Reintroduce mypy with fixes for AssertionError on publish and missing report URL on connector test commit status. |
| 2.14.2 | [#33954](https://github.com/airbytehq/airbyte/pull/33954) | Revert mypy changes |
| 2.14.1 | [#33956](https://github.com/airbytehq/airbyte/pull/33956) | Exclude pnpm lock files from auto-formatting |
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -139,7 +139,7 @@ async def _run(self) -> StepResult:

async def run_connector_version_bump_pipeline(
context: ConnectorContext,
semaphore: Semaphore,
semaphore: "Semaphore",
bump_type: str,
changelog_entry: str,
pull_request_number: str,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ def __init__(
self.repo_dir = repo_dir
self.set_if_not_exists = set_if_not_exists

async def get_latest_base_image_address(self) -> Optional[str]:
async def get_latest_base_image_address(self) -> "Optional[str]":
try:
version_registry_for_language = await version_registry.get_registry_for_language(
self.dagger_client, self.context.connector.language, (self.context.docker_hub_username, self.context.docker_hub_password)
Expand Down Expand Up @@ -263,7 +263,7 @@ async def post_connector_install(connector_container: Container) -> Container:
return new_doc


async def run_connector_base_image_upgrade_pipeline(context: ConnectorContext, semaphore: Semaphore, set_if_not_exists: bool) -> Report:
async def run_connector_base_image_upgrade_pipeline(context: ConnectorContext, semaphore: "Semaphore", set_if_not_exists: bool) -> Report:
"""Run a pipeline to upgrade for a single connector to use our base image."""
async with semaphore:
steps_results = []
Expand All @@ -284,7 +284,7 @@ async def run_connector_base_image_upgrade_pipeline(context: ConnectorContext, s


async def run_connector_migration_to_base_image_pipeline(
context: ConnectorContext, semaphore: Semaphore, pull_request_number: str
context: ConnectorContext, semaphore: "Semaphore", pull_request_number: str
) -> Report:
async with semaphore:
steps_results = []
Expand Down
2 changes: 1 addition & 1 deletion airbyte-ci/connectors/pipelines/pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ build-backend = "poetry.core.masonry.api"

[tool.poetry]
name = "pipelines"
version = "3.0.1"
version = "3.0.2"
description = "Packaged maintained by the connector operations team to perform CI for connectors' pipelines"
authors = ["Airbyte <contact@airbyte.io>"]

Expand Down

0 comments on commit 9f211df

Please sign in to comment.