Skip to content

Latest commit

 

History

History
24 lines (19 loc) · 1.69 KB

RELEASE.md

File metadata and controls

24 lines (19 loc) · 1.69 KB

Release instructions

Steps to release a new version of the OpenTelemetry Operator:

  1. Change the versions.txt, so that it lists the target version of the OpenTelemetry Collector (operand), and the desired version for the operator. The major.minor should typically match, with the patch portion being possibly different.
  2. Add the changes to the changelog
  3. Check the OpenTelemetry Collector's changelog and ensure migration steps are present in pkg/collector/upgrade
  4. Once the changes above are merged and available in main, tag it with the desired version, prefixed with v: v0.3.0
  5. The GitHub Workflow will take it from here, creating a GitHub release with the generated artifacts (manifests) and publishing the images
  6. After the release, generate a new OLM bundle (make bundle) and create two PRs against the Operator Hub Community Operators repository:
    1. one for the upstream-community-operators, used by OLM on Kubernetes. Example: operator-framework/community-operators#2880
    2. one for the community-operators directory, used by OpenShift. Example: operator-framework/community-operators#2878

Generating the changelog

Run this generator:

$ docker run --rm  -v "${PWD}:/app" pavolloffay/gch:latest --oauth-token ${GH_WRITE_TOKEN} --owner open-telemetry --repo opentelemetry-operator

Remove the commits that are not relevant to users, like:

  • CI or testing-specific commits (e2e, unit test, ...)
  • bug fixes for problems that are not part of a release yet
  • version bumps for internal dependencies