[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[PULL 33/34] ci: Remove tag dependency for build-previous-qemu
From: |
peterx |
Subject: |
[PULL 33/34] ci: Remove tag dependency for build-previous-qemu |
Date: |
Thu, 8 Feb 2024 11:05:27 +0800 |
From: Peter Xu <peterx@redhat.com>
The new build-previous-qemu job relies on QEMU release tag being present,
while that may not be always true for personal git repositories since by
default tag is not pushed. The job can fail on those CI kicks, as reported
by Peter Maydell.
Fix it by fetching the tags remotely from the official repository, as
suggested by Dan.
[1] ZcC9ScKJ7VvqektA@redhat.com">https://lore.kernel.org/r/ZcC9ScKJ7VvqektA@redhat.com
Reported-by: Peter Maydell <peter.maydell@linaro.org>
Suggested-by: "Daniel P. Berrangé" <berrange@redhat.com>
Reviewed-by: "Daniel P. Berrangé" <berrange@redhat.com>
Link: 20240207005403.242235-3-peterx@redhat.com">https://lore.kernel.org/r/20240207005403.242235-3-peterx@redhat.com
Signed-off-by: Peter Xu <peterx@redhat.com>
---
.gitlab-ci.d/buildtest.yml | 2 ++
1 file changed, 2 insertions(+)
diff --git a/.gitlab-ci.d/buildtest.yml b/.gitlab-ci.d/buildtest.yml
index 79bbc8585b..cfe95c1b17 100644
--- a/.gitlab-ci.d/buildtest.yml
+++ b/.gitlab-ci.d/buildtest.yml
@@ -189,6 +189,8 @@ build-previous-qemu:
TARGETS: x86_64-softmmu aarch64-softmmu
before_script:
- export QEMU_PREV_VERSION="$(sed 's/\([0-9.]*\)\.[0-9]*/v\1.0/' VERSION)"
+ - git remote add upstream https://gitlab.com/qemu-project/qemu
+ - git fetch upstream $QEMU_PREV_VERSION
- git checkout $QEMU_PREV_VERSION
after_script:
- mv build build-previous
--
2.43.0
- Re: [PULL 26/34] migration/multifd: Join the TLS thread, (continued)
[PULL 27/34] migration/multifd: Remove p->running, peterx, 2024/02/07
[PULL 30/34] migration/multifd: Unify multifd and TLS connection paths, peterx, 2024/02/07
[PULL 32/34] tests/migration-test: Stick with gicv3 in aarch64 test, peterx, 2024/02/07
[PULL 16/34] migration/multifd: Split multifd_send_terminate_threads(), peterx, 2024/02/07
[PULL 18/34] migration/multifd: Change retval of multifd_send_pages(), peterx, 2024/02/07
[PULL 29/34] migration/multifd: Move multifd_send_setup into migration thread, peterx, 2024/02/07
[PULL 28/34] migration/multifd: Move multifd_send_setup error handling in to the function, peterx, 2024/02/07
[PULL 31/34] migration/multifd: Add a synchronization point for channel creation, peterx, 2024/02/07
[PULL 33/34] ci: Remove tag dependency for build-previous-qemu,
peterx <=
[PULL 34/34] ci: Update comment for migration-compat-aarch64, peterx, 2024/02/07
Re: [PULL 00/34] Migration staging patches, Peter Maydell, 2024/02/09