Skip to content

Update S3 artifact metadata suffix , gardenlinux_epoch and `build_timestamp#314

Merged
NotTheEvilOne merged 4 commits intomainfrom
fix/s3-metadata-gl-issue-4294
Feb 10, 2026
Merged

Update S3 artifact metadata suffix , gardenlinux_epoch and `build_timestamp#314
NotTheEvilOne merged 4 commits intomainfrom
fix/s3-metadata-gl-issue-4294

Conversation

@NotTheEvilOne
Copy link
Contributor

@NotTheEvilOne NotTheEvilOne commented Feb 10, 2026

What this PR does / why we need it:
This PR ensures suffix contains whatever is added to the base name, not just suffixes. gardenlinux_epoch was previously encoded as an integer. As maybe no version information is available the key will be added dynamically to S3 metadata based on availability.

build_timestamp will be encoded as YAML type timestamp to ensure most compatibility between YAML parsers and libraries in different development environments reading YAML data and encoding it to programming specific representations / data types.

Which issue(s) this PR fixes:
Fixes gardenlinux/gardenlinux#4294

This commit ensures `suffix` contains whatever is added to the base name.

Signed-off-by: Tobias Wolf <wolf@b1-systems.de>
On-behalf-of: SAP <tobias.wolf@sap.com>
@NotTheEvilOne NotTheEvilOne self-assigned this Feb 10, 2026
@codecov
Copy link

codecov bot commented Feb 10, 2026

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 91.69%. Comparing base (1294c05) to head (00a3ee6).
⚠️ Report is 1 commits behind head on main.

Additional details and impacted files
@@            Coverage Diff             @@
##             main     #314      +/-   ##
==========================================
+ Coverage   91.65%   91.69%   +0.03%     
==========================================
  Files          42       42              
  Lines        2134     2132       -2     
==========================================
- Hits         1956     1955       -1     
+ Misses        178      177       -1     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

This commit ensures if a version is defined the major version number is used as `gardenlinux_epoch`

Signed-off-by: Tobias Wolf <wolf@b1-systems.de>
On-behalf-of: SAP <tobias.wolf@sap.com>
@NotTheEvilOne NotTheEvilOne changed the title Ensure S3 artifact metadata suffix is not missing content Ensure S3 artifact metadata suffix is not missing content and gardenlinux_epoch has the correct data type Feb 10, 2026
@NotTheEvilOne NotTheEvilOne marked this pull request as ready for review February 10, 2026 12:03
@NotTheEvilOne NotTheEvilOne added the bug Something isn't working label Feb 10, 2026
Signed-off-by: Tobias Wolf <wolf@b1-systems.de>
On-behalf-of: SAP <tobias.wolf@sap.com>
Signed-off-by: Tobias Wolf <wolf@b1-systems.de>
On-behalf-of: SAP <tobias.wolf@sap.com>
@NotTheEvilOne NotTheEvilOne changed the title Ensure S3 artifact metadata suffix is not missing content and gardenlinux_epoch has the correct data type Update S3 artifact metadata suffix , gardenlinux_epoch and `build_timestamp Feb 10, 2026
@NotTheEvilOne NotTheEvilOne merged commit 2d52501 into main Feb 10, 2026
16 checks passed
@NotTheEvilOne NotTheEvilOne deleted the fix/s3-metadata-gl-issue-4294 branch February 10, 2026 14:04
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug Something isn't working

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Manifest regression between 2130.0.0 and 2142.0.0

2 participants