Skip to content

Latest commit

History

History
29 lines (20 loc) 路 1.64 KB

cherry-picks.md

File metadata and controls

29 lines (20 loc) 路 1.64 KB

Release Branches

eks-anywhere maintains multiple release branches to represent the currently supported versions.

In general, bug fixes should be backported to currently supported release branches, new features should not.

Currently supported release branches

"Automated" Cherry Picks

The cherry_pick_pull.sh is provided to assist in backporting. The script is the same used by upstream kubernetes/kubernetes

To create a Cherry Pick

  • Open + Merge PR in eks-anywhere repo
  • Run GITHUB_USER=<github_user> ./build/lib/cherry_pick_pull.sh upstream/<release-branch> <pr number>
    • The script assumes your remotes are setup such that upstream points the aws/eks-anywhere and origin points to your fork at <github_user>/eks-anywhere
    • If your remotes are not setup this way you can set UPSTREAM_REMOTE=<upstream remote name> FORK_REMOTE=<fork remote name> when calling the script to override the defaults
    • There a couple of pre-reqs, having a GITHUB_TOKEN set and the gh cli installed. The script will let you know if you are missing any of these
  • If there is a merge conflict, the script will wait and give you a chance to fix conflicts in another terminal before continuing
  • The script will push a new branch and open a PR automatically
  • Run the above script for each currently supported release branch

Refer to the upstream doc for more information.