#68 Run built packages installation tests if no functional tests exists
Closed 3 years ago by fbo. Opened 3 years ago by fbo.

This PR https://pagure.io/fedora-zuul-jobs/pull-request/67 enable the following:

TL;DR: if no tests/tests.yml in the distgit then the rpm-install-test job is triggered to validate package installation. if tests/tests.yml exists the regular rpm-test job is run.

The change adds a job (rpm-install-test) that install the built rpms on a test system. This job (enabled by default but non-voting) and aims to ensure built packages are installable on the target Fedora system.

Test systems for f31 and f32 are container. We still use a VM for rawhide (no fedora:rawhide zuul container exist yet)

The check-for-tests job use zuul_return child_jobs to select the dependent job to run:

  • rpm-test: if a tests/tests.yml is discovered in the repo
  • rpm-install-test: if no tests/tests.yml discovered.

The change has been validated with https://src.fedoraproject.org/rpms/python-gear/pull-request/32

It worked as expected so I've merged https://pagure.io/fedora-zuul-jobs/pull-request/67.

@churchyard please let me know if you see any issue with that change.
Thanks a lot

Metadata Update from @fbo:
- Issue status updated to: Closed (was: Open)

3 years ago

Login to comment on this ticket.

Metadata