[libvirt PATCH 0/2] ci: Some cirrus-run related changes

The corresponding libvirt-ci MR is https://gitlab.com/libvirt/libvirt-ci/-/merge_requests/41 and this is what it looks like in action: https://gitlab.com/abologna/libvirt/-/jobs/669949971 https://gitlab.com/abologna/libvirt/-/jobs/669949970 Let's help test the upcoming cirrus-run release :) Andrea Bolognani (2): ci: Show build log for Cirrus CI jobs ci: Temporarily enable verbose mode for cirrus-run .gitlab-ci.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) -- 2.25.4

This feature has been implemented as of https://github.com/sio/cirrus-run/commit/b9b2278f1d6c45b22d5f84fca0621e77622... and will be included in the upcoming 0.3.0 release. Signed-off-by: Andrea Bolognani <abologna@redhat.com> --- .gitlab-ci.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index c3ae12f7e1..bd42c95602 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -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 ci/cirrus/$NAME.yml + - cirrus-run --show-build-log always ci/cirrus/$NAME.yml only: variables: - $CIRRUS_GITHUB_REPO -- 2.25.4

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/5299874bbb71a84bec7476d9d0ca4ba49bb... 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> --- .gitlab-ci.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index bd42c95602..4a42eb479f 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -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 -- 2.25.4

On a Tuesday in 2020, Andrea Bolognani wrote:
The corresponding libvirt-ci MR is
https://gitlab.com/libvirt/libvirt-ci/-/merge_requests/41
and this is what it looks like in action:
https://gitlab.com/abologna/libvirt/-/jobs/669949971 https://gitlab.com/abologna/libvirt/-/jobs/669949970
Let's help test the upcoming cirrus-run release :)
Andrea Bolognani (2): ci: Show build log for Cirrus CI jobs ci: Temporarily enable verbose mode for cirrus-run
.gitlab-ci.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
Reviewed-by: Ján Tomko <jtomko@redhat.com> Jano
participants (2)
-
Andrea Bolognani
-
Ján Tomko