-
Notifications
You must be signed in to change notification settings - Fork 50
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
test: compare osbuild version for image builds and don't specify boot mode #318
Conversation
8fb290c
to
c775681
Compare
a1e588f
to
60c296a
Compare
Embarrassing typo fixed 😳 |
60c296a
to
e616d35
Compare
I think the thing the failures have in common is that they're all BIOS only. I think the issue is that when we boot them we don't specify so maybe they're defaulting to UEFI in EC2. But that doesn't explain why they succeeded in the past, unless something changed with our uploader or the AWS library defaults. |
Oops, there it is: 15e9d28 |
8895afd
to
ec19b05
Compare
I'm going to clean this up (remove the osbuild PR pin) and mark it ready since I found a few issues while setting it up. |
ec19b05
to
9274200
Compare
osbuild PR osbuild/osbuild#1493 changes a small detail in the way device paths are passed into the stage. Let's start using it to catch any issues. osbuild/osbuild@dfd59a3
We want to move some of the functions into the testlib module so lets move the script there first and have it import the module.
Record the osbuild commit ID from the Schutzfile in the build info when a build is successful. If a commit ID isn't specified, record it as "RELEASE" to signify that the osbuild version is the one in the distro repos. If the osbuild version and commit ID don't match, schedule the config for a build. This makes sure that changes in osbuild which don't affect the manifest get retested. This can catch bugs that weren't caught in osbuild and is useful for testing internal osbuild functionality changes. This commit also fixes a typo in the build info.json: obuild-version -> osbuild-version
We might specify it in the future, knowing which mode each image supports, but for now let's leave it off. This reverts commit 15e9d28.
9274200
to
4f95f7e
Compare
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.
Looks good to me.
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, thanks!
This PR was originally written to test builds for osbuild/osbuild#1493.
Changes: