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#10710 in opentelemetry-collector repo) #608

Merged
merged 10 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 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 opentelemetry-collector # 10662
Prerequisite for issue #295
Corresponding PR in opentelemetry-collector

Testing

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

Documentation

Updated corresponding documentation in opentelemetry-collector repository to reflect new release process

.gitignore Show resolved Hide resolved
@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 force-pushed the main branch 2 times, most recently from b3a9c87 to 629766b Compare August 1, 2024 19:57
@jackgopack4 jackgopack4 changed the title Update build process to move ocb binary release to opentelemetry-collector-releases (see corresponding PR in opentelemetry-collector repo) Migrate ocb binary release to opentelemetry-collector-releases (see corresponding PR#10710 in opentelemetry-collector repo) Aug 1, 2024
@jackgopack4 jackgopack4 marked this pull request as ready for review August 1, 2024 20:28
.github/workflows/builder-testbuild.yaml Outdated Show resolved Hide resolved
Makefile Outdated Show resolved Hide resolved
cmd/builder/.goreleaser.yml Outdated Show resolved Hide resolved
.gitignore Outdated Show resolved Hide resolved
@jackgopack4 jackgopack4 marked this pull request as draft August 2, 2024 14:10
@jackgopack4 jackgopack4 marked this pull request as ready for review August 2, 2024 14:34
@mx-psi mx-psi requested a review from evan-bradley August 6, 2024 15:37
cmd/builder/.goreleaser.yml Outdated Show resolved Hide resolved
.github/workflows/builder-release.yaml Show resolved Hide resolved
Makefile Outdated Show resolved Hide resolved
dmitryax pushed a commit to open-telemetry/opentelemetry-collector that referenced this pull request Aug 9, 2024
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](open-telemetry/opentelemetry-collector-releases#295)
[Corresponding PR in
opentelemetry-collector-releases](open-telemetry/opentelemetry-collector-releases#608)

#### Testing
Sample binary release in [forked
jackgopack4/opentelemetry-collector-releases
repo](https://github.com/jackgopack4/opentelemetry-collector-releases/releases/tag/cmd%2Fbuilder%2Fv0.106.1)

#### Documentation
Updated corresponding documentation to reflect new release process

---------

Co-authored-by: Pablo Baeyens <[email protected]>
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