Skip to content

ci-collate patch

Sergi Blanch Torné requested to merge sergi/ci-collate:expectations_patch into main

Feature to prepare a patch for the expectation files based on the results from a given pipeline. It can be called from python code as well as from the command line.

3735f80c extends the information in the README about how to use this feature.

This merge request includes another feature about the artifact collection (#3 (closed)). It is included inhere because it was necessary for patch subcommand, but it is a feature that was also independently requested. In the same pipeline, there are jobs with the equivalent artifact in different paths, so if one requests */failures.csv from all the testing jobs in a pipeline, the answer includes a walk on the artifacts of the jobs looking for failures.csv files.

There are other changes that can be considered a feature:

  • Encapsulate the artifact from a job as an object and introduce methods and actions for it.
  • Manage zstd compressed content

VirglCI

Current last commit in virglrenderer virgl/virglrenderer@1b9067d7:

Prepare a patch:

ci-collate \
    --namespace virgl \
    --project virglrenderer \
    patch \
        --branch-namespace andrewgazizov \
        1027734

Produces the patch: 1027734_expectations_update.patch

MesaCI

The last nightly run completed is pipeline 1029053

Prepare a patch:

ci-collate \
    --namespace mesa \
    --project mesa \
    patch \
        --local-clone ../tmp_mesa \
        1029053

Produces the patch:1029053_expectations_update.patch

DrmCI

The last pipeline in the branch xfails-test is 1014358

ci-collate \
    --debug \
    --namespace helen.fornazier \
    --project linux \
    patch \
        --local-clone ../tmp_linux \
        --branch xfails-test \
        1014358

Produces the patch: 1014358_expectations_update.patch

Edited by Sergi Blanch Torné

Merge request reports