-
Notifications
You must be signed in to change notification settings - Fork 139
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
ci: containerdisks job for CentOS Stream on s390x architecture #3966
base: main
Are you sure you want to change the base?
ci: containerdisks job for CentOS Stream on s390x architecture #3966
Conversation
[APPROVALNOTIFIER] This PR is NOT APPROVED This pull-request has been approved by: The full list of commands accepted by this bot can be found here.
Needs approval from an approver in each of these files:
Approvers can indicate their approval by writing |
Could you please add some explanation why this is needed, and what will be the use of new CI? |
This job verifies any changes related to container disks for CentOS Stream on the s390x architecture. Given that the qcow image may contain bugs, it is crucial to identify any issues in the early stages. Signed-off-by: Nestor Acuna Blanco <[email protected]>
d2223ff
to
0480cb0
Compare
@jcanocan, done. Please let me know if you need any further explanation. To provide a bit more context:
|
Great. Thanks.
Don't worry, I believe you! 😊 Yeah, I agree. |
I'm asking because I see we already have the pipeline |
I understand your point now! The centos-9 and centos-9-s390x jobs run for all pull requests across all architectures (specifically, only centos-9). Their purpose is to test for any changes in the tooling that might impact the build of the container disks. The centos and potentially future centos-s390x jobs are primarily intended to test all CentOS distributions (likely centos-9 and centos-10) in case there are modifications to the CentOS-related files. One important aspect for us is maintaining test parity. If we create a job for every pull request for centos-9 and centos-10 for s390x, we should ensure the same applies for amd64. I can prepare another pull request for this if you’d like. |
Thinking about it twice, I think it would be nice to have both What do you think @0xFelix? |
I'm still not convinced that we need to run these pipelines with multiple archs. The periodic pipeline is responsible for building, verifying and pushing new containerdisks / qcow images. So even if this job would fail for whatever reason, as long as the periodic pipeline runs, the containerdisks are updated anyway. If we want to ensure that the containerdisks we push really work, we need to extend the periodic pipeline, to verify all arches of freshly built containerdisks before pushing them. |
/hold |
@0xFelix, I agree that the periodic job needs enhancement, and I have a related commit ready to be pushed. However, what is the downside of testing it before a change is merged? The periodic pipeline tests the main branch, and if it fails, the container disks are not pushed (currently verifies only amd64). In contrast, this CI job ensures that any changes that could break the CentOS Stream images on s390x do not get merged. I believe both pipelines—the OS-specific one and the future periodic job—serve important purposes. |
Why should an image in the same format work if it is built on amd64 but break if is built on s390x? In general the possibility is there, but I don't see the value of this lane. Our periodic pipeline also only runs on amd64. I still think the right way is to verify images on all architectures before publishing them in the periodic pipeline. |
@0xFelix, you are absolutely right about the periodic pipeline! I plan to implement it in the near future, along with additional changes. Regarding the current situation: For instance, Fedora 40 is not functioning on s390x at the moment, and there have also been issues with Alpine Linux qcow images. The periodic pipeline will help us identify issues, but it will do so only after changes have already been merged into the main branch. By implementing checks at the pull request (PR) level, we can prevent the merging of problematic code and catch issues before they become part of the main codebase. What is the downside of early error detection? After all, we are all human and prone to making mistakes. |
This job verifies any changes related to container disks for CentOS
Stream on the s390x architecture. Given that the qcow image may
contain bugs, it is crucial to identify any issues in the early
stages.
Release note: