OCPBUGS-76319: Strip debugging symbols when releasing oc#2196
OCPBUGS-76319: Strip debugging symbols when releasing oc#2196tchap wants to merge 2 commits intoopenshift:mainfrom
Conversation
|
@tchap: This pull request references Jira Issue OCPBUGS-76319, which is invalid:
Comment The bug has been updated to refer to the pull request using the external bug tracker. DetailsIn response to this: Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the openshift-eng/jira-lifecycle-plugin repository. |
WalkthroughMakefile, Dockerfiles, and RPM spec updated to embed expanded linker -X metadata flags and to propagate GO_BUILD_EXTRAFLAGS; container and RPM build steps export GO_LD_EXTRAFLAGS (adding -s -w) and GO_BUILD_EXTRAFLAGS (adding -trimpath) before running make. Changes
Estimated code review effort🎯 2 (Simple) | ⏱️ ~10 minutes ✨ Finishing touches🧪 Generate unit tests (beta)
Comment |
|
/jira refresh |
|
@tchap: This pull request references Jira Issue OCPBUGS-76319, which is valid. The bug has been moved to the POST state. 3 validation(s) were run on this bug
DetailsIn response to this:
Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the openshift-eng/jira-lifecycle-plugin repository. |
|
@tchap: This pull request references Jira Issue OCPBUGS-76319, which is valid. 3 validation(s) were run on this bug
DetailsIn response to this:
Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the openshift-eng/jira-lifecycle-plugin repository. |
|
[APPROVALNOTIFIER] This PR is NOT APPROVED This pull-request has been approved by: tchap The full list of commands accepted by this bot can be found here. DetailsNeeds approval from an approver in each of these files:Approvers can indicate their approval by writing |
|
/retitle OCPBUGS-76319: Strip debugging symbols when releasing oc |
475c692 to
a045eef
Compare
a045eef to
97ed65d
Compare
97ed65d to
70c4537
Compare
|
@tchap: This pull request references Jira Issue OCPBUGS-76319, which is valid. 3 validation(s) were run on this bug
The bug has been updated to refer to the pull request using the external bug tracker. DetailsIn response to this:
Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the openshift-eng/jira-lifecycle-plugin repository. |
|
/retest |
|
@tchap: all tests passed! Full PR test history. Your PR dashboard. DetailsInstructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes-sigs/prow repository. I understand the commands that are listed here. |
We don't want the debug RPM package, so I am setting
-w -sinoc.specdirectly.For other cases,
ocis being built using the includedDockerfiles, so I updated those as well.go buildis now passed-trimpathalso so that there are no absolute file paths in the executable.