Merge pull request 'ci: fix migrate-tfstate resource guard' (#58) from migrate-tfstate-pipeline into master
ci/woodpecker/manual/migrate-tfstate Pipeline was successful

This commit was merged in pull request #58.
This commit is contained in:
2026-06-26 23:21:42 +02:00
+2 -2
View File
@@ -46,8 +46,8 @@ steps:
BYTES=$(wc -c < /tmp/state.json)
echo "pulled state bytes $BYTES"
test "$BYTES" -gt 2000
RES=$(grep -c '"type"' /tmp/state.json || true)
echo "resource entries $RES"
RES=$(grep -o '"mode"' /tmp/state.json | wc -l)
echo "resource occurrences $RES"
test "$RES" -gt 10
echo "### 2/4 repoint the backend block to Hetzner (checkout only)"