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

fix(ecs): Set viewState.mode when creating server group for pipeline #7169

Merged

Conversation

allisaurus
Copy link
Contributor

Currently, creating an ECS server group within the deploy stage of a pipeline results in server group creation happening immediately, but then it FAILS to join the pipeline (it's visible in the 'Clusters' screen but not within the deploy stage originally being edited).

This is b/c the view state "mode" is not set when building a server group for a pipeline, resulting in "create" behavior vs. "editPipeline" behavior.

This change sets the mode to "editPipeline", which adds the server group to the deploy stage being edited and executes creation on pipeline deployment (same behavior as when adding a server group to the stage via JSON).

@anotherchrisberry anotherchrisberry merged commit 58b9867 into spinnaker:master Jul 2, 2019
christopherthielen added a commit to christopherthielen/deck that referenced this pull request Jul 3, 2019
ea730f4 fix(ecs): Disable artifact selection outside of pipelines (spinnaker#7170)
58b9867 fix(ecs): Set viewState.mode when creating server group for pipeline (spinnaker#7169)
5401a87 feat(esc): Add support for task definition artifacts (spinnaker#7162)
1532db4 fix(ecs): add missing context images when building new server group for pipeline (spinnaker#7123)
cdd6f23 chore(package): Just Update Prettier™
christopherthielen added a commit that referenced this pull request Jul 3, 2019
ea730f4 fix(ecs): Disable artifact selection outside of pipelines (#7170)
58b9867 fix(ecs): Set viewState.mode when creating server group for pipeline (#7169)
5401a87 feat(esc): Add support for task definition artifacts (#7162)
1532db4 fix(ecs): add missing context images when building new server group for pipeline (#7123)
cdd6f23 chore(package): Just Update Prettier™
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
4 participants