debian-forge-composer/internal
Tom Gundersen bf86e8ad79 workerapi: serialize koji errors as strings
Serializing an interface does not work, let us simply use the string
representation and treat the empty string as no error. This is
compatible with the current API in the success case, and fixes the
error case, which is currently broken.

Also extend the test matrix for the kojiapi to ensure that all the
different kinds of errors can be serialized correctly and leads to
the correct status being returned.

Fixes #1079 and #1080.
2020-11-13 09:39:55 +01:00
..
blueprint blueprint: do not append "-" to name-version if version is empty 2020-06-10 17:40:30 +02:00
boot image-tests: don't use random names for CI artifacts 2020-09-15 14:30:51 +02:00
client client: Add an integration test for a bad blueprint depsolve 2020-07-28 08:18:56 +02:00
cloudapi jobqueue: expose dependencies when querying status 2020-11-11 18:16:42 +01:00
common weldr: move common.ComposeState to weldr 2020-11-09 14:17:19 +01:00
crypt crypt: add automatic darwin support 2020-07-17 07:48:22 +02:00
distro koji: use the host name from /etc/redhat-release in CGImport metadata 2020-10-27 19:01:30 +00:00
jobqueue fsjobqueue: accept jobs of any type 2020-11-12 15:30:30 +00:00
jsondb jsondb: Allow passing nil as document to Read() 2020-05-13 16:45:09 +02:00
kojiapi workerapi: serialize koji errors as strings 2020-11-13 09:39:55 +01:00
mocks worker: introduce job artifact directory 2020-05-26 10:42:20 +02:00
osbuild osbuild/rpm: add sigpgp and siggpg keys to the metadata 2020-10-27 19:01:30 +00:00
rpmmd rpmmd/Depsolve: expose whether to check GPG signature for each RPM 2020-06-10 19:25:54 +02:00
store store: Add newImageBuildFromV0 test 2020-08-13 17:47:57 +02:00
target koji: use nvra as the filename for images 2020-10-27 19:01:30 +00:00
test worker/server: extend the route tests a bit 2020-11-11 18:16:42 +01:00
upload test/koji: move the koji test to schutzbot 2020-11-02 19:59:28 +01:00
weldr worker: make Enqueue() specific for each job type 2020-11-11 18:16:42 +01:00
worker workerapi: serialize koji errors as strings 2020-11-13 09:39:55 +01:00