From 899886cfd76a0c3a8aad238c71c4bbd2f490ddab Mon Sep 17 00:00:00 2001 From: smithclay Date: Fri, 23 Feb 2024 13:00:15 -0800 Subject: [PATCH] fix build --- .github/workflows/build.yml | 9 +++++---- collector/otelcol-builder.yaml | 4 ++-- 2 files changed, 7 insertions(+), 6 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index c83984a..6eb5282 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -31,13 +31,14 @@ jobs: - name: Setup Go uses: actions/setup-go@v5 with: - go-version: "1.20" - check-latest: true + go-version: '~1.21.5' + check-latest: true - name: Install builder working-directory: ./collector run: | go install go.opentelemetry.io/collector/cmd/builder@v0.95.0 - name: Build + working-directory: ./collector run: make build-darwin build_windows: runs-on: ubuntu-20.04 @@ -47,8 +48,8 @@ jobs: - name: Setup Go uses: actions/setup-go@v5 with: - go-version: "1.20" - check-latest: true + go-version: '~1.21.5' + check-latest: true - name: Install builder working-directory: ./collector run: | diff --git a/collector/otelcol-builder.yaml b/collector/otelcol-builder.yaml index 9e81fa8..d0eb828 100644 --- a/collector/otelcol-builder.yaml +++ b/collector/otelcol-builder.yaml @@ -26,7 +26,7 @@ processors: go.opentelemetry.io/collector/processor/batchprocessor v0.95.0 # We don't recommend memory limiter, but it's here to support the default OpenTelemetry Collector Helm chart as of 2/23/24 - gomod: - github.com/open-telemetry/opentelemetry-collector-contrib/processor/memorylimiterprocessor v0.95.0 + go.opentelemetry.io/collector/processor/memorylimiterprocessor v0.95.0 - gomod: github.com/open-telemetry/opentelemetry-collector-contrib/processor/resourcedetectionprocessor v0.95.0 - gomod: @@ -56,7 +56,7 @@ receivers: - gomod: github.com/open-telemetry/opentelemetry-collector-contrib/receiver/hostmetricsreceiver v0.95.0 - gomod: - github.com/open-telemetry/opentelemetry-collector-contrib/receiver/k8sobjects v0.95.0 + github.com/open-telemetry/opentelemetry-collector-contrib/receiver/k8sobjectsreceiver v0.95.0 - gomod: github.com/open-telemetry/opentelemetry-collector-contrib/receiver/k8sclusterreceiver v0.95.0 - gomod: