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

[backend] mkosi: publish images to per-arch subdirectory #15823

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

bluca
Copy link
Contributor

@bluca bluca commented Mar 18, 2024

Images do not have the architecture in the name, so an image recipe building for multiple architectures would have clashing filenames, which means a single mkosi image build cannot currently enable multiple architectures. Change the publisher so that if we detect that we are publishing mkosi artifacts, they are stored in a per-architecture sub-folder.

@bluca bluca changed the title mkosi: publish images to per-arch subdirectory [backend] mkosi: publish images to per-arch subdirectory Mar 18, 2024
@github-actions github-actions bot added the Backend Things regarding the OBS backend label Mar 18, 2024
Copy link

codecov bot commented Mar 27, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 86.07%. Comparing base (a68cb1e) to head (02c0849).

❗ Current head 02c0849 differs from pull request most recent head 1e7b2db. Consider uploading reports for the commit 1e7b2db to get more accurate results

Additional details and impacted files

Impacted file tree graph

@@            Coverage Diff             @@
##           master   #15823      +/-   ##
==========================================
+ Coverage   85.99%   86.07%   +0.08%     
==========================================
  Files         794      793       -1     
  Lines       26072    26020      -52     
==========================================
- Hits        22421    22398      -23     
+ Misses       3651     3622      -29     

Images do not have the architecture in the name, so an image recipe
building for multiple architectures would have clashing filenames.
@bmwiedemann
Copy link
Member

FYI: https://build.opensuse.org/project/show/home:bluca:mkosi has example packages.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Backend Things regarding the OBS backend
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants