[libvirt PATCH v3 00/12] gitlab: expand the CI job coverage

Daniel P. Berrangé posted 12 patches 4 years ago
Patches applied successfully (tree, apply log)
git fetch https://github.com/patchew-project/libvirt tags/patchew/20200326123538.4177062-1-berrange@redhat.com
Test syntax-check failed
.gitlab-ci.yml         | 234 +++++++++++++++++++++++++++++++++++++----
scripts/require-dco.py |  96 +++++++++++++++++
2 files changed, 307 insertions(+), 23 deletions(-)
create mode 100755 scripts/require-dco.py
[libvirt PATCH v3 00/12] gitlab: expand the CI job coverage
Posted by Daniel P. Berrangé 4 years ago
The main goals with this series are:

  - Introduce a minimal job building the website and publishing
    an artifact which can be deployed onto libvirt.org
  - Introduce a minimal job building the libvirt.pot for import
    into Weblate (only runs on git master branch)
  - Introduce a signed-off-by check. We can add a rule to block
    direct pushes without a SoB, but this will be needed to
    block merge requests without a SoB.
  - Expanding CI jobs to get coverage closer to Travis/Jenkins
  - Reducing cross-build jobs to just interesting variants,
    since the full set hasn't shown value in detecting failures

The Linux native job coverage is now a superset of that achieved
by Travis/Jenkins.

For post-merge testing the full set of jobs are run on git
master. This measured approx 50 minutes total duration.

For pre-merge testing the job count is reduced for quicker
turnaround time for developers Measured ~35 minutes total
duration for a cold cache, vs ~20 minutes for warm cache.

Changed in v3:

  - Add job for validating Signed-off-by
  - Add job for validating code style
  - Use ccache for native/cross build jobs
  - Eliminated the extra build stage and put all
    native jobs in the same place, but with filters
  - Keep all cross build jobs, but filter them based
    on branch

Changed in v2:

  - Add more native test jobs to run on git master
  - Restrict git clone depth
  - User variable for "make" command name
  - Add test job to build the master pot file
  - Remove extra configure args for website job
  - Re-ordered patches to reduce repeated changes

Daniel P. Berrangé (12):
  gitlab: add variable for make command name
  gitlab: restrict git history to 100 commits
  gitlab: create an explicit stage for cross build jobs
  gitlab: use CI for building website contents
  gitlab: reduce number of cross build jobs run by default
  gitlab: rename the cross build jobs
  gitlab: add mingw cross build CI jobs
  gitlab: add x86_64 native CI jobs
  gitlab: add job for building latest potfile
  gitlab: introduce use of ccache for speeding up rebuilds
  gitlab: introduce a check for validate DCO sign-off
  gitlab: add explicit early job for syntax-check

 .gitlab-ci.yml         | 234 +++++++++++++++++++++++++++++++++++++----
 scripts/require-dco.py |  96 +++++++++++++++++
 2 files changed, 307 insertions(+), 23 deletions(-)
 create mode 100755 scripts/require-dco.py

-- 
2.24.1