psql: command not found
Successfully extracted cache
$ uname -a
00:00
Linux gitlab-runner-2 3.10.0-957.12.1.el7.x86_64 #1 SMP Mon Apr 29 14:59:59 UTC 2019 x86_64 x86_64 x86_64 GNU/Linux
$ export PGPASSWORD=$POSTGRES_PASSWORD
$ psql -h "postgres" -U "$POSTGRES_USER" -d "$POSTGRES_DB" -c "SELECT 'OK' AS status;"
bash: line 106: psql: command not found
ERROR: Job failed: exit status 1
I follow the example but i got the above error when using shared gitlab-runner.