-
Notifications
You must be signed in to change notification settings - Fork 28
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
stop caring about generated code and variants #282
Conversation
8bfbe21
to
8a8f8c6
Compare
⬆️ Also removed the Variant manifest read during package builds. Re-tested. |
⬆️ Also removed the variant* args. Re-tested. Unfortunately, this push https://github.com/bottlerocket-os/twoliter/compare/8a8f8c6c5536fc316e2a4a3f034802c99d3afcee..34d406fcbcc3973d9615fde99ba632688c6e09ac caused this error.
|
⬆️ Attempt to fix based on Ben's diff https://github.com/bottlerocket-os/twoliter/compare/34d406fcbcc3973d9615fde99ba632688c6e09ac..2b89efd2ab862e5c3ece5a9951b186392038f104 |
⬆️ Attempt to fix the fix of the fix https://github.com/bottlerocket-os/twoliter/compare/bcc1a60e4f4ddf2cf8f951b621fcd69ecd7f5d45..04723616fc054e4626e7800bf757af525e315eba |
twoliter/embedded/build.Dockerfile
Outdated
&& echo "Epoch: ${BUILD_EPOCH}" >> rpmbuild/SPECS/${PACKAGE}.spec \ | ||
&& cat generated.bconds ${PACKAGE}.spec >> rpmbuild/SPECS/${PACKAGE}.spec \ | ||
&& cp ${PACKAGE}.spec rpmbuild/SPECS/${PACKAGE}.spec \ |
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.
need to reorder this above the previous line, or we'll miss out on the Epoch
for the top-level package
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.
Oh, I see I was blowing it away... this should fix it right? https://github.com/bottlerocket-os/twoliter/compare/224bc50b442bc4f82c3111f955f215d7bc79b195..2721a636b44a41aefdf59a6c9c6c252b1244eb02
⬆️ Attempt this push finally got it to work! Bottlerocket build succeeded https://github.com/bottlerocket-os/twoliter/compare/04723616fc054e4626e7800bf757af525e315eba..224bc50b442bc4f82c3111f955f215d7bc79b195 |
Bummer
|
⬆️ Make |
With bottlerocket-os/bottlerocket#4038 we can finally stop mounting the models directory (and a vestige of logdog could also be removed).
Remove the logic by which packages are differentially built based on which variant they are for. Requires bottlerocket-os/bottlerocket#4038
Uh oh, after rebasing I got this. Not sure if my conflict resolution was wrong or what...
|
Oh, I think I know. The Bottlerocket Makefile.toml is going to have to call twoliter update and twoliter fetch |
Hmmm in Bottlerocket...
|
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.
LGTM
Issue number:
Closes #193
Description of changes:
stop caring about the models and logdog dirs
With bottlerocket-os/bottlerocket#4038 we can
finally stop mounting the models directory (and a vestige of logdog
could also be removed).
Testing done:
Terms of contribution:
By submitting this pull request, I agree that this contribution is dual-licensed under the terms of both the Apache License, version 2.0, and the MIT license.