debian-forge-composer/internal
Gianluca Zuccarelli cc981b887a osbuild-worker: implement structured errors
Implement the structured errors as defined by the worker client.
Every error for each of the job types now returns a structured
error with a reason and a specific error code.  This will make
it possible to differentiate between 4xx errors and 5xx errors.

This commit refactors the way errors are implemented in the workers,
but maintains backwards compatability in composer by checking for
both kinds of errors.
2022-01-27 16:45:14 +01:00
..
auth cloudapi: V2 2021-09-14 15:32:21 +02:00
blueprint internal: mandate installation device for the simplified installer 2021-11-18 18:10:09 +01:00
boot gosec: G204 - Subproccess launched as function arg 2021-12-13 12:17:30 +02:00
client Weldr API: introduce Image Type denylist for filtering exposed images 2021-08-02 18:51:03 +02:00
cloud internal/cloud: use logrus for logging 2021-12-16 11:58:41 +00:00
cloudapi osbuild-worker: implement structured errors 2022-01-27 16:45:14 +01:00
common internal/common: introduce function to convert data sizes 2021-11-02 18:32:47 +01:00
crypt crypt: add automatic darwin support 2020-07-17 07:48:22 +02:00
disk gosec: G404 - Use of weak rng 2021-12-13 12:17:30 +02:00
distro RHEL-86: port over the RHEL-90 pipeline refactoring 2022-01-11 17:08:19 +01:00
distroregistry distroregistry: disable CentOS Stream 9 2021-11-10 14:54:31 +01:00
jobqueue dbjobqueue: fix FinishJob not returning an error if already finished 2021-12-18 00:14:07 +00:00
jsondb gosec: G306-WriteFile permissions higher than 0600 2021-12-13 12:17:30 +02:00
kojiapi osbuild-worker: implement structured errors 2022-01-27 16:45:14 +01:00
mocks worker: Configurable timeout for RequestJob 2021-10-19 00:12:18 +01:00
osbuild1 osbuild: test Write() on nil Result receivers 2021-11-17 15:21:40 +01:00
osbuild2 osbuild2: fix typo in tar stage option value 2021-12-22 10:41:22 +01:00
ostree ostree: add test for VerifyRef() 2021-06-18 14:02:09 +01:00
prometheus metrics: add additional buckets 2021-12-15 19:53:11 +00:00
reporegistry reporegistry: Add a DistroHasRepos helper function 2021-07-12 08:58:42 +02:00
rhsm internal/rhsm: implement fallback to the previous mechanism 2021-08-09 12:40:23 +02:00
rpmmd dnf-json: Change dnf-json to be a daemon 2021-12-15 09:41:32 +01:00
store gosec: G505, G401 - crypto/sha1 module 2021-12-13 12:17:30 +02:00
target Support for temporary credentials 2021-09-02 15:13:42 +02:00
test gosec: G204 - Subproccess launched as function arg 2021-12-13 12:17:30 +02:00
upload gosec: G401, G501 - Weak cryptographic primitive 2021-12-13 12:17:30 +02:00
weldr weldr: return an error if host distro wasn't found in distro registry 2022-01-03 18:05:15 +01:00
worker osbuild-worker: implement structured errors 2022-01-27 16:45:14 +01:00
tools.go go: vendor the oapi-codegen cmd 2021-02-01 15:32:58 +01:00