WIP: Move postgresql to Recommends

Allow for setup without a running postgresql
Provide for later database setup.

Signed-off-by: Neil Williams <neil.williams@linaro.org>
13 jobs from postgres in 8 minutes and 16 seconds (queued for 2 seconds)
latest
Status Job ID Name Coverage
  Test
passed #25634
amd64
dispatcher-debian-10

00:02:56

passed #25632
amd64
dispatcher-debian-9

00:03:20

passed #25635
amd64
server-debian-10

00:02:37

passed #25633
amd64
server-debian-9

00:03:04

 
  Analyze
passed #25636
amd64
black

00:00:33

passed #25638
amd64
code_quality

00:00:29

passed #25637
amd64
codestyle

00:00:45

passed #25639
dind amd64 allowed to fail
sast

00:02:06

 
  Build
passed #25642
amd64
amd64/pkg-debian-10

00:01:46

passed #25641
amd64
amd64/pkg-debian-9

00:01:57

passed #25640
amd64
doc

00:01:27

 
  Docker
passed #25643
dind amd64
amd64/lava-dispatcher

00:00:51

failed #25644
dind amd64
amd64/lava-server

00:00:48

 
Name Stage Failure
failed
amd64/lava-server Docker
  File "/usr/lib/python3.5/shutil.py", line 1043, in chown
os.chown(path, _user, _group)
FileNotFoundError: [Errno 2] No such file or directory: '/var/lib/lava-server/default//media/job-output/2017'
dpkg: error processing package lava-server (--install):
subprocess installed post-installation script returned error exit status 1
Errors were encountered while processing:
lava-server
The command '/bin/sh -c service postgresql start && dpkg -i /tmp/server.deb && rm -f /tmp/server.deb && service postgresql stop' returned a non-zero code: 1
ERROR: Job failed: exit code 1