-
Notifications
You must be signed in to change notification settings - Fork 21
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
Build overcloud host and IPA images using packages from Ark #1436
base: stackhpc/2024.1
Are you sure you want to change the base?
Conversation
Use the authenticating pulp_proxy for all CI build jobs that need packages from Ark - host images, Kolla images and the IPA image.
stackhpc_dib_image_elements_repos: | ||
- repo: "https://github.com/stackhpc/stackhpc-image-elements" | ||
local: "{{ source_checkout_path }}/stackhpc-image-elements" | ||
version: "rocky-container-pulp-2" |
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.
Use this branch for testing and update when stackhpc/stackhpc-image-elements#67 is merged and a new tag cut.
TODO: Some automation to trigger a host/IPA image build when |
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.
Very nice work. LGTM and will approve once stackhpc/stackhpc-image-elements#67 is finalised
Thinking about it, should probably add a release note |
Back to draft while I tweak this a bit. I think it would be nicer to have switch(es) that could be set which enables this functionality, then leave all of the config in the base environment behind that switch, and just make enabling it in an environment (either CI or customer) something like:
|
Override package mirrors for both Ubuntu Jammy and Rocky Linux 9 overcloud images so that they are built from package snapshots defined in
pulp-repo-versions.yml
.Also build IPA from the same mirrors, although this fails currently because python3.10-dev supplied by Ark in the snapshot defined in
pulp-repo-versions.yml
is too old. Updating the package snapshot to a newer version means dependencies can be solved and the image is able to be built.Use the authenticating Pulp proxy for everything that touches packages on Ark, to prevent credentials accidentally leaking into built artefacts.
Requires: stackhpc/stackhpc-image-elements#67