-
Notifications
You must be signed in to change notification settings - Fork 2
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
Conversation
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 |
There was a problem hiding this comment.
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.
There was a problem hiding this comment.
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...
There was a problem hiding this comment.
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.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Two small things.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
/lgtm
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: