]> git.ipfire.org Git - thirdparty/libvirt.git/commitdiff
ci: Temporarily enable verbose mode for cirrus-run
authorAndrea Bolognani <abologna@redhat.com>
Tue, 4 Aug 2020 10:00:41 +0000 (12:00 +0200)
committerAndrea Bolognani <abologna@redhat.com>
Tue, 4 Aug 2020 11:29:34 +0000 (13:29 +0200)
We've hit issues with GitLab CI jobs reporting a failure despite
the corresponding Cirrus CI job finishing successfully: this is
apparently caused by the underlying VM being rescheduled.

A workaround for this issue has been implemented as of

  https://github.com/sio/cirrus-run/commit/5299874bbb71a84bec7476d9d0ca4ba49bb7ed97

which will be included in the upcoming 0.3.0 release; however, in
order to validate that this workaround is effective it would be
useful to have more data.

Based on the conversation in

  https://github.com/sio/cirrus-run/issues/4

enabling verbose mode allows to collect this data while not having
any impact on performance, so let's enable it temporarily and then
disable it again once cirrus-run 0.3.0 is out.

Signed-off-by: Andrea Bolognani <abologna@redhat.com>
Reviewed-by: Ján Tomko <jtomko@redhat.com>
.gitlab-ci.yml

index bd42c956021d87ee921a3173f295cd23fe652399..4a42eb479f47ec76ee00eb9c9e4efb4c1ad0bd07 100644 (file)
@@ -104,7 +104,7 @@ stages:
           -e "s|[@]PYPI_PKGS@|$PYPI_PKGS|g"
       <ci/cirrus/build.yml >ci/cirrus/$NAME.yml
     - cat ci/cirrus/$NAME.yml
-    - cirrus-run --show-build-log always ci/cirrus/$NAME.yml
+    - cirrus-run -v --show-build-log always ci/cirrus/$NAME.yml
   only:
     variables:
       - $CIRRUS_GITHUB_REPO