apm-server icon indicating copy to clipboard operation
apm-server copied to clipboard

Document release process with the automation workflow

Open lahsivjar opened this issue 1 year ago • 4 comments

The current RELEASES.md doesn't mention how to use the CI automation or when to run them. This takes precious time to figure things out OR to create the manual PR. We should document the updated/streamlined process using the CI jobs.

lahsivjar avatar Mar 26 '24 12:03 lahsivjar

+1 on documentation.

Here are the automation jobs that should be triggered manually: https://github.com/elastic/apm-server/actions/workflows/run-minor-release.yml https://github.com/elastic/apm-server/actions/workflows/run-patch-release.yml

carsonip avatar Mar 26 '24 13:03 carsonip

Here are the automation jobs that should be triggered manually: https://github.com/elastic/apm-server/actions/workflows/run-minor-release.yml https://github.com/elastic/apm-server/actions/workflows/run-patch-release.yml

Those are quite straightforward to find out however, that is just the start of the confusion (at least for me) as it is still not clear when to run those. For example, the process for minor release is:

  1. Day after FF, cut a new release branch from main and update the dependencies + versions in both main and the new branch.
  2. On release day, bump the version on the new versioned branch to the next release version.

IIUC, technically none of the jobs perform step 2, however, it could be done by running the run-patch-release job -- not sure if it is intended to run this way but it does do what we want for step 2. If this is true then for minor release also we would end up running the patch release job.

lahsivjar avatar Mar 26 '24 13:03 lahsivjar

Working on improving documentation and process! Draft PR where I'm collecting all the changes as I go: https://github.com/elastic/apm-server/pull/12983

New issues:

  • https://github.com/elastic/apm-server/issues/12989
  • https://github.com/elastic/apm-server/issues/12995
  • https://github.com/elastic/apm-server/issues/12996

endorama avatar Apr 17 '24 13:04 endorama

PRs for the mentioned issues has been created, waiting on review.

endorama avatar May 06 '24 15:05 endorama