Implement 'error-pkg' parameter
authorMarkus Lehtonen <markus.lehtonen@linux.intel.com>
Mon, 2 Jun 2014 15:42:32 +0000 (18:42 +0300)
committerMarkus Lehtonen <markus.lehtonen@linux.intel.com>
Tue, 3 Jun 2014 13:08:21 +0000 (16:08 +0300)
commit085db1cba3899c90562811fcb7267c2c4984c45f
tree55c3e37201c0162148c9c0a2a78a3acdb8521fdf
parent698b09ab4ff7508a8999cd048397cafeddc61c88
Implement 'error-pkg' parameter

Instead of causing a service error generate a special "error package"
that shows the service error log but fails to build. The parameter value
is a comma-separated list of integers, representing the exit codes for
which the special error package is created.

This is a special hack to prevent the +creation of broken packages in
case of service failures.

Change-Id: I20b1e810b498a120245fe94276c180b458ab0b9a
Signed-off-by: Markus Lehtonen <markus.lehtonen@linux.intel.com>
obs_service_gbs/command.py
service/gbs.service
tests/test_obs_service_gbs.py