-
Notifications
You must be signed in to change notification settings - Fork 902
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): Disable artifact selection outside of pipelines #7170
fix(ecs): Disable artifact selection outside of pipelines #7170
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Both suggestions are super minor - LGTM otherwise!
id="taskDefinitionSourceArtifact" | ||
/> | ||
Artifact | ||
</label> | ||
</div> | ||
</div> | ||
<div ng-if="command.viewState.mode == 'create'" style="color:#666;"> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
<div ng-if="command.viewState.mode == 'create'" style="color:#666;"> | |
<div ng-if="command.viewState.mode === 'create'" class="color-text-caption"> |
The ===
is super minor; the color selection via CSS class is based off the style guide (accessible when running locally via http://localhost:9000/#/styleguide#psg-link-0).
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Makes perfect sense! Will update.
@@ -24,12 +24,17 @@ | |||
type="radio" | |||
ng-model="command.useTaskDefinitionArtifact" | |||
ng-value="true" | |||
ng-disabled="command.viewState.mode == 'create'" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
ng-disabled="command.viewState.mode == 'create'" | |
ng-disabled="command.viewState.mode === 'create'" |
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™
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™
Disables artifact selection when creating an ECS server group outside of a pipeline (since pipeline "expected artifacts" are needed for them to work).
New UI msg