Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

refactor(google): convert GceDeployStagePreProcessor to Java #3157

Merged
merged 4 commits into from
Sep 16, 2019

Conversation

maggieneterval
Copy link
Contributor

@maggieneterval maggieneterval commented Sep 16, 2019

  • chore(google): add tests for GceDeployStagePreProcessor

    Adds tests that demonstrate that in a GCE red/black deployment, the GceDeployStagePreProcessor adds a ResizeServerGroupStage, which "pins" the source server group's minimum capacity as its desired capacity, before a CaptureSourceServerGroupCapacityTask, which snapshots the source server group's minimum capacity (to later be re-applied to the target server group).

  • refactor(google): convert GceDeployStagePreProcessor to Java

    For clarity, removes references to rolling red/black, because as far as I know we have no plans to implement this strategy in GCE.

Copy link
Contributor

@ezimanyi ezimanyi left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

1️⃣ 0️⃣ ^ 💯 🎭 💻 ➡️ ☕ 🎉 🥇

@maggieneterval maggieneterval changed the title chore(google): convert GceDeployStagePreProcessor to Java refactor(google): convert GceDeployStagePreProcessor to Java Sep 16, 2019
Copy link
Member

@plumpy plumpy left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This looks awesome, just a few small comments of debatable importance 🍡

@maggieneterval maggieneterval merged commit 2eb465a into spinnaker:master Sep 16, 2019
@maggieneterval maggieneterval deleted the gce-deploy-java branch September 16, 2019 20:30
maggieneterval added a commit to maggieneterval/orca that referenced this pull request Sep 24, 2019
…er#3157)

* chore(google): add tests for GceDeployStagePreProcessor

* refactor(google): convert GceDeployStagePreProcessor to Java

* fix(google): change return types from List to ImmutableList

* fix(google): improve readability based on the wisdom of plumpy
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
4 participants