@@ -349,7 +349,7 @@ def is_eligible_for_migration(self) -> bool:
349349 and not self .has_pyproject_toml ()
350350 )
351351
352- def migrate_to_cdk_v7 (self , sha256_hash : str = "af8807056f8218ecf0d4ec6b6ee717cdf20251fee5d2c1c77b5723771363b9b0" ) -> bool :
352+ def migrate_to_cdk_v7 (self ) -> bool :
353353 """
354354 Migrate the connector to CDK version 7.
355355
@@ -360,9 +360,6 @@ def migrate_to_cdk_v7(self, sha256_hash: str = "af8807056f8218ecf0d4ec6b6ee717cd
360360
361361 For both cases, it also increments the dockerImageTag in metadata.yaml.
362362
363- Args:
364- sha256_hash: The SHA256 hash for the v7.0.0 base image (default: "<TBD>")
365-
366363 Returns:
367364 True if migration was successful, False otherwise
368365 """
@@ -371,7 +368,7 @@ def migrate_to_cdk_v7(self, sha256_hash: str = "af8807056f8218ecf0d4ec6b6ee717cd
371368
372369 # Case 1: Handle source-declarative-manifest connectors
373370 if self ._uses_declarative_manifest ():
374- success = self ._migrate_declarative_manifest_to_v7 (sha256_hash )
371+ success = self ._migrate_declarative_manifest_to_v7 ()
375372
376373 # Case 2: Handle Python connectors
377374 if self .has_pyproject_toml ():
@@ -396,13 +393,10 @@ def _uses_declarative_manifest(self) -> bool:
396393 base_image = build_options .get ("baseImage" , "" )
397394 return "source-declarative-manifest" in base_image
398395
399- def _migrate_declarative_manifest_to_v7 (self , sha256_hash : str ) -> bool :
396+ def _migrate_declarative_manifest_to_v7 (self ) -> bool :
400397 """
401398 Migrate a declarative manifest connector to use CDK v7 base image.
402399
403- Args:
404- sha256_hash: The SHA256 hash for the v7.0.0 base image
405-
406400 Returns:
407401 True if migration was successful, False otherwise
408402 """
@@ -419,7 +413,7 @@ def _migrate_declarative_manifest_to_v7(self, sha256_hash: str) -> bool:
419413
420414 # Update the baseImage to version 7
421415 new_base_image = (
422- f"docker.io/airbyte/source-declarative-manifest:7.0.0 @sha256:{ sha256_hash } "
416+ f"docker.io/airbyte/source-declarative-manifest:7.0.1 @sha256:ff1e701c8f913cf24a0220f62c8e64cc1c3011ba0a636985f4db47fdab1391b6 "
423417 )
424418
425419 # Replace the base image using regex to preserve formatting
0 commit comments