]> xenbits.xensource.com Git - xen-guest-agent.git/commitdiff
ci/everycommit: add a "git status" call to investigate build failures
authorYann Dirson <yann.dirson@vates.fr>
Mon, 29 Jan 2024 15:00:29 +0000 (16:00 +0100)
committerYann Dirson <yann.dirson@vates.fr>
Mon, 29 Jan 2024 15:00:48 +0000 (16:00 +0100)
Errors reported by git-rebase actually happen after a first build was run,
which seems to point to the build modifying source files.

Signed-off-by: Yann Dirson <yann.dirson@vates.fr>
.gitlab-ci.yml

index 31dcf117c1ee402a877a03156530960affff5680..0d4d164536cad734f012366ee5f809eadd7630b5 100644 (file)
@@ -184,6 +184,7 @@ build-linux-everycommit:
     # failing commit)
     - git rebase --rebase-merges $CI_MERGE_REQUEST_DIFF_BASE_SHA
       --exec 'devscripts/gitlab-ci-runbuild.sh cargo build ${FEATURES} ${CARGO_FLAGS}'
+      --exec 'git status'
   after_script:
     # since Git Strategy is "fetch", avoid poluting subsequent runs
     # (but as of v16.9 it still won't be run on timeout or cancel)