From bee21b3d4dee8843d1011195e7bc3dc5992c5408 Mon Sep 17 00:00:00 2001 From: Katarzyna Kujawa Date: Wed, 13 Dec 2023 13:18:25 +0100 Subject: [PATCH] ci: add tests for tailing-sidecar-otel --- .github/workflows/pull_requests.yml | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/.github/workflows/pull_requests.yml b/.github/workflows/pull_requests.yml index 753cc8a1..453d037d 100644 --- a/.github/workflows/pull_requests.yml +++ b/.github/workflows/pull_requests.yml @@ -77,12 +77,18 @@ jobs: with: go-version: '1.20' - uses: imranismail/setup-kustomize@v2 + - name: Install opentelemetry-collector-builder + working-directory: ./sidecar/otelcol + run: make install-builder - name: Install kuttl run: | curl -Lo /usr/local/bin/kubectl-kuttl https://github.com/kudobuilder/kuttl/releases/download/v${{ env.KUTTL_VERSION }}/kubectl-kuttl_${{ env.KUTTL_VERSION }}_linux_x86_64 chmod +x /usr/local/bin/kubectl-kuttl - - name: Run Helm e2e tests - run: make e2e-helm + - name: Run Helm e2e tests for Fluent Bit in tailing sidecar + run: make e2e-helm TAILING_SIDECAR=fluentbit + - name: Run Helm e2e tests for otelcol in tailing sidecar + run: make e2e-helm TAILING_SIDECAR=otelcol + test-helm-chart-with-cert-manager: name: Test Helm chart with cert-manager