You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Is your feature request related to a problem? Please describe.
Provide the specific Git commit in the version output to simplify verification either automated or manual.
Describe the solution you'd like
Provide the Git commit information in the version string:
$ docker run --rm -it fluent/fluent-bit
Fluent Bit v1.8.13 (Git: 01ab9432e)
* Copyright (C) 2015-2021 The Fluent Bit Authors
...
Ideally we want to do this invisibly to the user, i.e. without having to provide another CMake argument which then requires multiple updates to all the build tooling and container definitions.
There are some examples that do this, e.g.:
Describe alternatives you've considered
Using FLB_NIGHTLY_BUILD unfortunately marks it as non-production when we want this info in production too.
Additional context
Related to #5002 but I would like to add some automated checks to verify the commit for a release/build.
This will also make it very easy to check the source commit in a container, package, etc. rather than rely on the semantic version string directly.
The text was updated successfully, but these errors were encountered:
Is your feature request related to a problem? Please describe.
Provide the specific Git commit in the version output to simplify verification either automated or manual.
Describe the solution you'd like
Provide the Git commit information in the version string:
Ideally we want to do this invisibly to the user, i.e. without having to provide another CMake argument which then requires multiple updates to all the build tooling and container definitions.
There are some examples that do this, e.g.:
Describe alternatives you've considered
Using FLB_NIGHTLY_BUILD unfortunately marks it as non-production when we want this info in production too.
Additional context
Related to #5002 but I would like to add some automated checks to verify the commit for a release/build.
This will also make it very easy to check the source commit in a container, package, etc. rather than rely on the semantic version string directly.
The text was updated successfully, but these errors were encountered: