Skip to content

Commit

Permalink
test fix
Browse files Browse the repository at this point in the history
  • Loading branch information
Krusty93 committed May 29, 2024
1 parent d4154ae commit b09d6c6
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion .github/workflows/infra_plan.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -114,7 +114,11 @@ jobs:
terraform plan -lock-timeout=3000s -no-color 2>&1 | tee plan_output.txt
OUTPUT=$(grep -Ev "Refreshing state|state lock|Reading|Read" plan_output.txt | tail -c 60000)
printf "$OUTPUT" > plan_output_multiline.txt
echo "DEBUG"
echo "$OUTPUT"
printf "%s" "$OUTPUT" > plan_output_multiline.txt
if grep -q "::error::Terraform exited with code" plan_output.txt; then
echo "failed"
Expand Down

0 comments on commit b09d6c6

Please sign in to comment.