Skip to content
This repository has been archived by the owner on Sep 30, 2024. It is now read-only.

opentelemetry-collector/v0.107.0 package update #64457

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 7 additions & 5 deletions wolfi-packages/opentelemetry-collector.yaml
Original file line number Diff line number Diff line change
@@ -1,13 +1,13 @@
package:
name: opentelemetry-collector
version: 0.103.0 # Keep in sync with go.opentelemetry.io/collector version in go.mod
epoch: 9
version: v0.107.0 # Keep in sync with go.opentelemetry.io/collector version in go.mod
epoch: 0
description: "Vendor-agnostic implementation on how to receive, process and export telemetry data"
target-architecture:
- x86_64
copyright:
- paths:
- "*"
- "*"
attestation: 'Copyright 2014 The open-telemetry Authors'
license: 'Apache License 2.0'
dependencies:
Expand All @@ -20,26 +20,28 @@ environment:
keyring:
- https://packages.wolfi.dev/os/wolfi-signing.rsa.pub
packages:
- wolfi-base
- busybox
- ca-certificates-bundle
- gcc
- gettext
- git
- gcc
- go
# - g++ # Not available on Wolfi - required?
- wolfi-base

pipeline:
- name: Populate builder template with version variables
runs: |
export OTEL_COLLECTOR_VERSION=${{package.version}}
envsubst <opentelemetry-collector/builder.template.yaml >opentelemetry-collector/builder.yaml
cat opentelemetry-collector/builder.yaml

- name: Run collector builder
runs: |
go run go.opentelemetry.io/collector/cmd/builder@v${{package.version}} \
--config opentelemetry-collector/builder.yaml \
--output-path=/tmp/otelcol-sourcegraph

- name: Package collector
# TODO: Change directory, but /bin is hardcoded into k8s manifests
runs: |
Expand Down