Skip to content

Commit 5254a6f

Browse files
authored
build: added OTEL smoke tests to CI (#785)
Added an another job the CI build definitions to run the smoke tests for the OTEL collector configuration. Ref: HDX-1642
1 parent 51ffde3 commit 5254a6f

File tree

1 file changed

+19
-0
lines changed

1 file changed

+19
-0
lines changed

.github/workflows/main.yml

+19
Original file line numberDiff line numberDiff line change
@@ -70,3 +70,22 @@ jobs:
7070
run: make ci-build
7171
- name: Run integration tests
7272
run: make ci-int
73+
otel-smoke-test:
74+
timeout-minutes: 8
75+
runs-on: ubuntu-24.04
76+
steps:
77+
- name: Checkout
78+
uses: actions/checkout@v4
79+
- name: Install required tooling
80+
env:
81+
DEBIAN_FRONTEND: noninteractive
82+
run: |
83+
sudo apt-get install -y apt-transport-https ca-certificates curl gnupg
84+
curl -fsSL 'https://packages.clickhouse.com/rpm/lts/repodata/repomd.xml.key' | sudo gpg --dearmor -o /usr/share/keyrings/clickhouse-keyring.gpg
85+
ARCH=$(dpkg --print-architecture)
86+
echo "deb [signed-by=/usr/share/keyrings/clickhouse-keyring.gpg arch=${ARCH}] https://packages.clickhouse.com/deb stable main" | sudo tee /etc/apt/sources.list.d/clickhouse.list
87+
sudo apt-get update
88+
sudo apt-get install --yes curl bats clickhouse-client
89+
- name: Run Smoke Tests
90+
working-directory: ./smoke-tests/otel-collector
91+
run: bats .

0 commit comments

Comments
 (0)