#23 Support for image testing in productmd-compose
Merged 5 years ago by mvadkert. Opened 5 years ago by pholica.
fedora-ci/ pholica/messages master  into  master

@@ -0,0 +1,30 @@ 

+ $id: https://pagure.io/fedora-ci/messages/productmd-compose-image

+ $schema: http://json-schema.org/draft-07/schema#

+ 

+ description:

+     Information about image used for testing.

+ 

+ properties:

+     id:

+         description:

+             ID of the image in the test system.

+         examples:

+             - 63317247-5c72-48ed-a412-d7e49a83c2d5

+         type: string

+     name:

+         description:

+             Name of the image in the test system.

+         examples:

+             - Fedora 29

+         type: string

+     type:

+         description:

+             Name of service/hypervisor the image is built for.

+         examples:

+             - OpenStack

+             - EC2

+             - VMWare

+             - ANY_OTHER_TYPE

+         type: string

+ 

+ type: object

@@ -16,6 +16,8 @@ 

          type: array

          items:

              $ref: productmd-compose-system.json

+     image:

+         $ref: productmd-compose-image.json

      category:

          $ref: common.json#properties/category

      type:

@@ -18,6 +18,8 @@ 

          type: array

          items:

              $ref: productmd-compose-system.json

+     image:

+         $ref: productmd-compose-image.json

      category:

          $ref: common.json#properties/category

      type:

@@ -12,6 +12,8 @@ 

          $ref: run.json

      artifact:

          $ref: productmd-compose.json

+     image:

+         $ref: productmd-compose-image.json

      category:

          $ref: common.json#properties/category

      type:

@@ -14,7 +14,8 @@ 

      id:

          description:

            ID of the compose as recorded in the productmd metadata

-           (payload.compose.id field inside the metadata/composeinfo.json file)

+           (payload.compose.id field inside the metadata/composeinfo.json file

+           located in the compose directory)

          examples:

              - RHEL-7.4-20180531.2

          type: string

Compose also contains various images (e.g. OpenStack, VMWare ...) and
for they are tested separately (different testcase/test type).
For that reason we need to send information about the actual tested image.
This may be also used by other CI systems consuming information that the
image is good to use triggering their testing or change of configuration.

And also add information where to obtain file containing composeid.

LGTM, @pholica maybe we could also update the example?

Yes, I could change the example, but that would mean dropping the original one as described in issue #24 . If that's desired I'll go and update the example with the message used for image testing.

Right, no issues spotted. Merging

rebased onto 27bd532

5 years ago

Pull-Request has been merged by mvadkert

5 years ago