-
Notifications
You must be signed in to change notification settings - Fork 133
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Apply imds patch & switch to enumerated cherry-pick patches
Signed-off-by: Matthew Fala <[email protected]>
- Loading branch information
1 parent
57eace2
commit 9c9c9a4
Showing
5 changed files
with
50 additions
and
4 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
# Fix return value from tls_net_read (https://github.com/fluent/fluent-bit/pull/4100) | ||
https://github.com/krispraws/fluent-bit.git tls_net_read_fix 8d1cfeb5ba830b360fe6e1228190ed900842a3ea | ||
|
||
# Downgrade mbedtls to 2.24.0 to fix the performance regression issue (https://github.com/fluent/fluent-bit/issues/4110) | ||
https://github.com/zhonghui12/fluent-bit.git custom-1.8.7 30fc6305695623cbc95d51df07ae185dfec8bff2 | ||
|
||
# Support timeout on synchronous network calls (https://github.com/fluent/fluent-bit/pull/4184) | ||
https://github.com/matthewfala/fluent-bit.git immutable-1.8-imds-r2-cherry-picks-r2 e44f8789d605f9ab19a212b4139bc7fec8d0b530 | ||
https://github.com/matthewfala/fluent-bit.git immutable-1.8-imds-r2-cherry-picks-r2 30b00b295db9e3ee646a0262a07ca53cf0025b58 | ||
|
||
# IMDS graceful fallback from IMDSv2 to IMDSv1 (https://github.com/aws/aws-for-fluent-bit/issues/259) | ||
https://github.com/matthewfala/fluent-bit.git immutable-1.8-imds-r2-cherry-picks-r2 890915050ef2353a06c7d3e079e4d2ce821fc30b |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1 @@ | ||
2.21.1 | ||
2.21.2 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -41,9 +41,25 @@ ENV PATH ${PATH}:/home/.gimme/versions/go1.17.linux.arm64/bin:/home/.gimme/versi | |
RUN go version | ||
|
||
WORKDIR /tmp/fluent-bit-$FLB_VERSION/ | ||
RUN git clone https://github.com/matthewfala/fluent-bit.git /tmp/fluent-bit-$FLB_VERSION/ | ||
RUN git clone https://github.com/fluent/fluent-bit.git /tmp/fluent-bit-$FLB_VERSION/ | ||
WORKDIR /tmp/fluent-bit-$FLB_VERSION/build/ | ||
RUN git fetch origin && git checkout 1_8_9_patch && git status | ||
RUN git fetch --all --tags && git checkout tags/v${FLB_VERSION} -b v${FLB_VERSION} && git describe --tags | ||
|
||
RUN git config --global user.email "[email protected]" \ | ||
&& git config --global user.name "FireLens Team" | ||
|
||
# Apply Fluent Bit patches to base version | ||
COPY AWS_FLB_CHERRY_PICKS \ | ||
/AWS_FLB_CHERRY_PICKS | ||
|
||
RUN cat /AWS_FLB_CHERRY_PICKS | sed '/^#/d' \ | ||
| xargs -l bash -c 'git fetch $0 $1 && git cherry-pick $2' | ||
|
||
RUN echo "Cherry Pick Patch Summary:"; \ | ||
git log --oneline \ | ||
-`cat /AWS_FLB_CHERRY_PICKS | sed '/^#/d' | sed '/^\s*$/d' | wc -l | awk '{ print $1 }'` \ | ||
| tac | awk '{ print "Commit",NR,"--",$0 }'; sleep 2 | ||
|
||
RUN cmake -DFLB_RELEASE=On \ | ||
-DFLB_TRACE=Off \ | ||
-DFLB_JEMALLOC=On \ | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters