-
Notifications
You must be signed in to change notification settings - Fork 0
Automate production of CAPI VM images #13
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
base: main
Are you sure you want to change the base?
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.
Nice work! 🎉 This doesn't actually push or publish the artifact anywhere right?
The openstack part now, azure does, since it creates a VM on there and all (it's the default behaviour). |
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.
Good job!
But I have a question concerning Openstack.
What would the the follow-up steps after the image is created? The workflow stops here, I assume that means the image is gone when the runner is destroyed if you don't upload it anywhere.
Does it make sense to upload the image to the dev projects of all our Openstack infra providers? So we can share the images to production projects from there during maintenance.
Another idea is to have a self-hosted runner that does not get destroyed after the actions finish.
We will need credentials to upload and share the openStack images, that part is on hold until a decision is made about it. |
|
Apologies for not being able to look at this sooner. Do you think we could break the jobs up so that building is one job and publishing is another? The logs are quite long so that would make it easier to follow the process. Also, I think it would add some flexibility. |
That can be done for openStack. Once we decide on how to handle the credentials. |
Would it make sense to use qemu or similar to build the Azure VHD locally and then publish it in a separate job? As I understand it that is how the Openstack flow works, so if we can make it work for Azure too they would harmonize nicely. |
I don't know actually, but it feels like adding more work to us. |
It might be worth the effort actually. I see several benefits:
Imagine we build the images here and push them to object storage or similar. Then, pushing and publishing them can be tied to some other process, like creating a capi release. We could even keep the step manual if we want to. |
I like this, and we could add it as artifacts of the action. Then some other job could just download the images as the output of this action and push it wherever it needs |
Change description
Related issues
Additional context