Skip to content

[CI] Enforce that components from any distribution listed in cmd/otelcontribcol/builder-config.yaml  #37087

@dmitryax

Description

@dmitryax

We recently added a new component to k8s and contrib distributions in the releases repo: open-telemetry/opentelemetry-collector-releases#789.

The collector was never built with this component because it wasn't added to https://github.com/open-telemetry/opentelemetry-collector-contrib/blob/main/cmd/otelcontribcol/builder-config.yaml that is used by the built-and-test CI jobs. Hence, the component was only built when the new collector version was to be released and failed: https://github.com/open-telemetry/opentelemetry-collector-releases/actions/runs/12664303446/job/35292225799?pr=791

We need to enforce that a component is listed in https://github.com/open-telemetry/opentelemetry-collector-contrib/blob/main/cmd/otelcontribcol/builder-config.yaml before it can be added to any distribution.

Metadata

Metadata

Assignees

Labels

bugSomething isn't workingci-cdCI, CD, testing, build issuesrelease-retroIssues discussed in a release retrospectiverelease:blockerThe issue must be resolved before cutting the next release

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions