diff --git a/scripts/generate-pipeline.sh b/scripts/generate-pipeline.sh index d19a268..dfec607 100755 --- a/scripts/generate-pipeline.sh +++ b/scripts/generate-pipeline.sh @@ -75,9 +75,7 @@ find live -name "terragrunt.hcl" -not -path "*/.terragrunt-cache/*" | sort | whi fi if [ "$component" = "kafka-topics" ]; then - validate_before_script=" - apk add --no-cache bash python3 py3-yaml >/dev/null 2>&1 || true - - ./scripts/validate-kafka-topics.sh - - cd \$TG_ROOT + validate_before_script=" - cd \$TG_ROOT - echo \"Working directory:\" && pwd - ls -la" fi @@ -119,9 +117,7 @@ VALIDATE_JOB plan_before_script=" - cd live/${env}/namespace && terragrunt init -upgrade -reconfigure && cd ../s3 && terragrunt init -upgrade -reconfigure && cd ../database && terragrunt init -upgrade -reconfigure && cd ../secrets && ls -la" fi if [ "$component" = "kafka-topics" ]; then - plan_before_script=" - apk add --no-cache bash python3 py3-yaml >/dev/null 2>&1 || true - - ./scripts/validate-kafka-topics.sh - - cd \$TG_ROOT && ls -la" + plan_before_script=" - cd \$TG_ROOT && ls -la" fi cat >> "$OUTPUT_FILE" << PLAN_JOB @@ -164,9 +160,7 @@ PLAN_JOB apply_before_script=" - cd live/${env}/namespace && terragrunt init -upgrade -reconfigure && cd ../s3 && terragrunt init -upgrade -reconfigure && cd ../database && terragrunt init -upgrade -reconfigure && cd ../secrets && ls -la" fi if [ "$component" = "kafka-topics" ]; then - apply_before_script=" - apk add --no-cache bash python3 py3-yaml >/dev/null 2>&1 || true - - ./scripts/validate-kafka-topics.sh - - cd \$TG_ROOT && ls -la" + apply_before_script=" - cd \$TG_ROOT && ls -la" fi if [ "$env" = "prod" ]; then