devfile / api

Kube-native API for cloud development workspaces specification
Apache License 2.0
267 stars 63 forks source link

Devfile registry operator release automation #1326

Open michael-valdron opened 1 year ago

michael-valdron commented 1 year ago

/kind user-story

Which area this user story is related to?

/area registry /area releng

User Story

As a maintainer of devfile services, I want to have release automation, so that the process of creating registry operator releases are efficient to execute.

To make it efficient for devfile service maintainer to perform, we should have a Makefile rule to execute the steps to start the release process on GitHub. This should allow a similar process as the release script for devfile/api: https://github.com/devfile/api/blob/b4fea572af1a98ca487495857add4007c35f5aea/make-release.sh

Acceptance Criteria

michael-valdron commented 1 year ago

No longer including the release automation in the initial release process, will instead revise documentation once this issue is completed.

Jdubrick commented 10 months ago

Moving to review as I will be opening a PR but marking it as do not merge. @michael-valdron will be working on a fix for the previous release to registry-operator where a squash merge occurred whereas we need the entire git history. Once that is done this issue should be good to mark as complete and merge.

Jdubrick commented 8 months ago

This issue is currently blocked as it requires changes to the git history of the release branches for registry operator. Currently there is squash commits in the release branches which conflict with the automation as the bot cannot handle merge conflicts without human intervention, which defeats the purpose of the automation. This is occurring because the releases are based off of main but in the release branches it has diverged from main in the git history with these squash commits. In order to prevent this from happening and to allow this issue to become unblocked the git history needs to be altered in the release branches so that it does not diverge from main.

release-v0: https://github.com/devfile/registry-operator/commits/release-v0/ main: https://github.com/devfile/registry-operator/commits/main/

michael-valdron commented 3 months ago

This issue is currently blocked as it requires changes to the git history of the release branches for registry operator. Currently there is squash commits in the release branches which conflict with the automation as the bot cannot handle merge conflicts without human intervention, which defeats the purpose of the automation. This is occurring because the releases are based off of main but in the release branches it has diverged from main in the git history with these squash commits. In order to prevent this from happening and to allow this issue to become unblocked the git history needs to be altered in the release branches so that it does not diverge from main.

@Jdubrick I have talked with @thepetk while discussing the #1605 approach that I think this process should be altered to align with other devfile repos by only using the release branches to backport patches to target major and minor releases which I believe mirrors #1516 you created back in April. The epic #1518 should be completed before this issue can be unblocked.

github-actions[bot] commented 1 week ago

This issue is stale because it has been open for 90 days with no activity. Remove stale label or comment or this will be closed in 60 days.

michael-valdron commented 1 week ago

This should be kept open to complete automation for a quicker release process for our team to perform, suggest devtools-week tag be added to this one.