GitLab CI logic breaks building needed packages

Summary

New gitlab CI logic break building images, see what was changed:

!258 (merged)

What is the current bug behavior?

  1. docker image is bigger then bevor image

Why we have this change in image size?

  1. Database connection doesn't work as parameter

check diff: !258 (diffs)

we use db_host postgres which is defined here: !258 (diffs)

command which is called:

[root@nightly-tests] # su flectra -s /bin/bash -c "flectra -c /etc/flectra/flectra.conf -d mycompany -r flectra -w flectra --db_host postgres --db_port 5432 &"

error:

psycopg2.OperationalError: could not translate host name "postgres" to address: Name or service not known

  1. building Debian packages is broken

Following command will create different packages but is broken since !258 (merged):

python3 /opt/flectra/flectra/setup/package.py -p /opt/flectra/flectra_public --no-windows

What is the expected correct behavior?

broken or no new build of packages

Relevant logs and/or screenshots

see above...

Possible fixes

find and resolve the issue as soon as possible...

else we need to revert !258 (merged) !!!

Edited by Thomas Winteler