Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support secureboot on AWS #172

Merged
merged 1 commit into from
Mar 4, 2025
Merged

Support secureboot on AWS #172

merged 1 commit into from
Mar 4, 2025

Conversation

Gchbg
Copy link
Contributor

@Gchbg Gchbg commented Feb 28, 2025

What this PR does / why we need it:
Add secureboot support to GLCI and implement it for AWS

Which issue(s) this PR fixes:
Fixes #168

Release note:

Add secureboot support for AWS

@Gchbg Gchbg requested review from a team as code owners February 28, 2025 12:34
glci/model.py Outdated
@@ -453,7 +453,7 @@ class ReleaseManifest(ReleaseIdentifier):
build_timestamp: str
paths: typing.Tuple[S3ReleaseFile, ...]
base_image: typing.Optional[str]

secureboot: bool
Copy link
Contributor

Choose a reason for hiding this comment

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

Tried to understand, but couldn't:
where do we set the values for this data class?

Just wanted to check if and where we need to set the variable of secureboot.

just curious.

Copy link
Member

@MrBatschner MrBatschner Mar 4, 2025

Choose a reason for hiding this comment

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

The release manifest (those files on S3) are loaded into these dataclasses through the dacite library. That happens right here...

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Yes the decision whether to enable secureboot when publishing to providers is left to the build system. It outputs that information as a binary flag in the manifest. GLCI reads that and acts accordingly.

Copy link
Member

@MrBatschner MrBatschner left a comment

Choose a reason for hiding this comment

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

Two small things.

Copy link
Member

@MrBatschner MrBatschner left a comment

Choose a reason for hiding this comment

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

/lgtm

@Gchbg Gchbg merged commit 9f7880c into main Mar 4, 2025
@Gchbg Gchbg deleted the secureboot branch March 4, 2025 09:25
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.

Add secureboot support for AWS
3 participants