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
Add a new hotfix image build script #959
Conversation
bdunne
commented
May 4, 2023
- Build on top of existing images by copying over local RPMs and updating only those RPMs (as we would do in a hotfix situation between releases)
- Allow for productized source image names
- Build on top of existing images by copying over local RPMs and updating only those RPMs (as we would do in a hotfix situation between releases) - Allow for productized source image names
BASE_DIR=${BASE_DIR:-$PWD} | ||
CONTAINER_PREFIX=${CONTAINER_PREFIX:-manageiq} |
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.
I assume we'll start using this in the future?
I mean for the image names that we loop over
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.
Yes, but for now we can at least have the same options.
Checked commit bdunne@4d73b32 with ruby 2.6.10, rubocop 1.28.2, haml-lint 0.35.0, and yamllint |
RPM_BUILD_OPTIONS=${RPM_BUILD_OPTIONS:-""} | ||
RPM_BUILD_IMAGE=${RPM_BUILD_IMAGE:-"manageiq/rpm_build:$TAG"} | ||
RPM_PREFIX=${RPM_PREFIX:-"manageiq"} |
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.
I dont't understand removing these as they are used down below in https://github.com/ManageIQ/manageiq-pods/pull/959/files#diff-1fba65931954c73107694f0b7b964148febc5ba35da6812e1e117dfb37436e77R42-R47 and https://github.com/ManageIQ/manageiq-pods/pull/959/files#diff-1fba65931954c73107694f0b7b964148febc5ba35da6812e1e117dfb37436e77R63
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.
That being said I never understood building the RPMs as part of this script - always felt like if that's what's wanted the rpms should be built separately and then passed in.
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.
Additionally downstream builds are using RPM_PREFIX
Merging - will fix any issues in followups |
Backported to
|
Add a new hotfix image build script (cherry picked from commit ddb752f)
They don't belong in build_hotfix, but we need them for a regular build
Accidentally removed these while rebasing #959