Skip to content

Commit 30e49d1

Browse files
mat-rumianpmalek
authored andcommitted
Install fluentbit (#1312)
1 parent e0277ef commit 30e49d1

File tree

1 file changed

+20
-0
lines changed

1 file changed

+20
-0
lines changed

.circleci/config.yml

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -103,6 +103,25 @@ commands:
103103
keys:
104104
- cimg-go-pkg-mod-{{ arch }}-{{ checksum "go.sum" }}-v4
105105

106+
install_fluentbit:
107+
steps:
108+
- run: |
109+
sudo chmod 0777 -R /opt
110+
- restore_cache: # restores saved cache if no changes are detected since last run
111+
keys:
112+
- "cimg-fluentbit-{{ arch }}-1.5.3"
113+
- run: |
114+
sudo ln -s /opt/td-agent-bit/bin/td-agent-bit /usr/local/bin/fluent-bit
115+
if [[ -f /opt/td-agent-bit/bin/td-agent-bit ]]; then
116+
exit 0
117+
fi
118+
wget https://packages.fluentbit.io/ubuntu/bionic/pool/main/t/td-agent-bit/td-agent-bit_1.5.3_amd64.deb
119+
sudo dpkg -i ./td-agent-bit*.deb
120+
- save_cache:
121+
key: cimg-fluentbit-{{ arch }}-1.5.3
122+
paths:
123+
- /opt/td-agent-bit
124+
106125
publish_docker_images:
107126
parameters:
108127
repo:
@@ -347,6 +366,7 @@ jobs:
347366
TEST_RESULTS: testbed/tests/results/junit/results.xml
348367
steps:
349368
- restore_workspace
369+
- install_fluentbit
350370
- run:
351371
name: Loadtest
352372
command: make e2e-test

0 commit comments

Comments
 (0)