Skip to content
This repository was archived by the owner on Jan 30, 2026. It is now read-only.

Add -trimpath flag and -s -w ldflags on builds#52

Merged
exe-prow-github-app[bot] merged 1 commit into
opdev:mainfrom
caxu-rh:trimpath-ldflags
Aug 6, 2025
Merged

Add -trimpath flag and -s -w ldflags on builds#52
exe-prow-github-app[bot] merged 1 commit into
opdev:mainfrom
caxu-rh:trimpath-ldflags

Conversation

@caxu-rh
Copy link
Copy Markdown
Contributor

@caxu-rh caxu-rh commented Aug 6, 2025

Platform Before After
linux/amd64 12 MiB 7.8 MiB
linux/arm64 11 MiB 7.4 MiB
linux/ppc64le 11 MiB 7.7 MiB
linux/s390x 12 MiB 8.3 MiB
darwin/amd64 12 MiB 8 MiB
darwin/arm64 11 MiB 7.6 MiB

Similar change to redhat-openshift-ecosystem/openshift-preflight#1281.

Signed-off-by: Caleb Xu <caxu@redhat.com>
@exe-prow-github-app exe-prow-github-app Bot requested a review from komish August 6, 2025 18:09
Copy link
Copy Markdown
Collaborator

@komish komish left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

/lgtm

@exe-prow-github-app exe-prow-github-app Bot added the lgtm Indicates that a PR is ready to be merged. label Aug 6, 2025
@exe-prow-github-app
Copy link
Copy Markdown
Contributor

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: caxu-rh, komish

The full list of commands accepted by this bot can be found here.

The pull request process is described here

Details Needs approval from an approver in each of these files:

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

@exe-prow-github-app exe-prow-github-app Bot added the approved Indicates a PR has been approved by an approver from all required OWNERS files. label Aug 6, 2025
@exe-prow-github-app exe-prow-github-app Bot merged commit 0b56c47 into opdev:main Aug 6, 2025
3 checks passed
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

approved Indicates a PR has been approved by an approver from all required OWNERS files. lgtm Indicates that a PR is ready to be merged.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants