The following commands were run to prepare this release:
make chlog-update VERSION=v1.37.0/v0.131.0
make prepare-release PREVIOUS_VERSION=1[.]36[.]1
RELEASE_CANDIDATE=1.37.0 MODSET=stable
make prepare-release PREVIOUS_VERSION=0[.]130[.]1
RELEASE_CANDIDATE=0.131.0 MODSET=beta
---------
Co-authored-by: otelbot <197425009+otelbot@users.noreply.github.com>
<!--Ex. Fixing a bug - Describe the bug and how this fixes the issue.
Ex. Adding a feature - Explain what this achieves.-->
#### Description
Prepares release v0.130.1/v1.36.1 to release #13429
<!-- Issue number if applicable -->
#### Link to tracking issue
Updates #13381
Relates to open-telemetry/opentelemetry-go/issues/7039
---------
Co-authored-by: opentelemetrybot <107717825+opentelemetrybot@users.noreply.github.com>
The following commands were run to prepare this release:
- make chlog-update VERSION=v1.36.0/v0.130.0
- make prepare-release PREVIOUS_VERSION=1[.]35[.]0
RELEASE_CANDIDATE=1.36.0 MODSET=stable
- make prepare-release PREVIOUS_VERSION=0[.]129[.]0
RELEASE_CANDIDATE=0.130.0 MODSET=beta
---------
Co-authored-by: Pablo Baeyens <pablo.baeyens@datadoghq.com>
The following commands were run to prepare this release:
- make chlog-update VERSION=v1.35.0/v0.129.0
- make prepare-release PREVIOUS_VERSION=1[.]34[.]0
RELEASE_CANDIDATE=1.35.0 MODSET=stable
- make prepare-release PREVIOUS_VERSION=0[.]128[.]0
RELEASE_CANDIDATE=0.129.0 MODSET=beta
---------
Co-authored-by: Jade Guiton <jade.guiton@datadoghq.com>
The following commands were run to prepare this release:
- make chlog-update VERSION=v1.34.0/v0.128.0
- make prepare-release PREVIOUS_VERSION=1[.]33[.]0
RELEASE_CANDIDATE=1.34.0 MODSET=stable
- make prepare-release PREVIOUS_VERSION=0[.]127[.]0
RELEASE_CANDIDATE=0.128.0 MODSET=beta
The following commands were run to prepare this release:
- make chlog-update VERSION=v1.33.0/v0.127.0
- make prepare-release PREVIOUS_VERSION=1[.]32[.]0
RELEASE_CANDIDATE=1.33.0 MODSET=stable
- make prepare-release PREVIOUS_VERSION=0[.]126[.]0
RELEASE_CANDIDATE=0.127.0 MODSET=beta
The following commands were run to prepare this release:
- make chlog-update VERSION=v1.32.0/v0.126.0
- make prepare-release PREVIOUS_VERSION=1[.]31[.]0
RELEASE_CANDIDATE=1.32.0 MODSET=stable
- make prepare-release PREVIOUS_VERSION=0[.]125[.]0
RELEASE_CANDIDATE=0.126.0 MODSET=beta
---------
Co-authored-by: Dmitry Anoshin <anoshindx@gmail.com>
The following commands were run to prepare this release:
- make chlog-update VERSION=v1.31.0/v0.125.0
- make prepare-release PREVIOUS_VERSION=1[.]30[.]0
RELEASE_CANDIDATE=1.31.0 MODSET=stable
- make prepare-release PREVIOUS_VERSION=0[.]124[.]0
RELEASE_CANDIDATE=0.125.0 MODSET=beta
The following commands were run to prepare this release:
- make chlog-update VERSION=v1.30.0/v0.124.0
- make prepare-release PREVIOUS_VERSION=1[.]29[.]0
RELEASE_CANDIDATE=1.30.0 MODSET=stable
- make prepare-release PREVIOUS_VERSION=0[.]123[.]0
RELEASE_CANDIDATE=0.124.0 MODSET=beta
The following commands were run to prepare this release:
make chlog-update VERSION=v1.29.0/v0.123.0
make prepare-release PREVIOUS_VERSION=1.28.1 RELEASE_CANDIDATE=1.29.0
MODSET=stable
make prepare-release PREVIOUS_VERSION=0.122.1 RELEASE_CANDIDATE=0.123.0
MODSET=beta
The following commands were run to prepare this release:
* make chlog-update VERSION=v1.28.1/v0.122.1
* make prepare-release PREVIOUS_VERSION=1[.]28[.]0
RELEASE_CANDIDATE=1.28.1 MODSET=stable
* make prepare-release PREVIOUS_VERSION=0[.]122[.]0
RELEASE_CANDIDATE=0.122.1 MODSET=beta
---------
Co-authored-by: opentelemetrybot <107717825+opentelemetrybot@users.noreply.github.com>
The following commands were run to prepare this release:
- make chlog-update VERSION=v1.28.0/v0.122.0
- make prepare-release PREVIOUS_VERSION=1[.]27[.]0
RELEASE_CANDIDATE=1.28.0 MODSET=stable
- make prepare-release PREVIOUS_VERSION=0[.]121[.]0
RELEASE_CANDIDATE=0.122.0 MODSET=beta
The following commands were run to prepare this release:
- make chlog-update VERSION=v1.27.0/v0.121.0
- make prepare-release PREVIOUS_VERSION=1[.]26[.]0
RELEASE_CANDIDATE=1.27.0 MODSET=stable
- make prepare-release PREVIOUS_VERSION=0[.]120[.]0
RELEASE_CANDIDATE=0.121.0 MODSET=beta
The following commands were run to prepare this release:
- make chlog-update VERSION=v1.26.0/v0.120.0
- make prepare-release PREVIOUS_VERSION=1[.]25[.]0
RELEASE_CANDIDATE=1.26.0 MODSET=stable
- make prepare-release PREVIOUS_VERSION=0[.]119[.]0
RELEASE_CANDIDATE=0.120.0 MODSET=beta
The following commands were run to prepare this release:
- make chlog-update VERSION=v1.25.0/v0.119.0
- make prepare-release PREVIOUS_VERSION=1[.]24[.]0
RELEASE_CANDIDATE=1.25.0 MODSET=stable
- make prepare-release PREVIOUS_VERSION=0[.]118[.]0
RELEASE_CANDIDATE=0.119.0 MODSET=beta
The following commands were run to prepare this release:
- make chlog-update VERSION=v1.24.0/v0.118.0
- make prepare-release PREVIOUS_VERSION=1[.]23[.]0
RELEASE_CANDIDATE=1.24.0 MODSET=stable
- make prepare-release PREVIOUS_VERSION=0[.]117[.]0
RELEASE_CANDIDATE=0.118.0 MODSET=beta
The following commands were run to prepare this release:
- make chlog-update VERSION=v1.23.0/v0.117.0
- make prepare-release PREVIOUS_VERSION=1[.]22[.]0
RELEASE_CANDIDATE=1.23.0 MODSET=stable
- make prepare-release PREVIOUS_VERSION=0[.]116[.]0
RELEASE_CANDIDATE=0.117.0 MODSET=beta
This PR also includes fix
https://github.com/open-telemetry/opentelemetry-collector/pull/12051 to
reduce back-and-forths
---------
Co-authored-by: Dmitrii Anoshin <anoshindx@gmail.com>
#### Description
PR #11793, which added code to automatically generate `replace` clauses
in builder-integration-test in order to avoid issues in release PRs,
caused [issues in a release
PR](https://github.com/open-telemetry/opentelemetry-collector/actions/runs/12358329683/job/34488569900?pr=11904),
and was reverted in #11909.
The issue ended up being that the `replace` clause for the root
collector module (`go.opentelemetry.io/collector`) was missing, because
([cf. previous source
code](6a47030ba2/cmd/builder/test/test.sh (L118)))
I was generating a list of module paths relative to the root, with an
empty string for the root module, which bash helpfully ignored during
the for loop below.
This PR unreverts #11793, with a fix for the above issue. (We make sure
to only strip the initial dot of the folder path _inside_ the for loop.)
#### Link to tracking issue
Fixes#11607, hopefully correctly this time.
#### Testing
I replicated the release PR in which the issues arose with a .1 patch
version number, replicated the failure that was observed, and checked
that the new script has the expected behavior.
---------
Co-authored-by: Dmitrii Anoshin <anoshindx@gmail.com>
Co-authored-by: Bogdan Drutu <bogdandrutu@gmail.com>
go.opentelemetry.io/collector/exporter/exporterhelper/xexporterhelper
module should be used instead
Co-authored-by: Alex Boten <223565+codeboten@users.noreply.github.com>
The following commands were run to prepare this release:
- make chlog-update VERSION=v1.22.0/v0.116.0
- make prepare-release PREVIOUS_VERSION=1[.]21[.]0
RELEASE_CANDIDATE=1.22.0 MODSET=stable
- make prepare-release PREVIOUS_VERSION=0[.]115[.]0
RELEASE_CANDIDATE=0.116.0 MODSET=beta
#### Description
This PR removes the manually maintained `replace` statements in
`cmd/builder/test/core.builder.yaml` and generates them automatically in
`cmd/builder/test/test.sh`. This ensures that the builder integration
test properly uses the local version of core collector modules, even if
a `replace` statement is forgotten. This is especially important in
release PRs where dependencies have not-yet-valid version numbers (see
tracking issue for context).
#### Note
I believe a better implementation of this long-term may be to commit a
`go.work` file to the repository as the single source of truth for
`replace`s, and let the `go` commands run by `ocb` take it into account
automatically. (This would also avoid needing to maintain the `replace`s
in every `go.mod`, which can be annoying when `make crosslink` is not
sufficient.) But as there were [objections the last time this was
discussed](https://github.com/open-telemetry/opentelemetry-collector-contrib/pull/21972#issuecomment-1549173972),
I decided to leave this as a future discussion.
#### Link to tracking issue
Fixes#11607
#### Testing
We can simulate a Release PR by setting the `exporter` import in
`debugexporter` to an invalid version like `0.999.0`. With the new
script, this causes no problems, showing that the build uses the local
version without fetching from the proxy. Filtering the `exporter` module
from the replace statements by adding this to the script:
```bash
core_mods=$(echo "$core_mods" | grep -v "/exporter$")
```
makes `ocb` output the expected `unknown revision` error.
The following commands were run to prepare this release:
- make chlog-update VERSION=v1.21.0/v0.115.0
- make prepare-release PREVIOUS_VERSION=1[.]20[.]0
RELEASE_CANDIDATE=1.21.0 MODSET=stable
- make prepare-release PREVIOUS_VERSION=0[.]114[.]0
RELEASE_CANDIDATE=0.115.0 MODSET=beta
#### Description
Turns the `go.opentelemetry.io/collector/extension/auth/authtest`
package into its own module
#### Link to tracking issue
Resolves#11465
The following commands were run to prepare this release:
- make chlog-update VERSION=v1.20.0/v0.114.0
- make prepare-release PREVIOUS_VERSION=1[.]19[.]0
RELEASE_CANDIDATE=1.20.0 MODSET=stable
- make prepare-release PREVIOUS_VERSION=0[.]113[.]0
RELEASE_CANDIDATE=0.114.0 MODSET=beta
---------
Signed-off-by: Alex Boten <223565+codeboten@users.noreply.github.com>
Co-authored-by: Alex Boten <223565+codeboten@users.noreply.github.com>
#### Description
Turns the `go.opentelemetry.io/collector/extension/extensiontest`
package into its own module
#### Link to tracking issue
Resolves#11463
#### Description
Turn the `go.opentelemetry.io/collector/component/componenttest` package
into its own module
#### Link to tracking issue
Resolves#11464
The following commands were run to prepare this release:
- make chlog-update VERSION=v1.19.0/v0.113.0
- make prepare-release PREVIOUS_VERSION=1[.]18[.]0
RELEASE_CANDIDATE=1.19.0 MODSET=stable
- make prepare-release PREVIOUS_VERSION=0[.]112[.]0
RELEASE_CANDIDATE=0.113.0 MODSET=beta
The following commands were run to prepare this release:
- make chlog-update VERSION=v1.18.0/v0.112.0
- make prepare-release PREVIOUS_VERSION=1[.]17[.]0
RELEASE_CANDIDATE=1.18.0 MODSET=stable
- make prepare-release PREVIOUS_VERSION=0[.]111[.]0
RELEASE_CANDIDATE=0.112.0 MODSET=beta
<!--Ex. Fixing a bug - Describe the bug and how this fixes the issue.
Ex. Adding a feature - Explain what this achieves.-->
#### Description
This uses the profiles internal packages that were implemented in
previous PRs to provide profiles support to the OTLP HTTP exporter.
This PR requires #11226✅ to be merged first.
<!--Ex. Fixing a bug - Describe the bug and how this fixes the issue.
Ex. Adding a feature - Explain what this achieves.-->
#### Description
This PR is putting the connectortest pkg in its own module as requested
in
https://github.com/open-telemetry/opentelemetry-collector/issues/11216