fix: tail apply output to avoid CI log truncation #447

Merged
ldraney merged 2 commits from fix/ci-missing-tf-vars into main 2026-06-16 02:50:02 +00:00
Owner

Summary

  • Full tofu apply output overwhelms Woodpecker's log buffer, hiding the actual error on failure
  • Replace cat with tail -100 to show only the error summary

Changes

  • .woodpecker/terraform.yaml: Replace cat /tmp/apply-output.txt with tail -100 plus delimiter markers

Test Plan

  • Pipeline failure now shows the actual tofu error in the last 100 lines
  • Successful applies still show the summary

Review Checklist

  • No secrets committed
  • No unnecessary file changes
  • Feature flag needed? No — CI observability fix
## Summary - Full tofu apply output overwhelms Woodpecker's log buffer, hiding the actual error on failure - Replace `cat` with `tail -100` to show only the error summary ## Changes - `.woodpecker/terraform.yaml`: Replace `cat /tmp/apply-output.txt` with `tail -100` plus delimiter markers ## Test Plan - [ ] Pipeline failure now shows the actual tofu error in the last 100 lines - [ ] Successful applies still show the summary ## Review Checklist - [ ] No secrets committed - [ ] No unnecessary file changes - [ ] Feature flag needed? No — CI observability fix ## Related Notes - Closes ldraney/pal-e-platform#446 — follow-up to missing TF_VAR fix - `pal-e-platform` — platform infrastructure
fix: wire missing TF_VAR secrets into CI plan and apply steps
All checks were successful
ci/woodpecker/push/terraform Pipeline was successful
ci/woodpecker/pr/terraform Pipeline was successful
ci/woodpecker/pull_request_closed/terraform Pipeline was successful
6d05cadb0a
Three required terraform variables (hetzner_api_token, edge_ssh_public_key,
telegram_landscaping_chat_id) existed in Woodpecker repo secrets but were
never added to the pipeline environment block. Every push-to-main apply
has failed since these variables were introduced, blocking DNS records
and all subsequent terraform changes from being applied.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
fix: tail apply output to avoid CI log truncation
All checks were successful
ci/woodpecker/push/terraform Pipeline was successful
ci/woodpecker/pr/terraform Pipeline was successful
ci/woodpecker/pull_request_closed/terraform Pipeline was successful
e8e530123b
Full tofu apply output overwhelms Woodpecker's log buffer, hiding
the actual error. Show only the last 100 lines which contain the
error summary.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
ldraney deleted branch fix/ci-missing-tf-vars 2026-06-16 02:50:02 +00:00
Sign in to join this conversation.
No description provided.