diff --git a/.github/workflows/pull_requests.yml b/.github/workflows/pull_requests.yml index a542edc0..ab76be82 100644 --- a/.github/workflows/pull_requests.yml +++ b/.github/workflows/pull_requests.yml @@ -97,14 +97,26 @@ jobs: - name: Setup go uses: actions/setup-go@v5 with: - go-version: '1.20' + go-version: '1.21' + cache-dependency-path: | + .otelcol-builder.yaml + .goreleaser.yaml + - name: Set up QEMU + uses: docker/setup-qemu-action@v3.0.0 + - name: Set up Docker Buildx + uses: docker/setup-buildx-action@v3.0.0 + - name: Install opentelemetry-collector-builder + working-directory: ./sidecar/otelcol + run: make install-builder - uses: imranismail/setup-kustomize@v2 - 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