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

Parent build id from candidate registry #1730

Open
frenzymadness opened this issue Dec 10, 2021 · 5 comments
Open

Parent build id from candidate registry #1730

frenzymadness opened this issue Dec 10, 2021 · 5 comments

Comments

@frenzymadness
Copy link

Hello.

I'm sorry if this question does not belong here but this project is the closest point to my problem I've found. Basically, the question is: is it somehow possible to tell atomic-reactor to look for a parent image also on candidate-registry.fedoraproject.org?

I maintain this chain of container images: s2i-core -> s2i-base -> python3 and it would be nice to have a possibility to build all of them at once and then create a single update for all of them. Currently, I have to build s2i-core, wait until it goes through the update process, then build s2i-base, wait for the update to finish, and then the same for python3. If I don't get karma from users, this procedure might take weeks.

Ideally, I'd need to build s2i-core, s2i-base on top of the core from candidate registry and then python3 on top of the s2i-base from candidate registry, and then we can test them together and create only one bodhi update.

Thanks for any help or advice.

@MartinBasti
Copy link
Contributor

you can use FQDN in FROM candidate-registry.fedoraproject.org/image. However that registry must be allowed in atomic-reactor config

@frenzymadness
Copy link
Author

Thank you but it does not solve my problem. I'd like to keep the official form of FROM in the dist git and use the parent id just for one rebuild to be able to push updates for all three images at once. Do you know who or where to ask about this? I think this might be a really useful feature for all maintainers.

@MartinBasti
Copy link
Contributor

if that's just for one rebuild, you can use --koji-parent-build and provide parent koji NVR in koji CLI

@frenzymadness
Copy link
Author

Are you sure? Could you please provide an example of NVR? I was trying to find it in the code of atomic-reactor and I've found that the provided parent-build is cast to an integer which makes me think that it should be a numeric build id.

@MartinBasti
Copy link
Contributor

ah sorry my bad, it's not build NVR but indeed build ID --koji-parent-build=1900853

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants