mirror of
https://gitlab.com/libvirt/libvirt.git
synced 2024-12-22 05:35:25 +00:00
ci: Fix .integration_tests_upstream_qemu
We enter $SCRATCH_DIR before going through the process of cloning QEMU's upstream repo and building it, but once we're done we don't get back to libvirt's sources, so the very next step fails with /tmp/script.: line 188: ci/jobs.sh: No such file or directory Use pushd/popd to ensure that we're back to the correct place once QEMU has been built and installed. Signed-off-by: Andrea Bolognani <abologna@redhat.com> Reviewed-by: Michal Privoznik <mprivozn@redhat.com>
This commit is contained in:
parent
a6f73c69a7
commit
9cf0faac48
@ -83,9 +83,10 @@
|
||||
.integration_tests_upstream_qemu:
|
||||
before_script:
|
||||
- !reference [.integration_tests, before_script]
|
||||
- cd "$SCRATCH_DIR"
|
||||
- pushd "$SCRATCH_DIR"
|
||||
- *qemu-build-template
|
||||
- sudo restorecon -R /usr
|
||||
- popd
|
||||
|
||||
.integration_tests_upstream_qemu_prebuilt_env:
|
||||
extends:
|
||||
|
Loading…
Reference in New Issue
Block a user