Skip to content

Add support to create new Garden Linux canonical name instances from release files#305

Merged
NotTheEvilOne merged 1 commit intomainfrom
feature/enhance-cname-from-release-file
Feb 5, 2026
Merged

Add support to create new Garden Linux canonical name instances from release files#305
NotTheEvilOne merged 1 commit intomainfrom
feature/enhance-cname-from-release-file

Conversation

@NotTheEvilOne
Copy link
Contributor

What this PR does / why we need it:
This PR adds support to create new GL canonical name instances from release files. This can be useful if no Garden Linux canonical name is known prior to instantiation.

Which issue(s) this PR fixes:
Related #302

Related: #302

Signed-off-by: Tobias Wolf <wolf@b1-systems.de>
On-behalf-of: SAP <tobias.wolf@sap.com>
@NotTheEvilOne NotTheEvilOne force-pushed the feature/enhance-cname-from-release-file branch from 811ac1c to 5433f13 Compare February 4, 2026 15:54
@codecov
Copy link

codecov bot commented Feb 4, 2026

Codecov Report

❌ Patch coverage is 97.36842% with 1 line in your changes missing coverage. Please review.
✅ Project coverage is 91.73%. Comparing base (9384244) to head (5433f13).
⚠️ Report is 1 commits behind head on main.

Files with missing lines Patch % Lines
src/gardenlinux/features/cname.py 97.05% 1 Missing ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##             main     #305      +/-   ##
==========================================
+ Coverage   91.50%   91.73%   +0.23%     
==========================================
  Files          42       42              
  Lines        2095     2105      +10     
==========================================
+ Hits         1917     1931      +14     
+ Misses        178      174       -4     

☔ 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.

Copy link
Contributor

@nkraetzschmar nkraetzschmar left a comment

Choose a reason for hiding this comment

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

LGTM 🚀


artifacts_dir = Path(artifacts_dir)

cname_object = CName(cname)
Copy link
Contributor

Choose a reason for hiding this comment

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

Here we could now drop the CName(cname) and instead directly use the CName.new_from_release_file

@NotTheEvilOne NotTheEvilOne merged commit 7535722 into main Feb 5, 2026
11 checks passed
@NotTheEvilOne NotTheEvilOne deleted the feature/enhance-cname-from-release-file branch February 5, 2026 08:46
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants