CHORE: debug bytes dos secrets de banco no workflow
All checks were successful
Deploy Dev / Deploy para VM Dev (push) Successful in 7s
All checks were successful
Deploy Dev / Deploy para VM Dev (push) Successful in 7s
This commit is contained in:
parent
4f987e6146
commit
b2a0ff3a9c
@ -58,7 +58,11 @@ jobs:
|
||||
PGPASSWORD: ${{ secrets.DB_PASSWORD }}
|
||||
run: |
|
||||
set -euo pipefail
|
||||
echo "Host: [${PGHOST}] Porta: [${PGPORT}]"
|
||||
PGHOST="${PGHOST//[$'\t\r\n ']}"
|
||||
PGPORT="${PGPORT//[$'\t\r\n ']}"
|
||||
export PGHOST PGPORT
|
||||
echo "Bytes PGHOST: $(echo -n "$PGHOST" | wc -c)"
|
||||
echo "Bytes PGPORT: $(echo -n "$PGPORT" | wc -c)"
|
||||
echo "Testando TCP..."
|
||||
timeout 5 bash -c "cat /dev/null > /dev/tcp/${PGHOST}/${PGPORT}" \
|
||||
&& echo "TCP OK" \
|
||||
|
||||
Loading…
Reference in New Issue
Block a user