edgexfoundry / device-rest-go

Owner: Device WG
Apache License 2.0
17 stars 46 forks source link

build: [Device REST] Add ldflags to strip debug info from binary #373

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/device-rest-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 

build service from this branch Verify it builds properly run service

./device-rest -cp -d -o

Verify service bootstraps successfully and device profiles and devices are created in Core Metadata (use UI)

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 (aba5f4c) 32.86% compared to head (1f8c11a) 32.86%.

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

Additional details and impacted files ```diff @@ Coverage Diff @@ ## main #373 +/- ## ======================================= Coverage 32.86% 32.86% ======================================= Files 2 2 Lines 353 353 ======================================= Hits 116 116 Misses 224 224 Partials 13 13 ```

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