airbyte-ci: fix metadata existence check on master for IncrementalAcceptanceTest (#47316)
This commit is contained in:
@@ -850,6 +850,7 @@ airbyte-ci connectors --language=low-code migrate-to-manifest-only
|
||||
|
||||
| Version | PR | Description |
|
||||
| ------- | ---------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------- |
|
||||
| 4.42.1 | [#47316](https://github.com/airbytehq/airbyte/pull/47316) | Connector testing: skip incremental acceptance test when the connector is not released. |
|
||||
| 4.42.0 | [#47386](https://github.com/airbytehq/airbyte/pull/47386) | Version increment check: make sure consecutive RC remain on the same version. |
|
||||
| 4.41.9 | [#47483](https://github.com/airbytehq/airbyte/pull/47483) | Fix build logic used in `up-to-date` to support any connector language. |
|
||||
| 4.41.8 | [#47447](https://github.com/airbytehq/airbyte/pull/47447) | Use `cache_ttl` for base image registry listing in `up-to-date`. |
|
||||
|
||||
@@ -423,11 +423,10 @@ class IncrementalAcceptanceTests(Step):
|
||||
return failed_nodes
|
||||
|
||||
def _get_master_metadata(self) -> Dict[str, Any]:
|
||||
raw_master_metadata = requests.get(f"{GITHUB_URL_PREFIX_FOR_CONNECTORS}/{self.context.connector.technical_name}/metadata.yaml")
|
||||
master_metadata = yaml.safe_load(raw_master_metadata.text)
|
||||
if not master_metadata:
|
||||
metadata_response = requests.get(f"{GITHUB_URL_PREFIX_FOR_CONNECTORS}/{self.context.connector.technical_name}/metadata.yaml")
|
||||
if not metadata_response.ok:
|
||||
raise FileNotFoundError(f"Could not fetch metadata file for {self.context.connector.technical_name} on master.")
|
||||
return master_metadata
|
||||
return yaml.safe_load(metadata_response.text)
|
||||
|
||||
async def get_result_log_on_master(self, master_metadata: dict) -> Artifact:
|
||||
"""Runs acceptance test on the released image of the connector and returns the report log.
|
||||
|
||||
@@ -4,7 +4,7 @@ build-backend = "poetry.core.masonry.api"
|
||||
|
||||
[tool.poetry]
|
||||
name = "pipelines"
|
||||
version = "4.42.0"
|
||||
version = "4.42.1"
|
||||
description = "Packaged maintained by the connector operations team to perform CI for connectors' pipelines"
|
||||
authors = ["Airbyte <contact@airbyte.io>"]
|
||||
|
||||
|
||||
Reference in New Issue
Block a user