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

Migrate ocb binary release to opentelemetry-collector-releases (see corresponding PR#608 in opentelemetry-collector-releases repo) #10710

Merged
merged 4 commits into from
Aug 9, 2024

Conversation

jackgopack4
Copy link
Contributor

@jackgopack4 jackgopack4 commented Jul 23, 2024

EDIT: After discussion with the collector SIG call this week, July 31st, I have made small tweaks to the artifact release that will not require an "extra step" of pushing tags. If these changes are accepted, the distributions will be released under tag "vX.XXX.X" and the ocb binaries will be released under "cmd/builder/vX.XXX.X" but both under this repo, opentelemetry-collector-releases. The workflow builder-release.yaml in releases repo will push the additional tags necessary for the builder release.

Refactoring the release process as mentioned in past issues/PRs. ocb binary is currently released in a separate release tag under this repository, which makes it harder to find and inconsistent with the rest of the binaries and images releasing in the opentelemetry-collector-releases repository.

Releasing the ocb binaries in opentelemetry-collector-releases makes this process more standardized and also opens the opportunity to release more tools alongside ocb binary down the road, like corresponding docker images (as discussed in #5712).

Link to tracking issue

Fixes #10662
Mentioned in releases issue # 295
Corresponding PR in opentelemetry-collector-releases

Testing

Sample binary release in forked jackgopack4/opentelemetry-collector-releases repo

Documentation

Updated corresponding documentation to reflect new release process

@jackgopack4 jackgopack4 changed the title Update build process to move ocb binary release to opentelemetry-collector-releases (see corresponding PR in that repo) Update build process to move ocb binary release to opentelemetry-collector-releases (see corresponding PR in opentelemetry-collector-releases repo) Jul 23, 2024
@jackgopack4 jackgopack4 marked this pull request as ready for review July 23, 2024 22:22
@jackgopack4 jackgopack4 requested review from a team and TylerHelmuth July 23, 2024 22:22
Copy link

codecov bot commented Jul 24, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 91.71%. Comparing base (685625a) to head (06744bf).
Report is 4 commits behind head on main.

Additional details and impacted files
@@           Coverage Diff           @@
##             main   #10710   +/-   ##
=======================================
  Coverage   91.71%   91.71%           
=======================================
  Files         406      406           
  Lines       18950    18947    -3     
=======================================
- Hits        17380    17378    -2     
+ Misses       1210     1209    -1     
  Partials      360      360           

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

Copy link
Contributor

@evan-bradley evan-bradley left a comment

Choose a reason for hiding this comment

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

Thank you for taking this on.

docs/release.md Outdated Show resolved Hide resolved
@jackgopack4 jackgopack4 force-pushed the main branch 2 times, most recently from 625c3a6 to ed2ff9e Compare July 30, 2024 15:29
@jackgopack4
Copy link
Contributor Author

rebased on upstream main following v0.106.0 release

@jackgopack4 jackgopack4 marked this pull request as draft August 1, 2024 17:53
@jackgopack4 jackgopack4 changed the title Update build process to move ocb binary release to opentelemetry-collector-releases (see corresponding PR in opentelemetry-collector-releases repo) Migrate ocb binary release to opentelemetry-collector-releases (see corresponding PR#608 in opentelemetry-collector-releases repo) Aug 1, 2024
@jackgopack4 jackgopack4 force-pushed the main branch 2 times, most recently from 493a3ad to 0c3b8f6 Compare August 1, 2024 20:06
jackgopack4 added a commit to jackgopack4/opentelemetry-collector that referenced this pull request Aug 1, 2024
@jackgopack4 jackgopack4 marked this pull request as ready for review August 1, 2024 20:28
docs/release.md Outdated Show resolved Hide resolved
.chloggen/ocb-migration.yaml Outdated Show resolved Hide resolved
@mx-psi mx-psi requested a review from evan-bradley August 6, 2024 15:37
Copy link
Contributor

@evan-bradley evan-bradley left a comment

Choose a reason for hiding this comment

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

Thanks for your continued work @jackgopack4. I'm overall good with this, though I did leave a comment about how we should approach tagging.

I think we should aim to merge the -releases PR before this one just to be safe. If we don't have both make it into the release, I think it would be better to double publish the release than to not publish one.

docs/release.md Show resolved Hide resolved
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

cc release manager for the next release @dmitryax

@dmitryax dmitryax merged commit 8abfa02 into open-telemetry:main Aug 9, 2024
49 checks passed
@github-actions github-actions bot added this to the next release milestone Aug 9, 2024
andrzej-stencel added a commit to andrzej-stencel/opentelemetry-collector that referenced this pull request Sep 24, 2024
The location of builder binary releases has changed since v0.107.0.

https://github.com/open-telemetry/opentelemetry-collector/blob/main/CHANGELOG.md#-enhancements--3

> `ocb`: migrate build and release of ocb binaries to opentelemetry-collector-releases repository (open-telemetry#10710) ocb binaries will now be released under open-telemetry/opentelemetry-collector-releases tagged as "cmd/builder/vX.XXX.X"
bogdandrutu pushed a commit that referenced this pull request Sep 24, 2024
The location of builder binary releases has changed since v0.107.0.


https://github.com/open-telemetry/opentelemetry-collector/blob/main/CHANGELOG.md#-enhancements--3

> `ocb`: migrate build and release of ocb binaries to
opentelemetry-collector-releases repository (#10710) ocb binaries will
now be released under open-telemetry/opentelemetry-collector-releases
tagged as "cmd/builder/vX.XXX.X"
jackgopack4 pushed a commit to jackgopack4/opentelemetry-collector that referenced this pull request Oct 8, 2024
The location of builder binary releases has changed since v0.107.0.


https://github.com/open-telemetry/opentelemetry-collector/blob/main/CHANGELOG.md#-enhancements--3

> `ocb`: migrate build and release of ocb binaries to
opentelemetry-collector-releases repository (open-telemetry#10710) ocb binaries will
now be released under open-telemetry/opentelemetry-collector-releases
tagged as "cmd/builder/vX.XXX.X"
HongChenTW pushed a commit to HongChenTW/opentelemetry-collector that referenced this pull request Dec 19, 2024
The location of builder binary releases has changed since v0.107.0.


https://github.com/open-telemetry/opentelemetry-collector/blob/main/CHANGELOG.md#-enhancements--3

> `ocb`: migrate build and release of ocb binaries to
opentelemetry-collector-releases repository (open-telemetry#10710) ocb binaries will
now be released under open-telemetry/opentelemetry-collector-releases
tagged as "cmd/builder/vX.XXX.X"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Migrate release of OpenTelemetry Collector Builder (ocb) to the opentelemetry-collector-releases repository
5 participants