-
Notifications
You must be signed in to change notification settings - Fork 133
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
bump 2.31.1 #535
bump 2.31.1 #535
Conversation
e54bd6c
to
639736b
Compare
AWS_FLB_CHERRY_PICKS
Outdated
# S3 retry limit configuration option | ||
https://github.com/Claych/fluent-bit.git clay-retry-limit-1.9 26922abb9b970c322d658117df68228dc26df5f9 | ||
https://github.com/Claych/fluent-bit.git clay-retry-limit-1.9 a5410e4d3bda21f5072f55c8e6a128654a9b9894 | ||
https://github.com/Claych/fluent-bit.git clay-retry-limit-1.9 f0fe0245228330a9200325dcc2d594d4e3d49e89 | ||
https://github.com/Claych/fluent-bit.git clay-retry-limit-1.9 96587eebdb91d1f4d37c705e54e1ae91327f3353 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
does this need to be a bunch of commits? I think the PR could be squashed to 1.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Squashed. Thanks Clay
CHANGELOG.md
Outdated
|
||
Compared to `2.31.0`, this release adds the following feature that we are working on getting accepted upstream: | ||
* Feature - Add a configuration option for S3 retry attempts [fluent-bit:6475](https://github.com/fluent/fluent-bit/pull/6475) | ||
* Bug - Resolve Datadog buffer resize segfault by including critical parts of reverted Datadog PR [aws-for-fluent-bit:491](https://github.com/aws/aws-for-fluent-bit/issues/491) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think this is not the most user friendly message. Can we rephrase it to not be how we accomplished this, but what it means for customers?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Updated
@@ -12,6 +12,18 @@ | |||
"latest": true, | |||
"stable": false | |||
}, | |||
{ |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
remember to run the new Makefile target for validating this file which is in our runbook now.
@matthewfala @rawahars should we make that target run in the release target? that way we fail fast.
make validate-version-file-format
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Ran the script. It works.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
what do you think about just making it part of the release
target so we already run it a fail fast?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
That's a good idea. I can submit a pr for it.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
.PHONY: validate-version-file-format
validate-version-file-format:
jq -e . windows.versions && true || false
jq -e . linux.version && true || false
Actually, it's not clear what the point of this script is,
Is it supposed to fail if the following is not in JSON format?
{
"linux": {
"version": "2.31.1",
"build": "1",
"fluent-bit": "1.9.10",
"kinesis-plugin": "v1.10.1",
"firehose-plugin": "v1.7.1",
"cloudwatch-plugin": "v1.9.1"
}
}
the make validate-version-file-format does not, if that is the case.
Meanwhile it appears that the build linux plugins does fail if the version document is not JSON regardless of whether the validate-version-file-format command is run or not
./scripts/build_plugins.sh \
--KINESIS_PLUGIN_CLONE_URL= \
--KINESIS_PLUGIN_TAG= \
--KINESIS_PLUGIN_BRANCH= \
--FIREHOSE_PLUGIN_CLONE_URL= \
--FIREHOSE_PLUGIN_TAG= \
--FIREHOSE_PLUGIN_BRANCH= \
--CLOUDWATCH_PLUGIN_CLONE_URL= \
--CLOUDWATCH_PLUGIN_TAG= \
--CLOUDWATCH_PLUGIN_BRANCH=
latest version not found for linux
make: *** [linux-plugins] Error 1
Our runbook specifies:
The above changes go in the linux.version
and windows.versions
file. Run make validate-version-file-format
to check that the update was successful. If formatted incorrectly, it will lead to a release pipeline failure.
If the JSON file is not formatted correctly, it won't be printed out, so that may be a way to manually check for issues.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@PettitWesley I think it would be. great if we add it to the release
target.
@matthewfala Yes that is correct. The make target would fail if the json files for Windows and Linux are not formatted properly. It would be a fast fail to ensure that our Pipelines do not fail due to invalid JSON.
I am not clear what you mean when you say the make validate-version-file-format does not, if that is the case.
For example-
{
"linux": {
"version": "2.31.1",
"build": "1",
"fluent-bit": "1.9.10",
"kinesis-plugin": "v1.10.1",
"firehose-plugin": "v1.7.1",
"cloudwatch-plugin": "v1.9.1"
}
}
This would succeed since the format of json is correct.
{
"linux": {
"version": "2.31.1",
"build": "1",
"fluent-bit": "1.9.10",
"kinesis-plugin": "v1.10.1",
"firehose-plugin": "v1.7.1",
"cloudwatch-plugin": "v1.9.1",
}
}
This would fail with the following error-
jq -e . linux.version && true || false
parse error: Expected another key-value pair at line 9, column 3
make: *** [validate-version-file-format] Error 1
This is because the above JSON is not formatted properly and has an extra comma at "cloudwatch-plugin": "v1.9.1",
. Such errors can be easily identified before we commit the changes leading to pipeline failures.
Signed-off-by: Matthew Fala <[email protected]>
639736b
to
3cabb3b
Compare
2.31.1
This release includes:
Compared to
2.31.0
, this release adds the following feature that we are working on getting accepted upstream:Same as
2.31.0
, this release includes the following fixes and features that we are working on getting accepted upstream:kinesis_firehose
andkinesis_streams
support fortime_key_format
milliseconds with%3N
option, and nanoseconds9N
and%L
options fluent-bit:2831log_key
missing warning message if the configuredlog_key
field is missing from log payload fluent-bit:6557Add the following cherrypicks
Signed-off-by: Matthew Fala [email protected]
Issue #, if available:
Description of changes:
By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.