Skip to content

Commit 6981bca

Browse files
committed
debugging s3 filtering
1 parent 0c40e02 commit 6981bca

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

src/gardenlinux/github/__main__.py

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -484,9 +484,13 @@ def download_metadata_file(s3_artifacts, cname, artifacts_dir):
484484
"""
485485
Download metadata file (s3_metadata.yaml)
486486
"""
487+
print(f'YTDBG // {s3_artifacts=} | {cname=} | {artifacts_dir=}')
488+
_release_objects = s3_artifacts._bucket.objects.filter(Prefix=f"meta/singles/{cname}")
489+
print(f'YTDBG // {_release_objects=}')
487490
release_object = list(
488491
s3_artifacts._bucket.objects.filter(Prefix=f"meta/singles/{cname}")
489492
)[0]
493+
print(f'YTDBG // {release_object =}')
490494
s3_artifacts._bucket.download_file(
491495
release_object.key, artifacts_dir.joinpath(f"{cname}.s3_metadata.yaml")
492496
)

0 commit comments

Comments
 (0)