From 933c20fc2ff26da1c57e82afe77dd78196b1c659 Mon Sep 17 00:00:00 2001 From: Rob Fletcher Date: Tue, 6 Feb 2018 16:30:43 -0800 Subject: [PATCH] feat(dryrun): distinguish dry run pipelines in execution view --- app/scripts/modules/core/src/domain/IExecutionTrigger.ts | 1 + .../modules/core/src/pipeline/status/ExecutionStatus.tsx | 5 ++++- 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/app/scripts/modules/core/src/domain/IExecutionTrigger.ts b/app/scripts/modules/core/src/domain/IExecutionTrigger.ts index 188a93a62d3..3e3c18c5ec3 100644 --- a/app/scripts/modules/core/src/domain/IExecutionTrigger.ts +++ b/app/scripts/modules/core/src/domain/IExecutionTrigger.ts @@ -10,4 +10,5 @@ export interface IExecutionTrigger { parentPipelineName?: string; type: string; user: string; + dryRun?: boolean; } diff --git a/app/scripts/modules/core/src/pipeline/status/ExecutionStatus.tsx b/app/scripts/modules/core/src/pipeline/status/ExecutionStatus.tsx index 57c51f8fbfb..2fda05e7409 100644 --- a/app/scripts/modules/core/src/pipeline/status/ExecutionStatus.tsx +++ b/app/scripts/modules/core/src/pipeline/status/ExecutionStatus.tsx @@ -110,7 +110,10 @@ export class ExecutionStatus extends React.Component
-
{this.getExecutionTypeDisplay()}
+
+ {execution.trigger.dryRun && '[DRY RUN] '} + {this.getExecutionTypeDisplay()} +