-
Notifications
You must be signed in to change notification settings - Fork 14
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
tests: add e2e tests for otelcol in tailing sidecar without helm
- Loading branch information
1 parent
51bffbd
commit d3a14d2
Showing
1 changed file
with
15 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -79,14 +79,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/[email protected] | ||
- name: Set up Docker Buildx | ||
uses: docker/[email protected] | ||
- 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 e2e tests | ||
run: make e2e | ||
- name: Run e2e tests for Fluent Bit in tailing sidecar | ||
run: make e2e TAILING_SIDECAR=fluentbit | ||
- name: Run e2e tests for otelcol in tailing sidecar | ||
run: make e2e TAILING_SIDECAR=otelcol | ||
|
||
test-helm-chart: | ||
name: Test Helm chart | ||
|