From a8e133b511ac98f3be71962ff4c02a4a0bd74459 Mon Sep 17 00:00:00 2001 From: Chitrang Patel Date: Wed, 4 May 2022 17:42:27 -0400 Subject: [PATCH] Update pkg/apis/pipeline/v1beta1/pipelinerun_types.go Co-authored-by: Jerop Kipruto --- .../pipeline/v1beta1/pipelinerun_types.go | 20 +++++++++---------- 1 file changed, 10 insertions(+), 10 deletions(-) diff --git a/pkg/apis/pipeline/v1beta1/pipelinerun_types.go b/pkg/apis/pipeline/v1beta1/pipelinerun_types.go index 2daa13be998..55531db0b79 100644 --- a/pkg/apis/pipeline/v1beta1/pipelinerun_types.go +++ b/pkg/apis/pipeline/v1beta1/pipelinerun_types.go @@ -497,19 +497,19 @@ type SkippingReason string const ( // WhenExpressionsSkip means the task was skipped due to at least one of its when expressions evaluating to false - WhenExpressionsSkip SkippingReason = "WhenExpressionsSkip" + WhenExpressionsSkip SkippingReason = "When Expressions evaluated to false" // ConditionsSkip means the task was skipped due to at least one of its conditions failing - ConditionsSkip SkippingReason = "ConditionsSkip" + ConditionsSkip SkippingReason = "Conditions failed" // ParentTasksSkip means the task was skipped because its parent was skipped - ParentTasksSkip SkippingReason = "ParentTasksSkip" - // IsStoppingSkip means the task was skipped because the pipeline run is stopping - IsStoppingSkip SkippingReason = "IsStoppingSkip" - // IsGracefullyCancelledSkip means the task was skipped because the pipeline run has been gracefully cancelled - IsGracefullyCancelledSkip SkippingReason = "IsGracefullyCancelledSkip" - // IsGracefullyStoppedSkip means the task was skipped because the pipeline run has been gracefully stopped - IsGracefullyStoppedSkip SkippingReason = "IsGracefullyStoppedSkip" + ParentTasksSkip SkippingReason = "Parent Tasks were skipped" + // StoppingSkip means the task was skipped because the pipeline run is stopping + StoppingSkip SkippingReason = "PipelineRun was stopping" + // GracefullyCancelledSkip means the task was skipped because the pipeline run has been gracefully cancelled + GracefullyCancelledSkip SkippingReason = "PipelineRun was gracefully cancelled" + // GracefullyStoppedSkip means the task was skipped because the pipeline run has been gracefully stopped + GracefullyStoppedSkip SkippingReason = "PipelineRun was gracefully stopped" // MissingResultsSkip means the task was skipped because it's missing necessary results - MissingResultsSkip SkippingReason = "MissingResultsSkip" + MissingResultsSkip SkippingReason = "Results were missing" // None means the task was not skipped None SkippingReason = "None" )