Skip to content

Commit 0b6b05c

Browse files
committed
airbyte-ci: always do regression test status check
1 parent 5390270 commit 0b6b05c

File tree

4 files changed

+5
-4
lines changed

4 files changed

+5
-4
lines changed

airbyte-ci/connectors/pipelines/README.md

+1
Original file line numberDiff line numberDiff line change
@@ -767,6 +767,7 @@ E.G.: running Poe tasks on the modified internal packages of the current branch:
767767

768768
| Version | PR | Description |
769769
| ------- | ---------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------- |
770+
| 4.24.3 | [#42040](https://github.com/airbytehq/airbyte/pull/42040) | Always send regression test approval status check. |
770771
| 4.24.2 | [#41676](https://github.com/airbytehq/airbyte/pull/41676) | Send regression test approval status check when skipped. |
771772
| 4.24.1 | [#41642](https://github.com/airbytehq/airbyte/pull/41642) | Use the AIRBYTE_GITHUB_REPO environment variable to run airbyte-ci in other repos. |
772773
| 4.24.0 | [#41627](https://github.com/airbytehq/airbyte/pull/41627) | Require manual regression test approval for certified connectors |

airbyte-ci/connectors/pipelines/pipelines/airbyte_ci/connectors/test/commands.py

+2-2
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515
from pipelines.cli.click_decorators import click_ci_requirements_option
1616
from pipelines.cli.dagger_pipeline_command import DaggerPipelineCommand
1717
from pipelines.consts import LOCAL_BUILD_PLATFORM, MAIN_CONNECTOR_TESTING_SECRET_STORE_ALIAS, ContextState
18-
from pipelines.hacks import do_regression_test_status_check_maybe
18+
from pipelines.hacks import do_regression_test_status_check
1919
from pipelines.helpers.execution import argument_parsing
2020
from pipelines.helpers.execution.run_steps import RunStepOptions
2121
from pipelines.helpers.github import update_global_commit_status_check_for_tests
@@ -124,9 +124,9 @@ async def test(
124124
if ctx.obj["is_ci"]:
125125
fail_if_missing_docker_hub_creds(ctx)
126126

127+
do_regression_test_status_check(ctx, REGRESSION_TEST_MANUAL_APPROVAL_CONTEXT, main_logger)
127128
if ctx.obj["selected_connectors_with_modified_files"]:
128129
update_global_commit_status_check_for_tests(ctx.obj, "pending")
129-
do_regression_test_status_check_maybe(ctx, REGRESSION_TEST_MANUAL_APPROVAL_CONTEXT, main_logger)
130130
else:
131131
main_logger.warn("No connector were selected for testing.")
132132
update_global_commit_status_check_for_tests(ctx.obj, "success")

airbyte-ci/connectors/pipelines/pipelines/hacks.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -76,7 +76,7 @@ def never_fail_exec_inner(container: Container) -> Container:
7676
return never_fail_exec_inner
7777

7878

79-
def do_regression_test_status_check_maybe(ctx: click.Context, status_check_name: str, logger: Logger) -> None:
79+
def do_regression_test_status_check(ctx: click.Context, status_check_name: str, logger: Logger) -> None:
8080
"""
8181
Emit a failing status check that requires a manual override, via a /-command.
8282

airbyte-ci/connectors/pipelines/pyproject.toml

+1-1
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ build-backend = "poetry.core.masonry.api"
44

55
[tool.poetry]
66
name = "pipelines"
7-
version = "4.24.2"
7+
version = "4.24.3"
88
description = "Packaged maintained by the connector operations team to perform CI for connectors' pipelines"
99
authors = ["Airbyte <[email protected]>"]
1010

0 commit comments

Comments
 (0)