Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[chore] Generate replaces automatically in otelcontribcol/oteltestbedcol #37569

Merged
merged 4 commits into from
Jan 30, 2025

Conversation

jade-guiton-dd
Copy link
Contributor

@jade-guiton-dd jade-guiton-dd commented Jan 29, 2025

Description

cmd/otelcontribcol/builder-config.yaml currently contains numerous replaces directives. These are important for making sure that builds use the local version of the code and not one fetched from the Go proxy, especially during the release process when internal dependencies are set to versions that have not been published yet. To avoid needing to maintain this list of directives manually, this PR removes them from builder-config.yaml and adds a script which creates builder-config-replaced.yaml by appending replaces directives for every module in the repository. (Some may be superfluous, but that should not cause problems.)

Link to tracking issue

Fixes #37243

Testing

I ran the release script locally and no errors occurred in genotelcontribcol or gentestbedcol.

@jade-guiton-dd jade-guiton-dd marked this pull request as ready for review January 29, 2025 13:28
@jade-guiton-dd jade-guiton-dd requested a review from a team as a code owner January 29, 2025 13:28
Copy link
Member

@songy23 songy23 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@songy23 songy23 added the ci-cd CI, CD, testing, build issues label Jan 29, 2025
@mx-psi mx-psi merged commit 800e0ca into open-telemetry:main Jan 30, 2025
163 checks passed
@github-actions github-actions bot added this to the next release milestone Jan 30, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
ci-cd CI, CD, testing, build issues cmd/otelcontribcol otelcontribcol command cmd/oteltestbedcol
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Automatically generate replaces for builder configurations
3 participants