HarrisKirk / blue-green-dreams

2 stars 1 forks source link

Harris.kirk/switch set target cluster #119

Closed HarrisKirk closed 10 months ago

HarrisKirk commented 10 months ago

This PR is the essence of https://github.com/HarrisKirk/blue-green-dreams/pull/106

I tested it by

bgdctl deploy blueapple --keep
bgdctl switch-set-ip-target-to-cluster prodharris blueapple
bgdctl rm prodharris
# Note that I removed the code that deleted the switch since we obviously want the switch
# I then inspected the website to be sure it is still functional with the current time as proof

There is much refactoring to do but the test is a SUCCESS