Skip to content

Commit 85762c3

Browse files
authored
airbyte-ci: trigger test on doc change (#42046)
1 parent fd7fa00 commit 85762c3

File tree

5 files changed

+5
-4
lines changed

5 files changed

+5
-4
lines changed

.github/workflows/connectors_tests.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ jobs:
3838
# Note: expressions within a filter are OR'ed
3939
filters: |
4040
connectors:
41-
- '*'
41+
- 'docs/integrations/**/*'
4242
- 'airbyte-ci/**/*'
4343
- 'airbyte-integrations/connectors/**/*'
4444
- 'airbyte-cdk/java/**/*'

airbyte-ci/connectors/pipelines/README.md

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

774774
| Version | PR | Description |
775775
| ------- | ---------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------- |
776+
| 4.28.3 | [#42046](https://github.com/airbytehq/airbyte/pull/42046) | Trigger connector tests on doc change. |
776777
| 4.28.2 | [#43297](https://github.com/airbytehq/airbyte/pull/43297) | `migrate-to-inline_schemas` removes unused schema files and empty schema dirs. |
777778
| 4.28.1 | [#42972](https://github.com/airbytehq/airbyte/pull/42972) | Add airbyte-enterprise support for format commandi |
778779
| 4.28.0 | [#42849](https://github.com/airbytehq/airbyte/pull/42849) | Couple selection of strict-encrypt variants (e vice versa) |

airbyte-ci/connectors/pipelines/pipelines/helpers/connectors/modifed.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ def _find_modified_connectors(
2727
modified_connectors = set()
2828

2929
for connector in all_connectors:
30-
if Path(file_path).is_relative_to(Path(connector.code_directory)):
30+
if Path(file_path).is_relative_to(Path(connector.code_directory)) or file_path == connector.documentation_file_path:
3131
main_logger.info(f"Adding connector '{connector}' due to connector file modification: {file_path}.")
3232
modified_connectors.add(connector)
3333

airbyte-ci/connectors/pipelines/pipelines/helpers/utils.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@
3232
MANIFEST_FILE_NAME = "manifest.yaml"
3333
METADATA_ICON_FILE_NAME = "icon.svg"
3434
DIFF_FILTER = "MADRT" # Modified, Added, Deleted, Renamed, Type changed
35-
IGNORED_FILE_EXTENSIONS = [".md"]
35+
IGNORED_FILE_EXTENSIONS: List[str] = []
3636

3737

3838
# This utils will probably be redundant once https://github.com/dagger/dagger/issues/3764 is implemented

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.28.2"
7+
version = "4.28.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)