ci: fix migrate-tfstate resource guard #58
@@ -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)"
|
||||
|
||||
Reference in New Issue
Block a user