Closed sdowell closed 2 weeks ago
/assign @thockin
/assign @nan-yu
[APPROVALNOTIFIER] This PR is APPROVED
This pull-request has been approved by: nan-yu, sdowell
The full list of commands accepted by this bot can be found here.
The pull request process is described here
As #895 shows, "bash" is not available in the BUILD_IMAGE (golang:1.22-alpine). We should make the scripts be stricter sh
As #895 shows, "bash" is not available in the BUILD_IMAGE (golang:1.22-alpine). We should make the scripts be stricter
sh
Could we switch the default BUILD_IMAGE to be the debian-based golang:1.22
? That image ships with bash and would be a more consistent OS with BASEIMAGE
.
I'm good with also making the script more strict/portable, but I don't see a benefit in using the alpine image in this instance.
Are there not presubmits that verify the build?
There should be. I'm not sure why this would have passed
On Fri, Jun 21, 2024 at 10:21 AM Sam Dowell @.***> wrote:
Are there not presubmits that verify the build?
— Reply to this email directly, view it on GitHub https://github.com/kubernetes/git-sync/pull/894#issuecomment-2183144346, or unsubscribe https://github.com/notifications/unsubscribe-auth/ABKWAVEJFZ3YVDYESBXVLM3ZIROIBAVCNFSM6AAAAABJUUY3LOVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDCOBTGE2DIMZUGY . You are receiving this because you were assigned.Message ID: @.***>
This updates the build scripts to use a bash shebang for consistency with other scripts as well as better portability. If using a non-alpine BUILDIMAGE (e.g. debian) the build scripts are not valid sh syntax.