edgexfoundry / app-functions-sdk-go

Owner: Applications WG
Apache License 2.0
43 stars 83 forks source link

build: [SDK] Add ldflags to strip debug info from binary #1523

Closed lenny-goodell closed 11 months ago

lenny-goodell commented 11 months ago

If your build fails due to your commit message not passing the build checks, please review the guidelines here: https://github.com/edgexfoundry/app-functions-sdk-go/blob/main/.github/CONTRIBUTING.md

PR Checklist

Please check if your PR fulfills the following requirements:

Testing Instructions

Run non-secure edgex stack from compose builder

make run no-secty ds-virtual

build app-template from this branch Verify it builds properly run app-template

./app-new-service -cp -d -o

Verify service bootstraps successfully and starts process events from the MessageBus

New Dependency Instructions (If applicable)

codecov-commenter commented 11 months ago

Codecov Report

All modified and coverable lines are covered by tests :white_check_mark:

Comparison is base (76a07b6) 67.40% compared to head (a4128b8) 67.40%.

:exclamation: Your organization needs to install the Codecov GitHub app to enable full functionality.

Additional details and impacted files ```diff @@ Coverage Diff @@ ## main #1523 +/- ## ======================================= Coverage 67.40% 67.40% ======================================= Files 36 36 Lines 3132 3132 ======================================= Hits 2111 2111 Misses 888 888 Partials 133 133 ```

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.