-
Notifications
You must be signed in to change notification settings - Fork 56
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
Run CI build on Fedora 40 runners #716
Conversation
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.
Seeing so many changed lines in .gitlab-ci.yml
made me wondering it we should simply define the fedora runners as variables at the top of the file and use those everywhere instead.
yeah, I think you might be right. |
Btw, found a bug: osbuild/osbuild#1795 |
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
Updated osbuild commit ID to include this fix. |
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.
👍
|
Converting to DRAFT until the F40 runners get updated. |
Got new Fedora 40 runners thanks to @croissanne <3 |
6d7c4bd
to
e990729
Compare
Ok the weirdness hasn't gone away. I'm still getting permission errors when trying to run ostree containers:
While troubleshooting this, I decided to also do something I've been meaning to do for a while and switch to pulling ostree containers from the s3 bucket instead of putting them in the gitlab registry as well. I'm going to clean up the gitlab registry so we don't have the same containers in multiple places. |
Looking around some older issues, it seems it might be a configuration issue with rootless podman. I'm going to dig a bit more tomorrow but I'm not above just running it with sudo to get around this and move on. |
9f02771
to
97639b3
Compare
Add repos to the Schutzfile for Fedora 40. The repos for Fedora 39 can also be removed but let's keep them for a bit.
Use the newest runners we have.
osbuild v120
Container archives (and all image artifacts) are stored in S3 along with the build info cache and manifests. Let's stop pushing to the gitlab registry. We will use those archives instead.
6eaff78
to
639eaa0
Compare
Download the container archive from the s3 bucket instead of pulling it from the gitlab registry. After this, we will phase out use of the gitlab registry and start removing all the containers we have there. Each archive is downloaded to a temporary directory and run directly with `podman run oci-archive:<path>`, which will also pull the archive into the registry, then the temporary directory (along with the downloaded archive) is discarded.
Temporary workaround for podman permission issue.
Alright, we're green!! |
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, test failures are the integration tests only.
Update the GitLab CI configurations (static and autogenerated) to use Fedora 40 runners.
Also, pull in a new version of osbuild to test the new optional metadata selection for depsolving [1] and to make sure everything is rebuilt.
[1] osbuild/osbuild#1775