-
Notifications
You must be signed in to change notification settings - Fork 80
[2.14 main] Removing dapper from the build process #1150
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
fbe9d11 to
e6ca548
Compare
|
I know it's a draft and not ready to review yet but before I forget. One reason why we want to move away from dapper is that we want to also move the binary building inside of the To avoid having two separate Anyway, we can discuss further if you want. |
I think that makes good sense. Thanks for the early feedback. |
95135ed to
7a041de
Compare
… building the integration test binary
tomleb
left a comment
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.
Sorry for this constant back-and-forth lol, but I think it's starting to look real good 👍
Some more comments.
We might benefit from input from someone doing webhook work too, ensure they're still able to do what they used to do. Maybe check with Peter?
c4265d5 to
4bf7aa8
Compare
…nd TARGETARCH to the webhook-build stage
|
@ericpromislow or @pmatseykanets Can one or both of you give this a whirl on your mac? We want to make sure that this refactoring of our build process doesn't adversely affect anyone. Thanks. |
|
@crobby Seems to be working on my Mac. |
Thanks for checking |
tomleb
left a comment
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.
A couple of nits, but the most important is .github/workflows/release.yaml will probably fail because the docker build step expects VERSION and COMMIT given to it to build the binary, but we're not passing it to it. Right?
…arch setting from the script
The bigger problem is that release.yaml still calls the old scripts/build. I'll have to adapt that step to the new setup, which will include correct VERSION/COMMIT getting set. |
Ah right I didn't even see that. Yeah that should be moved over to the "new way" before merging 👍 I'll approve once that's done |
tomleb
left a comment
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
nit: make image should probably remain make package to not break devs workflow but heh 🤷
Part of: https://github.com/rancher/rancher-security/issues/1381
rancher/rancher#49201
Removing dapper from our build processes in favor of docker buildx staged builds to facilitate both local and CI needs.