Debug travis ip and psql connect issues
This commit is contained in:
parent
c1dc914953
commit
09b8b8ab4c
@ -18,6 +18,9 @@ before_install:
|
|||||||
- sed -i 's/git@github.com:/https:\/\/github.com\//' .gitmodules
|
- sed -i 's/git@github.com:/https:\/\/github.com\//' .gitmodules
|
||||||
# Manually initialize submodules
|
# Manually initialize submodules
|
||||||
- git submodule update --init --recursive
|
- git submodule update --init --recursive
|
||||||
|
- /sbin/ip route|awk '/default/ { print $3 }'
|
||||||
|
- /sbin/ip addr
|
||||||
|
- ./foo
|
||||||
|
|
||||||
before_script:
|
before_script:
|
||||||
- travis_host_ip="$(/sbin/ip route|awk '/default/ { print $3 }')"
|
- travis_host_ip="$(/sbin/ip route|awk '/default/ { print $3 }')"
|
||||||
|
@ -6,3 +6,6 @@ source "$(dirname "${0}")"/../script/include/global_header.inc.sh
|
|||||||
|
|
||||||
# Run the shared get_db_settings script
|
# Run the shared get_db_settings script
|
||||||
source ./script/include/run_get_db_settings.sh
|
source ./script/include/run_get_db_settings.sh
|
||||||
|
|
||||||
|
echo "Postgres settings: "
|
||||||
|
echo $PGHOST
|
||||||
|
@ -14,5 +14,8 @@ DATABASE_NAME="atat"
|
|||||||
# Enable database resetting
|
# Enable database resetting
|
||||||
RESET_DB="true"
|
RESET_DB="true"
|
||||||
|
|
||||||
|
echo "Hosts file:"
|
||||||
|
cat /etc/hosts
|
||||||
|
|
||||||
# Run the shared setup script
|
# Run the shared setup script
|
||||||
source ./script/include/run_setup
|
source ./script/include/run_setup
|
||||||
|
Loading…
x
Reference in New Issue
Block a user