Skip to content

Conversation

@yeoldegrove
Copy link
Contributor

What this PR does / why we need it:

make suffix in s3 artifact manifest not contain cname

Which issue(s) this PR fixes:
gardenlinux/gardenlinux@09ea136 and a7545af introduced a breaking change that breaks GLCI.

@yeoldegrove yeoldegrove added this to the 2025-07 milestone Jul 10, 2025
@yeoldegrove yeoldegrove requested a review from a team July 10, 2025 06:08
@yeoldegrove yeoldegrove self-assigned this Jul 10, 2025
sha256sum = file_digest(fp, "sha256").hexdigest()

if artifact.name.startswith(cname):
suffix = artifact.name[len(cname) :]

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Curious choice, I would do artifacte.name.replace(cname, '') but I like the smiley :]

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Both solutions will work of course ;)

@yeoldegrove yeoldegrove merged commit e812bf7 into main Jul 10, 2025
9 checks passed
yeoldegrove added a commit to gardenlinux/gardenlinux that referenced this pull request Jul 10, 2025
yeoldegrove added a commit to gardenlinux/gardenlinux that referenced this pull request Jul 10, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants