[PATCH v2 0/2] ci: allow running Coverity Scan uploads via GitLab

Paolo Bonzini posted 2 patches 1 month, 2 weeks ago
Patches applied successfully (tree, apply log)
git fetch https://github.com/patchew-project/qemu tags/patchew/20240308130507.582097-1-pbonzini@redhat.com
Maintainers: "Alex Bennée" <alex.bennee@linaro.org>, "Philippe Mathieu-Daudé" <philmd@linaro.org>, Thomas Huth <thuth@redhat.com>, Wainer dos Santos Moschetta <wainersm@redhat.com>, Beraldo Leal <bleal@redhat.com>, Bin Meng <bmeng.cn@gmail.com>, Peter Maydell <peter.maydell@linaro.org>
.gitlab-ci.d/base.yml                   |  4 ++
.gitlab-ci.d/buildtest.yml              | 37 ++++++++++++++++
.gitlab-ci.d/opensbi.yml                |  4 ++
scripts/coverity-scan/run-coverity-scan | 59 ++++++++++++++++++-------
4 files changed, 87 insertions(+), 17 deletions(-)
[PATCH v2 0/2] ci: allow running Coverity Scan uploads via GitLab
Posted by Paolo Bonzini 1 month, 2 weeks ago
The machine that is used to upload QEMU builds to Coverity is used daily
as a development machine by Emanuele and myself, and as a result sometimes
its podman/docker setup gets messed up.  When this happens, Coverity
uploads might stop for extended periods of time.

In the interest of tightening this and of depending less on infrastructure
maintained by specific people, replace the manually-managed crontab
entry with a new job in GitLab's CI; this is also what Libvirt does.

The only change from v1 is better documentation of the changes in the
script exit code when the upload check fails, for example due to a bad
token.

Paolo

Paolo Bonzini (2):
  run-coverity-scan: add --check-upload-only option
  gitlab-ci: add manual job to run Coverity

 .gitlab-ci.d/base.yml                   |  4 ++
 .gitlab-ci.d/buildtest.yml              | 37 ++++++++++++++++
 .gitlab-ci.d/opensbi.yml                |  4 ++
 scripts/coverity-scan/run-coverity-scan | 59 ++++++++++++++++++-------
 4 files changed, 87 insertions(+), 17 deletions(-)

-- 
2.43.2