-
Notifications
You must be signed in to change notification settings - Fork 31
DLPX-87969 Modify kernel build to include Delphix's custom annotations #300
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
DLPX-87969 Modify kernel build to include Delphix's custom annotations #300
Conversation
96ad2be
to
d0a6ef3
Compare
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'm not necessarily convinced this is needed.. have we gotten multiple merge conflicts already? or only one?
With that said, I'm also not opposed to this change, from a design perspective...
If we want to go with this approach, I think I'd recommend we also look into dynamically creating the debian.delphix/config/annotations
file too.. what do you think?
We have only gotten 1 merge conflict so far. We can wait and observe if this change is really needed.
That's also an option, yes. We could move the annotations file to |
I think I actually like option 2, over what you have here.. and then, merging that with what I mentioned in my comment.. we could change Obviously, that means the config we use to override must apply to all the different platforms, but I think the file is the same today, so that would work. If we find that doesn't work in the future, we can think about how to extend it to work for platform specific overrides. |
4baa326
to
aaf3a31
Compare
364358e
to
9f5e338
Compare
9f5e338
to
adad24b
Compare
…-91f0-b7200918de66
Problem
delphix/linux-kernel-aws#46 and it's side ports introduced a potential for merge conflicts in the base annotations file. If upstream changes that file, we are bound to hit a merge conflict when updating our repos because the
include
line is at the end of the file. Moving it to the top result in an unwanted configuration - where upstream's annotations overrides Delphix's annotations. We want Delphix's annotations to be processed at the very end.Solution
Move Delphix's annotations file to this repo and remove them from the kernel repos. Then, at build time, import the annotations.
Associated kernel repo PRs:
delphix/linux-kernel-aws#48
delphix/linux-kernel-azure#31
delphix/linux-kernel-gcp#32
delphix/linux-kernel-generic#31
delphix/linux-kernel-oracle#30
Testing Done
aws: http://selfservice.jenkins.delphix.com/job/appliance-build-orchestrator-pre-push/7043/
azure: http://selfservice.jenkins.delphix.com/job/appliance-build-orchestrator-pre-push/7044/
generic: http://selfservice.jenkins.delphix.com/job/appliance-build-orchestrator-pre-push/7026/
gcp: http://selfservice.jenkins.delphix.com/job/appliance-build-orchestrator-pre-push/7027/
oracle: http://selfservice.jenkins.delphix.com/job/appliance-build-orchestrator-pre-push/7028/
All of my Blackbox test runs failed because the upgrade image size dropped by more than 10%:
Before my change:
After my changes (verified all 5 upgrade images from these runs):
Implementation
I had to add the following 2 annotations to make
updateconfigs
fully non-interactive:because while running
updateconfigs
, I gotand