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) add missing context images when building new server group cm… #7123

Merged
merged 3 commits into from
Jun 21, 2019

Conversation

allisaurus
Copy link
Contributor

Issue

Currently, in the "deploy" stage, if you have an image trigger configured on your pipeline, it will be available in the "Container Image" drop-down when editing an existing server group:
images_existingServerGroup

However, if you try to create a new server group within the same stage, the trigger image will be missing:
images_newServerGroup_before

explanation

This is b/c "buildNewServerGroupCommandForPipeline" needs to set the context images on viewState.overrides.viewState so that they are retained after template selection.

solution

After this change, the trigger image now appears when creating a new server group for the deploy stage:
images_newServerGroup_after

@spinnakerbot
Copy link
Contributor

The following commits need their title changed:

  • 36369f4: fix(ecs) add missing context images when building new server group cmd for pipeline

Please format your commit title into the form:

<type>(<scope>): <subject>, e.g. fix(kubernetes): address NPE in status check

This allows us to easily generate changelogs & determine semantic version numbers when cutting releases. You can read more about commit conventions here.

Copy link
Member

@clareliguori clareliguori left a comment

Choose a reason for hiding this comment

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

LGTM

@ezimanyi ezimanyi merged commit 1532db4 into spinnaker:master Jun 21, 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