Skip to content

Commit

Permalink
Install fluentbit (#1312)
Browse files Browse the repository at this point in the history
  • Loading branch information
mat-rumian authored and pmalek committed Apr 23, 2021
1 parent 87c5b4f commit fb13684
Showing 1 changed file with 20 additions and 0 deletions.
20 changes: 20 additions & 0 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -103,6 +103,25 @@ commands:
keys:
- cimg-go-pkg-mod-{{ arch }}-{{ checksum "go.sum" }}-v4

install_fluentbit:
steps:
- run: |
sudo chmod 0777 -R /opt
- restore_cache: # restores saved cache if no changes are detected since last run
keys:
- "cimg-fluentbit-{{ arch }}-1.5.3"
- run: |
sudo ln -s /opt/td-agent-bit/bin/td-agent-bit /usr/local/bin/fluent-bit
if [[ -f /opt/td-agent-bit/bin/td-agent-bit ]]; then
exit 0
fi
wget https://packages.fluentbit.io/ubuntu/bionic/pool/main/t/td-agent-bit/td-agent-bit_1.5.3_amd64.deb
sudo dpkg -i ./td-agent-bit*.deb
- save_cache:
key: cimg-fluentbit-{{ arch }}-1.5.3
paths:
- /opt/td-agent-bit

publish_docker_images:
parameters:
repo:
Expand Down Expand Up @@ -347,6 +366,7 @@ jobs:
TEST_RESULTS: testbed/tests/results/junit/results.xml
steps:
- restore_workspace
- install_fluentbit
- run:
name: Loadtest
command: make e2e-test
Expand Down

0 comments on commit fb13684

Please sign in to comment.