Skip to content

Commit

Permalink
WIP: say when dry run should happen
Browse files Browse the repository at this point in the history
  • Loading branch information
kmanning committed Apr 1, 2021
1 parent 7453636 commit 777f1a9
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion src/FlywayMigrationPlugin.groovy
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,9 @@ class FlywayMigrationPlugin implements TerraformEnvironmentStagePlugin {
}

public void apply(TerraformEnvironmentStage stage) {
println "do the thing"
stage.decorate(TerraformEnvironmentStage.PLAN, { innerClosure ->
innerClosure()
sh "echo run flyway migration dry run"
})
}
}

0 comments on commit 777f1a9

Please sign in to comment.