debian-forge-composer/test/cases
Tomas Hozza 4a47ad36af Cloud API: fix image_status.status value for running compose
Previously, the Cloud API endpoint `/v1/compose/{id}` return value's
`image_status.status` for a running worker job was "running", which didn't
comply with the Cloud API specification. Equivalents allowed by the API
specification are "building", "uploading" or "registering".

As a result, the Image Builder API also does not comply in this regard
to its specification, because it currently just copies the status value
string returned by osbuild-composer.

Define the `image_status.status` as a reusable type in the Cloud API
specification. This forces openapi to generate an explicit type for it,
which can be then explicitly used in the code, instead of plain strings.

Return "building", instead of "running"  for running compose.

Modify api integration test to check for all valid `image_status.status`
values for a compose.

Add News entry explaining this change.

Signed-off-by: Tomas Hozza <thozza@redhat.com>
2021-03-26 11:59:07 +01:00
..
api.sh Cloud API: fix image_status.status value for running compose 2021-03-26 11:59:07 +01:00
aws.sh tests: install awscli from EPEL. Fix #1037 2021-03-19 11:21:50 +01:00
base_tests.sh base_tests.sh: make the test self-contained 2020-11-10 10:44:13 +00:00
image_tests.sh Schutzbot: Start building & testing on aarch64 for RHEL/CentOS 2021-03-12 11:59:21 +00:00
koji.sh test: Fix installation of osbuild-worker.toml in provision.sh 2021-02-25 18:44:21 +00:00
libvirt.sh distro/rhel84: add centos 8 stream support 2021-02-14 16:08:08 +00:00
ostree-ng.sh ostree-ng.sh: use non-default ostree ref 2021-03-18 20:06:25 +00:00
ostree.sh schutzbot: add rhel 8.4 tests to jenkins pipeline 2020-11-19 10:36:49 +01:00
vmware.sh test: Add integration test for VMWare upload 2021-02-16 19:06:01 +00:00