Skip to content

Commit

Permalink
feat(spel): default new pipelines to spel v4 (#7917)
Browse files Browse the repository at this point in the history
* feat(spel): default new pipelines to spel v4

now that spel v4 is live and glorious in orca let's make deck create new pipelines with that as default

* fixup! feat(spel): default new pipelines to spel v4

Co-authored-by: mergify[bot] <37929162+mergify[bot]@users.noreply.github.com>
  • Loading branch information
marchello2000 and mergify[bot] authored Feb 19, 2020
1 parent d090d7d commit 5b90d53
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 4 deletions.
1 change: 1 addition & 0 deletions app/scripts/modules/core/src/domain/IPipeline.ts
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,7 @@ export interface IPipeline {
};
type?: string;
updateTs?: number;
spelEvaluator?: string;
}

export interface IPipelineManualStartAlert {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -89,6 +89,7 @@ export class CreatePipelineModal extends React.Component<ICreatePipelineModalPro
application: this.props.application.name,
limitConcurrent: true,
keepWaitingPipelines: false,
spelEvaluator: 'v4',
};
}

Expand Down Expand Up @@ -389,10 +390,7 @@ export class CreatePipelineModal extends React.Component<ICreatePipelineModalPro
</div>
<div className="col-md-7">
<Select
options={[
{ label: 'Pipeline', value: false },
{ label: 'Strategy', value: true },
]}
options={[{ label: 'Pipeline', value: false }, { label: 'Strategy', value: true }]}
clearable={false}
value={this.state.command.strategy ? { label: 'Strategy' } : { label: 'Pipeline' }}
onChange={this.handleTypeChange}
Expand Down

0 comments on commit 5b90d53

Please sign in to comment.