Hi All,
I've been working on adding GitHub Actions-based CI to vdsm today.
Feel free to check out the patches here:
https://gerrit.ovirt.org/q/topic:%22github-actions-ci%22+(status:open%20O...
Some comments:
- the linters work fine already, we can start using them
- RPM building works too in general. I think the RPM versions are not
right yet, so I'll look into this. After the 'rpm' job is done we get a
zipfile with all the built RPMs inside. In the future we may want to run
'createrepo_c' on this dir as well, so we'll have a ready-to-be-used
repository in that zip.
- 'tests' are working too, but we have a couple of failures we'd need to
look at. This job, unlike the others, runs in GitHub's Ubuntu VM inside
which we use a privileged container for running the tests.
- didn't try 'tests-storage' yet
- Not to waist precious free CI minutes and storage, we run linters
first, tests after that, but only under the condition that the linters
didn't fail, and finally we build RPMs, but this time under the
condition that the tests didn't fail.
You can find some of the runs I made in my personal fork here:
https://github.com/tinez/vdsm/actions/workflows/ci.yml
Comments, remarks and reviews are highly appreciated.
Regards, Marcin