DevopsArtFactory / goployer

AWS Deployer with Go
https://goployer.dev
Apache License 2.0
72 stars 13 forks source link

add rolling update instance count #126

Closed GwonsooLee closed 3 years ago

GwonsooLee commented 3 years ago

Add rolling update instance count option in order for users to run rolling update with custom instance count.

Users can use rolling_update_instance_count in stack configuration. If replacement_type is not RollingUpdate, then this configuration will be ignored. If it is and rolling_update_instance_count is null, then 1 will be applied.

codecov[bot] commented 3 years ago

Codecov Report

Merging #126 (883e576) into main (53c9031) will decrease coverage by 0.11%. The diff coverage is 12.50%.

Impacted file tree graph

@@           Coverage Diff            @@
##            main    #126      +/-   ##
========================================
- Coverage   5.00%   4.89%   -0.12%     
========================================
  Files         28      28              
  Lines       4632    4598      -34     
========================================
- Hits         232     225       -7     
+ Misses      4389    4361      -28     
- Partials      11      12       +1     
Impacted Files Coverage Δ
pkg/builder/builder.go 46.53% <0.00%> (+5.25%) :arrow_up:
pkg/deployer/bluegreen.go 0.00% <ø> (-5.32%) :arrow_down:
pkg/deployer/canary.go 1.23% <0.00%> (ø)
pkg/deployer/rollingupdate.go 0.00% <0.00%> (ø)
pkg/runner/runner.go 4.43% <0.00%> (ø)
pkg/deployer/deployer.go 1.53% <29.41%> (-0.30%) :arrow_down:

Continue to review full report at Codecov.

Legend - Click here to learn more Δ = absolute <relative> (impact), ø = not affected, ? = missing data Powered by Codecov. Last update 53c9031...883e576. Read the comment docs.

homi-e commented 3 years ago

👍