Skip to content

Commit

Permalink
feat(dry run): find image by cluster / tag run for real in dry run
Browse files Browse the repository at this point in the history
  • Loading branch information
robfletcher committed Apr 2, 2018
1 parent 6de57f3 commit 318069f
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 113 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -37,14 +37,17 @@ class DryRunStageDefinitionBuilderFactory(
}

private val Stage.shouldExecuteNormallyInDryRun: Boolean
get() = isManualJudgment || isPipeline || isExpressionPrecondition
get() = isManualJudgment || isPipeline || isExpressionPrecondition || isFindImage

private val Stage.isManualJudgment: Boolean
get() = type == "manualJudgment"

private val Stage.isPipeline: Boolean
get() = type == "pipeline"

private val Stage.isFindImage: Boolean
get() = type in setOf("findImage", "findImageFromTags")

private val Stage.isExpressionPrecondition: Boolean
get() = isPreconditionStage && (isExpressionChild || isExpressionParent)

Expand Down

This file was deleted.

This file was deleted.

0 comments on commit 318069f

Please sign in to comment.