elastic / elastic-agent-shipper

Data shipper for the Elastic Agent - single, unified way to add monitoring for logs, metrics, and other types of data to a host.
Other
9 stars 19 forks source link

Propagate the mage verbose flag to gorelease #293

Closed alexsapran closed 1 year ago

alexsapran commented 1 year ago

What does this PR do?

When debugging the building of this repo, I noticed that we were missing the capability to propagate the verbosity level to the gorelease.

This commit will add the --debug flag to the gorelease only if -v is passed from the mage command.

Why is it important?

This is something that is useful when I was trying to build this repository.

Checklist

How to test this PR locally

When you run mage build:binary for example it will print the gorelease output in the normal format.

After this PR running mage -v build:binary will increase the verbosity of the gorelease output.

elasticmachine commented 1 year ago

:green_heart: Build Succeeded

the below badges are clickable and redirect to their specific view in the CI or DOCS Pipeline View Test View Changes Artifacts preview preview

Expand to view the summary

#### Build stats * Start Time: 2023-04-06T08:47:45.495+0000 * Duration: 19 min 14 sec

:grey_exclamation: Flaky test report

No test was executed to be analysed.

:robot: GitHub comments

Expand to view the GitHub comments

To re-run your PR in the CI, just comment with: - `/test` : Re-trigger the build.