Community Note
What is the outcome that you are trying to reach?
Do run Blueprints Pipelines ONLY IF:
- The files from the Main Module get updates
- The files from the same blueprint are up to date date
Describe the solution you would like
modified_tf_files=$(git show --name-only --oneline HEAD | tail -n +2 | grep '.tf$')
if [ "$modified_tf_files" ]; then
// Run terraform phase
else
It requires to distinguish it the modification happened: at root, bp 01 or bp02
Describe alternatives you have considered
No other alternatives yet
Additional context
No additional context
Community Note
What is the outcome that you are trying to reach?
Do run Blueprints Pipelines ONLY IF:
Describe the solution you would like
modified_tf_files=$(git show --name-only --oneline HEAD | tail -n +2 | grep '.tf$')
if [ "$modified_tf_files" ]; then
// Run terraform phase
else
It requires to distinguish it the modification happened: at root, bp 01 or bp02
Describe alternatives you have considered
No other alternatives yet
Additional context
No additional context