bookingcom / shipper

Kubernetes native multi-cluster canary or blue-green rollouts using Helm
Apache License 2.0
733 stars 39 forks source link

Rearrange strategy executor #377

Closed hihilla closed 3 years ago

hihilla commented 3 years ago

Split executeReleaseStrategy to sections. executeReleaseStrategy method is doing:

  1. build relInfo for the current release, previous and successor (relInfo is a struct of the release and its' target objects)
  2. choosing strategy and step according the the 3 releases
  3. executing strategy
  4. updating logs, conditions, events